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

Question

Question

workflow publishing error "Object reference not set to an instance of an object. [0411-WF0]"

asked on May 3, 2016

Last week I updated my Laserfiche environment from 9.1 to 10.0.  Yesterday I noticed I cannot publish workflows.  I get the error Object reference not set to an instance of an object. [0411-WF0]

The following error occurs in the LFWorkflow logs on the server:

Machine: Laserfiche Server

Severity: Error

Application Domain: Laserfiche.Workflow.Service.exe

Process Id: 6808

Process Name: C:\Program Files\Laserfiche\Laserfiche Workflow 9\Laserfiche.Workflow.Service.exe

Win32 Thread Id: 11268 - Work Thread

Thread Name: Work Thread

Message: <Exception handlingInstanceId="9b6f02da-05d5-42ed-9f45-a89203385704">
  <Description>An exception of type 'Laserfiche.Workflow.ComponentModel.Compiler.CompileResult+CompileError' occurred and was caught.</Description>
  <DateTime>2016-05-03 09:53:56Z</DateTime>
  <ExceptionType>Laserfiche.Workflow.ComponentModel.Compiler.CompileResult+CompileError, Laserfiche.Workflow.Designer.Base, Version=8.3.0.0, Culture=neutral, PublicKeyToken=d8428ff9263e6cda</ExceptionType>
  <Message>Object reference not set to an instance of an object.</Message>
  <Source />
  <HelpLink />
  <Property name="TargetSite">&lt;undefined value&gt;</Property>
  <Property name="HResult">-2146233088</Property>
  <StackTrace>   at Laserfiche.Workflow.ComponentModel.Compiler.LaserficheWorkflowCompiler.CompileDesignerSource(String designerSource)</StackTrace>
  <additionalInfo>
    <info name="MachineName" value="Laserfiche Server" />
    <info name="TimeStamp" value="5/3/2016 4:53:56 PM" />
    <info name="FullName" value="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    <info name="AppDomainName" value="Laserfiche.Workflow.Service.exe" />
    <info name="ThreadIdentity" value="domain\myuser" />
    <info name="WindowsIdentity" value="domain\workflow service account" />
  </additionalInfo>
 

workflow publish error.png
0 0

Answer

SELECTED ANSWER
replied on May 3, 2016

In troubleshooting with my VAR, I stumbled across the solution. 

This took me down a bit of a rabbit hole.  I wanted to test publishing from the server but the designer wasn’t installed on the server.  I tried to modify the install and add it but afterwards the designer was still missing!  All the other workflow components installed fine.  The workflow program folder was still called Laserfiche Workflow 9, even though the services and executables were all version 10.

I had already attempted an uninstall/reinstall of workflow to no avail, so I made a backup of the folder and uninstalled all of workflow and deleted the folder in Program Files.  I reinstalled workflow and it installed clean, ran the configuration manager and everything works now. 

Something went wrong in the upgrade I guess?  Whatever it was stayed broken when I did the previous uninstall/reinstall.  It wasn’t until I deleted the Program File folder and installed clean that it was resolved.

0 0

Replies

replied on May 3, 2016

Is it any workflows? Even an empty one?

0 0
replied on May 3, 2016

An empty workflow, a new workflow, publishing over an existing workflow.  They all have the same error.

0 0
replied on May 3, 2016

Did you run the configuration wizard after the upgrade? It's probably best if you have your reseller open a case with Tech Support so we can look into it.

0 0
replied on May 3, 2016

Yes I did.  I'll follow up with Cities Digital.

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

Sign in to reply to this post.