Skip to main content
Nintex Community Menu Bar

Has anyone seen this error before with the K2 Designer?

 

Server ErrorObject reference not set to an instance of an object.
  More Details
Exception Details:at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.IIdentityAuthentication(SCConnectionStringBuilder connectionStringBuilder)
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.Authenticate(String connectionString)
at SourceCode.Forms.AppFramework.ConnectionClass.OpenOrAuthenticate(BaseAPIConnection connection, Boolean asAppPool)
at SourceCode.Forms.AppFramework.ConnectionClass.TryCredentialToken(BaseAPIConnection connection, String credentialToken, Boolean asAppPool)
at SourceCode.Forms.AppFramework.ConnectionClass.GetPoolConnection(String poolConnectionString, String credentialToken, Boolean asAppPool, Boolean& tokenApplied)
at SourceCode.Forms.AppFramework.ConnectionClass.Connect(BaseAPI baseAPI, Boolean asAppPool, Boolean validateLicense)
at SourceCode.Forms.AppFramework.ConnectionClass.GetLicenseManager()
at SourceCode.Forms.AppFramework.LicenseUtility.get_IsLicensed()
at SourceCode.Forms.AppFramework.ConnectionClass.Connect(BaseAPI baseAPI, Boolean asAppPool, Boolean validateLicense)
at SourceCode.Forms.AppFramework.ConnectionClass.GetFormsManager()
at SourceCode.Forms.AppFramework.BundlingUtility.CreateControlBundles()
at SourceCode.Forms.AppFramework.BundlingModule.PostAuthenticateRequest(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

 

Seeing this in the server event viewer:

Log Name: Application
Source: ASP.NET 4.0.30319.0
Date: 8/27/2014 4:39:26 PM
Event ID: 1309
Task Category: Web Event
Level: Warning
Keywords: Classic
User: N/A
Computer: SERVER FQN
Description:
Event code: 3005 Event message: An unhandled exception has occurred.

Event time: 8/27/2014 4:39:26 PM

Event time (UTC): 8/27/2014 8:39:26 PM

Event ID: 90f34dc45f714c839428580d019291bd

Event sequence: 2

Event occurrence: 1

Event detail code: 0

Application information:

Application domain: /LM/W3SVC/2/ROOT/Designer-1-130536451310052960

Trust level: Full Application

Virtual Path: /Designer

Application Path: C:Program Files (x86)K2 blackpearlK2 smartforms Designer

Machine name: SERVER NAME

Process information: Process ID: 3696

Process name: w3wp.exe

Account name: SERVICE ACCOUNT 

Exception information: Exception type: NullReferenceException Exception message: Object reference not set to an instance of an object.
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.IIdentityAuthentication(SCConnectionStringBuilder connectionStringBuilder)
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.Authenticate(String connectionString)
at SourceCode.Forms.AppFramework.ConnectionClass.OpenOrAuthenticate(BaseAPIConnection connection, Boolean asAppPool)
at SourceCode.Forms.AppFramework.ConnectionClass.TryCredentialToken(BaseAPIConnection connection, String credentialToken, Boolean asAppPool)
at SourceCode.Forms.AppFramework.ConnectionClass.GetPoolConnection(String poolConnectionString, String credentialToken, Boolean asAppPool, Boolean& tokenApplied)
at SourceCode.Forms.AppFramework.ConnectionClass.Connect(BaseAPI baseAPI, Boolean asAppPool, Boolean validateLicense)
at SourceCode.Forms.AppFramework.ConnectionClass.GetLicenseManager()
at SourceCode.Forms.AppFramework.LicenseUtility.get_IsLicensed()
at SourceCode.Forms.AppFramework.ConnectionClass.Connect(BaseAPI baseAPI, Boolean asAppPool, Boolean validateLicense)
at SourceCode.Forms.AppFramework.ConnectionClass.GetFormsManager()
at SourceCode.Forms.AppFramework.BundlingUtility.CreateControlBundles()
at SourceCode.Forms.AppFramework.BundlingModule.PostAuthenticateRequest(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

Request information: Request URL: http://SERVER/designer/default.aspx

Request path: /designer/default.aspx

User host address: 127.0.0.1

User: USER NAME 

Is authenticated: True

Authentication Type: Federation

Thread account name: SERVICE ACCOUNT 

Thread information: Thread ID: 56

Thread account name: SERVICE ACCOUNT

Is impersonating: False

Stack trace: at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.IIdentityAuthentication(SCConnectionStringBuilder connectionStringBuilder)
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.Authenticate(String connectionString)
at SourceCode.Forms.AppFramework.ConnectionClass.OpenOrAuthenticate(BaseAPIConnection connection, Boolean asAppPool)
at SourceCode.Forms.AppFramework.ConnectionClass.TryCredentialToken(BaseAPIConnection connection, String credentialToken, Boolean asAppPool)
at SourceCode.Forms.AppFramework.ConnectionClass.GetPoolConnection(String poolConnectionString, String credentialToken, Boolean asAppPool, Boolean& tokenApplied)
at SourceCode.Forms.AppFramework.ConnectionClass.Connect(BaseAPI baseAPI, Boolean asAppPool, Boolean validateLicense)
at SourceCode.Forms.AppFramework.ConnectionClass.GetLicenseManager()
at SourceCode.Forms.AppFramework.LicenseUtility.get_IsLicensed()
at SourceCode.Forms.AppFramework.ConnectionClass.Connect(BaseAPI baseAPI, Boolean asAppPool, Boolean validateLicense)
at SourceCode.Forms.AppFramework.ConnectionClass.GetFormsManager()
at SourceCode.Forms.AppFramework.BundlingUtility.CreateControlBundles()
at SourceCode.Forms.AppFramework.BundlingModule.PostAuthenticateRequest(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Custom event details: 

Hi Kjanicki,


 


Do you recieve this error when opening K2 Designer or when creating/editing a form/view? Also could you tell me what version of K2 Blackpearl and Smartforms you are running?


 


Kind  regards,


Yannick


Hi kjanicki!

 

To add onto Yannick's questions, have you performed an IIS reset yet to see if that will fix it? Also, are you able to browse to the K2 Designer from the K2 server? 

 

A previous client had a similar problem that was fixed from clearing the browse cache in IE so that may be an option you'd like to try as well.

 

Regards,

Alyssa

 


If you are on SF 1.0.6 and k2 4.6.7; there is a hotfix that can be supplied by penning a ticket


I have seen this error several times and it usually happens when there is a rule where the reference to a smartobject has been changed or is no longer mapped correctly.

 

If you get this when opening a form start digging through the initialize rule to see which smartobjects the form is reading. Most likely this is the cause. If you get the error when submitting then check you create or update methods for that button. 

 

I have also seen this error on Package and Deploy. This is usually do to a minor difference in the SQL references from the environment it was packaged from to the environment it is being deployed to. If this happens to be the case you will need to make sure your SQL tables match one for one. If they do match then try refreshing the service instance.

 

Thanks,

Bryan Peters


Reply