Skip to main content

Improved English version
When I run my bot, where one of the tasks uses the Document Extraction command, an error window appears exactly at the "Document Extraction" line. The message displayed is:

Error
Internal Program Error: Assertion failed: ( ) d:\build\teamagent\_work\5\s\0\fineobjects\src\fineobjects.cpp, 1440. 

I need to close this window several times for the bot to continue executing. Once it stops appearing, the process resumes, but the extraction result is "Fail" for all files.
This instruction is inside an SQL loop that comes from a database query.
If I run the full workflow a second time, the execution works correctly. Also, if I run the task independently, only once and in Debug mode, the result is correct.

Hi ​@MiltonNicilayC,

 

There can be two causes for this issue.

 

1. Both the AISense and OCR commands have different folders for FREngine.Jni.Dll. Now when the first command is executed, FREngine.Jni.Dll is loaded, and while executing the second command, while initializing the OCR engine, it is again trying to load the FREngine.Jni.Dll, which might be creating an issue.

 

2. Corrupted .jar file in global cache

 

The fix for each is as below:

 

1. Update the OCR package version to the latest in both the parent and also the child bot using the bulk update feature or the steps below.

  • Check out the bots.
  • Open the parent/child bot in the bot editor window.
  • Click on the 3 dots at the top right corner (next to close) of the bot editor window.
  • Update the OCR package to the latest (default).
  • Save.

 

2. Clear the folder C:\ProgramData\AutomationAnywhere\GlobalCache\embedded-resources to download package files from scratch.