Error Running transformation: System.NullReferenceException:

Apr 29, 2013 at 8:52 AM
Can anyone help me with the following error please:

I have multiple templates, each one for a different .edmx file.
Generating process run fine for all except one with following error:

System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei Microsoft.VisualStudio.TextTemplatingD74B9F0AC4BBBC7967AE2EA23235CAD85AE6FD1A218570C9381E5B449E403AEE878E6C6DA2B10428EE15D7577A0FFE2A45B54E3CA6FC95017A8A473DA2EFE3E0.GeneratedTextTransformation.EntityHelpers.GetPropertyMaxLength(EdmProperty prop) in d:\aequitixx_Solution\aequitixx.Data.Repository\CodeTemplates\Ef4Gen\Includes\EdmxParser.ttinclude:Zeile 229.
bei Microsoft.VisualStudio.TextTemplatingD74B9F0AC4BBBC7967AE2EA23235CAD85AE6FD1A218570C9381E5B449E403AEE878E6C6DA2B10428EE15D7577A0FFE2A45B54E3CA6FC95017A8A473DA2EFE3E0.GeneratedTextTransformation.ModelCs.TransformText() in d:\aequitixx_Solution\aequitixx.Data.Repository\CodeTemplates\Ef4Gen\Templates\CSharp\Model.cs.ttinclude:Zeile 107.
bei T4Toolbox.Template.Transform()
bei T4Toolbox.Template.Render()
bei T4Toolbox.Template.RenderToFile(String fileName)
bei Microsoft.VisualStudio.TextTemplatingD74B9F0AC4BBBC7967AE2EA23235CAD85AE6FD1A218570C9381E5B449E403AEE878E6C6DA2B10428EE15D7577A0FFE2A45B54E3CA6FC95017A8A473DA2EFE3E0.GeneratedTextTransformation.T4Gen.RunCore() in d:\aequitixx_Solution\aequitixx.Data.Repository\CodeTemplates\Ef4Gen\Includes\T4Generator.ttinclude:Zeile 159.
bei T4Toolbox.Generator.Run()
bei Microsoft.VisualStudio.TextTemplatingD74B9F0AC4BBBC7967AE2EA23235CAD85AE6FD1A218570C9381E5B449E403AEE878E6C6DA2B10428EE15D7577A0FFE2A45B54E3CA6FC95017A8A473DA2EFE3E0.GeneratedTextTransformation.TransformText() in d:\aequitixx_Solution\aequitixx.Data.Repository\CodeTemplates\Ef4Gen\InvoiceClient.tt:Zeile 64. d:\aequitixx_Solution\aequitixx.Data.Repository\CodeTemplates\Ef4Gen\Includes\EdmxParser.ttinclude 229 1 aequitixx.Data.Repository

I downloaded EF4Templates last Friday with Nu-Get.

Thanks