Neil Thompson

BizTalk | .NET | SQL |

  Home  |   Contact  |   Syndication    |   Login
  15 Posts | 20 Stories | 45 Comments | 55 Trackbacks

News

Article Categories

Archives

Post Categories

Fav BizTalk Blogs

Problem

If using OpenNavigator, add default=”true” to StatePersistence declaration in config file

Resolution

Server Error in '/Dev/UIPABWeb' 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:

 
Line 83:                  public static IStatePersistence Create( StatePersistenceProviderSettings providerSettings ) 
Line 84:                  {
Line 85:                           string statePersistenceKey = providerSettings.Type + "," + providerSettings.Assembly;
Line 86:                           IStatePersistence spp = (IStatePersistence)_statePersistenceCache[ statePersistenceKey ];
Line 87:                           if( spp == null )


Source File: C:\MASTER STORAGE\Visual Studio Projects\WorkingCopies\Code (March 23 2006)\Microsoft.ApplicationBlocks.UIProcess\Factories\StatePersistenceFactory.cs    Line: 85

Stack Trace:

 
[NullReferenceException: Object reference not set to an instance of an object.]
   Microsoft.ApplicationBlocks.UIProcess.StatePersistenceFactory.Create(StatePersistenceProviderSettings providerSettings) in C:\MASTER STORAGE\Visual Studio Projects\WorkingCopies\Code (March 23 2006)\Microsoft.ApplicationBlocks.UIProcess\Factories\StatePersistenceFactory.cs:85
   Microsoft.ApplicationBlocks.UIProcess.StatePersistenceFactory.Create() in C:\MASTER STORAGE\Visual Studio Projects\WorkingCopies\Code (March 23 2006)\Microsoft.ApplicationBlocks.UIProcess\Factories\StatePersistenceFactory.cs:59
   Microsoft.ApplicationBlocks.UIProcess.StateFactory.Create() in C:\MASTER STORAGE\Visual Studio Projects\WorkingCopies\Code (March 23 2006)\Microsoft.ApplicationBlocks.UIProcess\Factories\StateFactory.cs:129
   Microsoft.ApplicationBlocks.UIProcess.OpenNavigator..ctor(String name) in C:\MASTER STORAGE\Visual Studio Projects\WorkingCopies\Code (March 23 2006)\Microsoft.ApplicationBlocks.UIProcess\Navigators\OpenNavigator.cs:41
   Microsoft.ApplicationBlocks.UIProcess.UIPManager.StartOpenNavigationTask(String name, String firstViewName) in C:\MASTER STORAGE\Visual Studio Projects\WorkingCopies\Code (March 23 2006)\Microsoft.ApplicationBlocks.UIProcess\UIPManager.cs:156
   UIPABWeb.index.btnSteps_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\Dev\UIPABWeb\index.aspx.vb:46
   System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)
   System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   System.Web.UI.Page.ProcessRequestMain()

 

 

posted on Thursday, June 08, 2006 2:37 PM