Skip to main content
Kofax

ERROR on Recognize station

3018259

Question / Problem: 

We are running into this error on a eFlow Extract environment into a VM.

We need to fix this problem to go forward with development of this project.

When we process collections, created via ePortal FILE source (reading folder), always after PO Number Candidates: Faulted, we receive this error on red color in the UI and the following errors into event viewer.

As a first try to resolve, we switch of the Learning check box in the Design Free -> Flow Settings, but the problem still there

1.png

Error Messages

2019-11-06 17:46:24,675 [3] FATAL Source App: efProcessShell.exe, External component has thrown an exception..  Details :     Machine: WIN-EV1GBN6CU29  

TISAppenderLog4net.Log4NetException: External component has thrown an exception. ---> System.Runtime.InteropServices.SEHException: External component has thrown an exception.

   at TiS.RecognitionWorkflow.Activity.Freedom.FreedomActivity.<>c__DisplayClass89_0.<Process>b__0(Int32 i, Bitmap b)

   at TiS.RecognitionWorkflow.Common.Drd2RegBitmaps.ForEach(Action`2 bitmapAction, IList`1 pages)

   --- End of inner exception stack trace ---

2019-11-06 17:46:24,690 [3] ERROR Source App: efProcessShell.exe, System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.

   at TiS.RecognitionWorkflow.Common.Drd2RegBitmaps.ForEach(Action`2 bitmapAction, IList`1 pages)

   at TiS.RecognitionWorkflow.Activity.Freedom.FreedomActivity.Process(ITisCollectionData collectionData, NativeActivityContext context, Freedom freedomService)

   at TiS.RecognitionWorkflow.Activity.Freedom.FreedomActivity.RunService(NativeActivityContext context, Freedom recService)

   at TiS.RecognitionWorkflow.RecognitionActivity`1.Continue(NativeActivityContext context, Bookmark bookmark, Object obj)

   at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)

   at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager).  Details :     Machine: WIN-EV1GBN6CU29  

2019-11-06 17:46:25,737 [RunStationLogicLoop] FATAL Source App: efProcessShell.exe, Object reference not set to an instance of an object..  Details :     Machine: WIN-EV1GBN6CU29  

TISAppenderLog4net.Log4NetException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.

   at TiS.DevGER.Shared.CSMHandler.AddTableFields(ITisFieldTableData fieldTable)

   at TiS.DevGER.Shared.CSMHandler.AddTableFields(ITisFormData form, String fieldTableName)

   at TiS.DevGER.IR.PostProcess.CopyVatFields2VatTable(ITisClientServicesModule csm, ITisFormData form, IRValidations validations) in C:\Data\Git\Extract\src\IR\C#\IRValidations\PostProcess.cs:line 412

   at TiS.DevGER.IR.IRRecognitionStation.CopyVatFields2VatTable(ITisClientServicesModule csm, ITisCollectionData collection, Boolean documentIsMerged) in C:\Data\Git\Extract\src\IR\C#\IRRecognition\IRRecognition\Recognition.cs:line 1523

   --- End of inner exception stack trace ---

2019-11-06 17:46:27,285 [RunStationLogicLoop] FATAL Source App: efProcessShell.exe, Object reference not set to an instance of an object..  Details :     Machine: WIN-EV1GBN6CU29  

TISAppenderLog4net.Log4NetException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.

   at TiS.DevGER.IR.IRRecognitionStation.OnHandleLineItemsMmAddCosts(ITisClientServicesModule csm, ITisCollectionData collection) in C:\Data\Git\Extract\src\IR\C#\IRRecognition\IRRecognition\Recognition.cs:line 911

   --- End of inner exception stack trace ---

Answer / Solution: 

It is likely there were different versions of eFlow installed previously on the VM at some point. Basically you’d get this issue with the 1st freedom script you run (which in this case is the PO Number Candidates script. You can probably reproduce this with Freedom Demo application.

You can try the followings:

  • Unreg & re-reg dlls.
  • Remove the eFlow version references from the registry.

Enter How to here:

  1. How to Step 1
  2. How to Step 2
  3. How to Step 3

 

Applies to:  

Product Version
eFlow 5.x

 

 

  • Was this article helpful?