I'm getting a real strange Nullreference in EPiImage (new Episerver 7-version). Our client used EpiImage in a dynamic content-module on their old Episerver 6-site without a problem. I've upgraded the EpiImage-references through nuget so it should be the correct version. The null reference on line 41 is this line:
ScriptManager.RegisterClientScriptInclude(this.Page, typeof(Page), "json2", new EPiImageEngine().json2Path);
Which is weird since we haven't moved the EpiImage-folder in our solution. The path to EPiImageGalleryPropertyControl.cs is also incorrect and nowhere in our solution do we point to C:\MakingWaves.EPiImage\.
Error message:
[NullReferenceException: Object reference not set to an instance of an object.]
MakingWaves.EPiImage.EPiImageGalleryPropertyControl.CreateEditControls() in C:\MakingWaves.EPiImage\7.x\EPiImage\Properties\EPiImageGalleryPropertyControl.cs:41
EPiServer.Web.PropertyControls.PropertyDataControl.CreateChildControls() +36
System.Web.UI.Control.EnsureChildControls() +188
EPiServer.Web.WebControls.PropertyDataCollectionControl.SetupPropertyControls(Control control) +171
EPiServer.Web.WebControls.PropertyDataCollectionControl.SetupPropertyControls(Control control) +191
EPiServer.Web.WebControls.PropertyDataCollectionControl.SetupPropertyControls(Control control) +191
System.Web.UI.Control.EnsureChildControls() +188
EPiServer.Web.WebControls.PropertyDataCollectionControl.get_Controls() +23
EPiServer.UI.WebControls.PropertyDataForm.SetupPropertyControls(Control control) +50
EPiServer.UI.WebControls.PropertyDataForm.SetupPropertyControls(Control control) +191
EPiServer.UI.WebControls.PropertyDataForm.CreateChildControls() +1663
System.Web.UI.Control.EnsureChildControls() +188
System.Web.UI.Control.PreRenderRecursiveInternal() +59
System.Web.UI.Control.PreRenderRecursiveInternal() +221
System.Web.UI.Control.PreRenderRecursiveInternal() +221
System.Web.UI.Control.PreRenderRecursiveInternal() +221
System.Web.UI.Control.PreRenderRecursiveInternal() +221
System.Web.UI.Control.PreRenderRecursiveInternal() +221
System.Web.UI.Control.PreRenderRecursiveInternal() +221
System.Web.UI.Control.PreRenderRecursiveInternal() +221
System.Web.UI.Control.PreRenderRecursiveInternal() +221
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4296
I'm getting a real strange Nullreference in EPiImage (new Episerver 7-version). Our client used EpiImage in a dynamic content-module on their old Episerver 6-site without a problem. I've upgraded the EpiImage-references through nuget so it should be the correct version. The null reference on line 41 is this line:
ScriptManager.RegisterClientScriptInclude(this.Page, typeof(Page), "json2", new EPiImageEngine().json2Path);
Which is weird since we haven't moved the EpiImage-folder in our solution. The path to EPiImageGalleryPropertyControl.cs is also incorrect and nowhere in our solution do we point to C:\MakingWaves.EPiImage\.
Error message: