You are viewing limited content. For full access, please sign in.

Question

Question

Business Process - Object reference not set to instance of object Error

asked on July 24, 2014

 

When starting a business process, we are getting an error shown below:

 

The BP has been validated and a starting rule is in place to enable the BP.  All metadata fields required are set as needed.  This error pops up shortly after you click start on the BP and the BP does not initiate - even to the first step.  Any ideas on where the problem lies?

 

0 0

Answer

APPROVED ANSWER
replied on February 4, 2015 Show version history

This specific issue was resolved by going into IIS and modifying the authentication settings for the Workflow web application. Windows Authentication needed to be enabled (along with Anonymous Authentication which should already be enabled by default). Once that was done and IIS was reset, the business processes were republished through the Workflow Designer and users could then start business processes from the Client.

This usually shouldn't be needed, but was what was required to address the problem at this organization.

As an aside, please make sure that you've upgraded to Workflow 9.2.

0 0
replied on February 5, 2015

Windows authentication was disabled. After enable and iisreset, the business processes work. 

 

Thank you for your help!

0 0

Replies

replied on July 24, 2014

Could you click on the Details button, copy and paste the contents here, please? What version of Laserfiche is this?

0 0
replied on July 24, 2014

What is the name of the Workflow/Business Process? In the Workflow Designer, view the business process and under "Business Process Options" click on "More Options..." and change the Instance Name to "Use the following name:" while giving it a new/different name. Then republish and try again in the Client (after first closing and reopening the Client).

replied on July 24, 2014

LF version 9.1.1   LF Server is at 9.1.1.561  WF designer indicates Version 9.1.1.365

 

Error Details below:

 

Error Code: 0
Error Message: Error launching Business Process:
    Entry: \Work in Progress - Unit Folders\DS01\*Incoming Scans\CB-5 Example
    Error Type: Unknown Error
    Error Message: Object reference not set to an instance of an object.

------------ Technical Details: ------------

LF.exe (9.1.1.486):
    Call Stack: (Current)
        LaunchBusinessProcess
        CStartBusinessProcessDialog::OnStartBusinessProcess
        CDocCmdTarget::OnBusinessProcessManager
    Call History:
          CLFClientAutomation::ExecuteAutomationCommand (GetWindows)
          CLFClientAutomation::ExecuteAutomationCommand (GetWindowInfo)
           GetRepositoryProperties
          CLFClientAutomation::ExecuteAutomationCommand (AutoClose)
           CLFApp::CheckAutoClose
          LaunchBusinessProcess
           CBusinessProcessManager::GetBusinessProcessSecurityEvaluator
           CBusinessProcessManager::GetStartingInstructionsDocument

0 0
replied on July 24, 2014

What is the name of the Workflow/Business Process? In the Workflow Designer, view the business process and under "Business Process Options" click on "More Options..." and change the Instance Name to "Use the following name:" while giving it a new/different name. Then republish and try again in the Client (after first closing and reopening the Client).

0 0
replied on July 24, 2014

Same error - details below

 

 

Error Code: 0
Error Message: Error launching Business Process:
    Entry: \Work in Progress - Unit Folders\DS01\*Incoming Scans\CB-5 Example
    Error Type: Unknown Error
    Error Message: Object reference not set to an instance of an object.

------------ Technical Details: ------------

LF.exe (9.1.1.486):
    Call Stack: (Current)
        LaunchBusinessProcess
        CStartBusinessProcessDialog::OnStartBusinessProcess
        CDocCmdTarget::OnBusinessProcessManager
    Call History:
          CLFClientAutomation::ExecuteAutomationCommand (GetWindows)
          CLFClientAutomation::ExecuteAutomationCommand (GetWindowInfo)
           GetRepositoryProperties
          CLFClientAutomation::ExecuteAutomationCommand (AutoClose)
           CLFApp::CheckAutoClose
          LaunchBusinessProcess
           CBusinessProcessManager::GetBusinessProcessSecurityEvaluator
           CBusinessProcessManager::GetStartingInstructionsDocument

0 0
replied on July 24, 2014
  1. Does the issue occur for all users (LF user, LDAP user, Windows user) that logs into the repository?
  2. Does the issue occur for all business process that try to be run?
  3. Does the issue occur for all documents that are trying to have the business process run on?
  4. Does the issue occur on all computers that have the Client installed?

 

Please let us know if you have any other information that may narrow the scope of the problem. Also, you can contact your Laserfiche reseller to open a support case as well.

0 0
replied on July 25, 2014

Answers to questions:

 

1.  Yes it occurs for all users.  We only have LDAP users

2.  Yes it occurs for all Business Processes

3. Yes it occurs for all documents we try to run the BP on

4. Yes it does the same thing for all computers that try to run it through the 9.1.1 Client

0 0
replied on February 4, 2015

Robert

Did you resolve this error? I'm experiencing the same issue.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.