2
Vote

Error when publishing freshly created page with multiple doclibs

description

After creating a webpage with the multiple doclibs webpart, an error occurs. Can anyone help me? This is the error :
 

Server Error in '/' Application.

 
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
 
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
 
Source Error:
 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
 
Stack Trace:
 
 
[NullReferenceException: Object reference not set to an instance of an object.]
Stramit.WP.TreeViewDocLib..ctor(String ImagePath, SPWeb Web, IMultiParameter Param) +312
Stramit.WP.DocBrowserTemplate.InstantiateIn(Control container) +36
System.Web.UI.WebControls.DataList.InitializeItem(DataListItem item) +219
System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +57
System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) +634
System.Web.UI.WebControls.BaseDataList.CreateChildControls() +77
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.WebControls.BaseDataList.get_Controls() +12
System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +22
System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +300
System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +142
System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +300
System.Web.UI.Control.LoadChildViewStateByID(ArrayList childState) +118
System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +289
System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +142
System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +300
System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +142
System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +300
System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +142
System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +300
System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +142
System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +300
System.Web.UI.Page.LoadAllState() +520
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3444
 

 

 

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

comments

estherb wrote Sep 16, 2009 at 7:55 AM

I get this same error when I edit a page containing the multi doc web part. I wouldn't say the impact of this issue is low though as it basically renders the web part unusable. I think this is a fantastic web part and will be extremely useful when this issue is resolved. Big thanks

wrote Feb 14, 2013 at 2:40 AM