I was reviewing the LFWorkflow event viewer log today and noticed this error. Is this a workflow that is causing this error or a Workflow process?
Log Name: LFWorkflow
Source: Laserfiche Workflow Service
Date: 3/14/2024 8:11:57 AM
Event ID: 100
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: xxxx
Description:
Timestamp: 2024-03-14 15:11:57.635
Local Time: 3/14/2024 8:11:57 AM
Category: Errors
Machine: xxxx
Severity: Error
Application Domain: Laserfiche.Workflow.Service.exe
Process Id: 38364
Process Name: C:\Program Files\Laserfiche\Laserfiche Workflow 10\Laserfiche.Workflow.Service.exe
Win32 Thread Id: 4884 -
Thread Name:
Message: <Exception handlingInstanceId="b8557ed6-3ff7-4816-84b6-3830f959305a">
<Description>An exception of type 'System.DivideByZeroException' occurred and was caught.</Description>
<DateTime>2024-03-14 08:11:57Z</DateTime>
<ExceptionType>System.DivideByZeroException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
<Message>Attempted to divide by zero.</Message>
<Source>System.Runtime.Caching</Source>
<HelpLink />
<Property name="TargetSite">Void SetTrimStats(Int64, Int64, Int64)</Property>
<Property name="HResult">-2147352558</Property>
<StackTrace> at System.Runtime.Caching.MemoryCacheStatistics.SetTrimStats(Int64 trimDurationTicks, Int64 totalCountBeforeTrim, Int64 trimCount)
at System.Runtime.Caching.MemoryCacheStatistics.CacheManagerThread(Int32 minPercent)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()</StackTrace>
<additionalInfo>
<info name="MachineName" value="xxxx" />
<info name="TimeStamp" value="3/14/2024 3:11:57 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="" />
<info name="WindowsIdentity" value="xxxx" />
</additionalInfo>
</Exception>
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Laserfiche Workflow Service" />
<EventID Qualifiers="0">100</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2024-03-14T15:11:57.635558200Z" />
<EventRecordID>660026</EventRecordID>
<Channel>LFWorkflow</Channel>
<Computer>xxxx</Computer>
<Security />
</System>
<EventData>
<Data>Timestamp: 2024-03-14 15:11:57.635
Local Time: 3/14/2024 8:11:57 AM
Category: Errors
Machine: xxxx
Severity: Error
Application Domain: Laserfiche.Workflow.Service.exe
Process Id: 38364
Process Name: C:\Program Files\Laserfiche\Laserfiche Workflow 10\Laserfiche.Workflow.Service.exe
Win32 Thread Id: 4884 -
Thread Name:
Message: <Exception handlingInstanceId="b8557ed6-3ff7-4816-84b6-3830f959305a">
<Description>An exception of type 'System.DivideByZeroException' occurred and was caught.</Description>
<DateTime>2024-03-14 08:11:57Z</DateTime>
<ExceptionType>System.DivideByZeroException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
<Message>Attempted to divide by zero.</Message>
<Source>System.Runtime.Caching</Source>
<HelpLink />
<Property name="TargetSite">Void SetTrimStats(Int64, Int64, Int64)</Property>
<Property name="HResult">-2147352558</Property>
<StackTrace> at System.Runtime.Caching.MemoryCacheStatistics.SetTrimStats(Int64 trimDurationTicks, Int64 totalCountBeforeTrim, Int64 trimCount)
at System.Runtime.Caching.MemoryCacheStatistics.CacheManagerThread(Int32 minPercent)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()</StackTrace>
<additionalInfo>
<info name="MachineName" value="xxxx" />
<info name="TimeStamp" value="3/14/2024 3:11:57 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="" />
<info name="WindowsIdentity" value="xxxx" />
</additionalInfo>
</Exception></Data>
</EventData>
</Event>
We are running Workflow version 11.0.2306.898.