Question

12
Views
NormanV9 Member since 2015 14 posts
DB
Posted: 3 weeks 4 days ago
Last activity: 3 weeks 4 days ago

OCR runtime exception on abbyyTextExtractor

Hi all,

i am trying the OCR package on a PRPC 8.5 sandbox environment to test the functionalities. While runtime i am getting following exception in tracer:

 Failed to compile generated Java com.pegarules.generated.activity.ra_action_abbyytextextractor_f4e3334cd68d6a0f946a9e19b3aff492: ----------
1. ERROR in /com/pegarules/generated/activity/ra_action_abbyytextextractor_f4e3334cd68d6a0f946a9e19b3aff492.java (at line 234)
	class FileReader implements com.abbyy.FREngine.IReadStream {
	                            ^^^^^^^^^
com.abbyy cannot be resolved to a type
----------
2. ERROR in /com/pegarules/generated/activity/ra_action_abbyytextextractor_f4e3334cd68d6a0f946a9e19b3aff492.java (at line 244)
	public int Read(com.abbyy.FREngine.Ref<byte[]> ref, int count) {
	                ^^^^^^^^^
com.abbyy cannot be resolved to a type
.....

 I am calling an activity performOCR where i am preparing the data and forward the data to the reader while using Call Data-AbbyyFineReader.ExtractTextViaOCR! So there is the java code which worked before on another machine. But now i am getting 63 errors from that code snipet.

 

Might there be a problem with the JVM?

 

Thanks a lot

 

Pega Platform 8.5.2 Data Integration Java and Activities Other Industry