Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Error in backen, items with checkboxlists

Error in backen, items with checkboxlists

Aki Ruuskanen
Aki Ruuskanen
Reply

Hi,

We have a page with a pargraph that is an Item. This item has a number of fields of type "Checkbox list". These lists are poulated with Items from a "Repository"-page. 

After we upgraded to DW 9 this page stopped working (both in frontend and in backend.)

This is the stack trace i get in backend. It seems that it fails when populating some of the Checkboxlists.

 

[NullReferenceException: Object reference not set to an instance of an object.]
   Dynamicweb.Content.Items.Queries.Repository.SelectByParentPageIds(IEnumerable`1 parentIds, Query query, Boolean includeParagraphs, Boolean includeChildItems, Boolean checkPermissions, Boolean includeInheritedItems) +484
   Dynamicweb.Content.Items.Queries.Repository.SelectByParentPageId(IEnumerable`1 pids, Query query, Boolean includeParagraphs, Boolean includeAllChildItems, Boolean checkPermissions, Boolean includeInheritedItems) +33
   Dynamicweb.Content.Items.Queries.Repository.SelectByParentPageIds(IEnumerable`1 parentIds, Query query, Boolean includeParagraphs, Boolean includeChildItems, Boolean checkPermissions) +30
   Dynamicweb.Content.Items.Queries.Repository.SelectByParentPageId(IEnumerable`1 pids, Query query, Boolean includeParagraphs, Boolean includeAllChildItems, Boolean checkPermissions) +28
   Dynamicweb.Content.Items.Queries.Repository.SelectByParentPageId(Int32 pageId, Query query, Boolean includeParagraphs, Boolean includeAllChildItems, Boolean checkPermissions) +80
   Dynamicweb.Content.Items.Metadata.FieldOptionMetadataItemSource.GetData(Int32 currentSourceId) +238
   Dynamicweb.Content.Items.Metadata.FieldOptionMetadataItemSource.get_Values() +64
   Dynamicweb.Content.Items.Metadata.FieldOptionSetupMetadata.get_Values() +21
   Dynamicweb.Content.Items.Editors.EditForm.FromItem(String parentSystemName, ItemType itemMeta, ItemEntry item, EditFormRenderer renderer) +2143
   Dynamicweb.Admin.ParagraphEdit.Page_PreRender(Object sender, EventArgs e) +930
   System.Web.UI.Control.OnPreRender(EventArgs e) +9674194
   System.Web.UI.Control.PreRenderRecursiveInternal() +88
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +883

 

Paragraph-Items.PNG

Replies

 
Nicolai Pedersen
Reply

Did you get this one solved?

 
Aki Ruuskanen
Aki Ruuskanen
Reply

Unfortunately no. It's functionality in admin that works in 8 so I'm not quite sure how solve it. 

 

/Aki

 
Nicolai Pedersen
Reply

I think we need a copy of this site to be able to debug. Could you please create a case with the service desk?

BR Nicolai

 

You must be logged in to post in the forum