ASP.net error rendering webpart on Project Server 2007

N

nmelo.cu

Hi group:

I'm posting the message of a very serious looking error we are getting
on Project Server 2007.
I'ts an ASP.net error reporting a NullReferenceException when
rendering a page.
We get this error when accessing the "My Tasks" page used by the
resources to enter time in PWA.

Anyone seen this one before?
We are getting it for several users and the MOSS logs or Google don't
seem to shed light on the cause.

I might add we had a recent issue with a Calculated measure on the
cube, but I wouldn't think is related to anything.

Appreciated!!! ;-)
Thanks.

Nelson

PS: Our hopes are on you guys and the SP1 just released!


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) +863

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

________________________________________
Version Information: Microsoft .NET Framework Version:2.0.50727.832;
ASP.NET Version:2.0.50727.832
 
N

nmelo.cu

Hi group:

I'm posting the message of a very serious looking error we are getting
on Project Server 2007.
I'ts anASP.net error reporting a NullReferenceException when
rendering a page.
We get this error when accessing the "My Tasks" page used by the
resources to enter time in PWA.

Anyone seen this one before?
We are getting it for several users and the MOSS logs or Google don't
seem to shed light on the cause.

I might add we had a recent issue with a Calculated measure on the
cube, but I wouldn't think is related to anything.

Appreciated!!! ;-)
Thanks.

Nelson

PS: Our hopes are on you guys and the SP1 just released!

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(DataGri-dItem
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) +863

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

________________________________________
Version Information: Microsoft .NET Framework Version:2.0.50727.832;ASP.NET Version:2.0.50727.832

After this post we actually managed to get in touch with MS and they
suggested us to remove the spaces from all of our custom field values.
It's working so far!!
Thanks a lot,

Nelson Melo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top