T
thinkmassive
Our PM noticed a peculiar error in PWA. For some accounts, the My
Tasks page generates an ASP.NET exception. This only happens for some
users, and it doesn't happen when *anyone* clicks the My Work link,
which also displays My Tasks. The only similar problem I have seen
involves not having spaces in custom field values, which we don't even
use.
I've included the entire error message below. If anyone can provide
any insight I will be grateful.
Thanks in advance!
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.]
Microsoft.Office.Project.PWA.CommonControls.XmlGrid.InitializePager(DataGridItem
item, Int32 columnSpan, PagedDataSource pagedDataSource) +651
System.Web.UI.WebControls.DataGrid.CreateItem(Int32 itemIndex,
Int32 dataSourceIndex, ListItemType itemType, Boolean dataBind, Object
dataItem, DataGridColumn[] columns, TableRowCollection rows,
PagedDataSource pagedDataSource) +249
System.Web.UI.WebControls.DataGrid.CreateControlHierarchy(Boolean
useDataSource) +1186
Microsoft.Office.Project.PWA.CommonControls.XmlGrid.CreateControlHierarchy(Boolean
useDataSource) +1122
Microsoft.Office.Project.PWA.CommonControls.XmlGrid.OnPreRender(EventArgs
e) +332
System.Web.UI.Control.PreRenderRecursiveInternal() +77
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.WebControls.WebParts.WebPart.PreRenderRecursiveInternal()
+62
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+1360
Tasks page generates an ASP.NET exception. This only happens for some
users, and it doesn't happen when *anyone* clicks the My Work link,
which also displays My Tasks. The only similar problem I have seen
involves not having spaces in custom field values, which we don't even
use.
I've included the entire error message below. If anyone can provide
any insight I will be grateful.
Thanks in advance!
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.]
Microsoft.Office.Project.PWA.CommonControls.XmlGrid.InitializePager(DataGridItem
item, Int32 columnSpan, PagedDataSource pagedDataSource) +651
System.Web.UI.WebControls.DataGrid.CreateItem(Int32 itemIndex,
Int32 dataSourceIndex, ListItemType itemType, Boolean dataBind, Object
dataItem, DataGridColumn[] columns, TableRowCollection rows,
PagedDataSource pagedDataSource) +249
System.Web.UI.WebControls.DataGrid.CreateControlHierarchy(Boolean
useDataSource) +1186
Microsoft.Office.Project.PWA.CommonControls.XmlGrid.CreateControlHierarchy(Boolean
useDataSource) +1122
Microsoft.Office.Project.PWA.CommonControls.XmlGrid.OnPreRender(EventArgs
e) +332
System.Web.UI.Control.PreRenderRecursiveInternal() +77
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.WebControls.WebParts.WebPart.PreRenderRecursiveInternal()
+62
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+1360