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"><undefined value></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>