Symptoms
The code written in Java throws the error:
EXCEPTION_ACCESS_VIOLATION
Cause
The error is thrown if FineReader Engine's objects are handled incorrectly.
Resolution
- In the code, the DeinitializeEngine method must be called, it must be called in the same thread as the InitializeEngine method.
- In case the Engine object is initialized in one thread and used in the other, PDF Support should be initialized in the same thread. This can be done by calling LoadModule or setting the ProcessPdfInOneThread parameter of the MultiProcessingParams object to True.
- In case the FineReader Engine's log generated by calling the StartLogging method of the Engine object, contains entries "Wrong thread!", check that all calls to the Engine object are synchronized.
Comments
0 comments
Please sign in to leave a comment.