locked
Server Error in '/Analyst' Application. RRS feed

  • Question

  • Exploring the capabilities of the Self Service Portal we're facing to the following issue: Starting the analyst part (https://localhost/analyst) of the Self Service Portal results in error message which I copied in. The enduser part (https://localhost/enduser) works fine. I've installed SM Database, SM Management Server and SM Console on SCSM01 and installed SM Self-service portal web service on SCSM02 (Windows Server 2008 R2/SQL Server 2008 SP1).


    Server Error in '/Analyst' 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.EnterpriseManagement.ServiceManager.AnalystWebParts.AnnouncementsComparer.Compare(Object x, Object y) +252
    
       System.SorterObjectArray.QuickSort(Int32 left, Int32 right) +335
    
    
    
    [InvalidOperationException: Failed to compare two elements in the array.]
    
       System.SorterObjectArray.QuickSort(Int32 left, Int32 right) +10427069
    
       System.Array.Sort(Array keys, Array items, Int32 index, Int32 length, IComparer comparer) +334
    
       System.Collections.IListWrapper.Sort(Int32 index, Int32 count, IComparer comparer) +137
    
       Microsoft.EnterpriseManagement.ServiceManager.AnalystWebParts.Announcements.GetAnnouncementItems() +375
    
       Microsoft.EnterpriseManagement.ServiceManager.AnalystWebParts.Announcements.CreateChildControls() +2453
    
       System.Web.UI.Control.InitRecursive(Control namingContainer) +143
    
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +271
    
       System.Web.UI.WebControls.WebParts.WebPartManagerControlCollection.AddWebPartHelper(WebPart webPart) +305
    
       System.Web.UI.WebControls.WebParts.WebPartManagerControlCollection.AddWebPartsFromZone(WebPartZoneBase zone, WebPartCollection webParts) +1930880
    
       System.Web.UI.WebControls.WebParts.WebPartManager.RegisterZone(WebZone zone) +310
    
       System.Web.UI.WebControls.WebParts.WebPartZone.OnInit(EventArgs e) +16
    
       System.Web.UI.Control.InitRecursive(Control namingContainer) +143
    
       System.Web.UI.Control.InitRecursive(Control namingContainer) +391
    
       System.Web.UI.Control.InitRecursive(Control namingContainer) +391
    
       System.Web.UI.Control.InitRecursive(Control namingContainer) +391
    
       System.Web.UI.Control.InitRecursive(Control namingContainer) +391
    
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1477
    
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927
    Thursday, October 15, 2009 11:30 AM

Answers

  • Hi Ronny

    Please go the SM console and make sure all the announcements have priority values set.

    Thanks!
    Paresh
    Friday, October 16, 2009 1:35 AM
    Answerer

All replies

  • Hi Ronny

    Please go the SM console and make sure all the announcements have priority values set.

    Thanks!
    Paresh
    Friday, October 16, 2009 1:35 AM
    Answerer
  • Hi Paresh,

    Thanks for you helpfull reply. Indeed some announcement had no priority set. When priority set, the 'issue' was solved. Is this a known 'feature' or..?


    Senior Engineer - Manageability
    Friday, October 16, 2009 6:35 AM
  • Its a known bug which will be fix in time for RTM. In short the Analyst portal will not crash even if priority is not set and will just not sort the announcements which are missing priorities. We might also validation for priority on the announcement forms in console so that users don't run into this by accident.

    Hope that helps.
    Paresh
    Friday, October 16, 2009 5:38 PM
    Answerer