← Back to team overview

sikuli-driver team mailing list archive

[Question #689868]: Retrieving txt from Match results issue as access violation

 

New question #689868 on Sikuli:
https://answers.launchpad.net/sikuli/+question/689868

 java - sikulix 1.0 jar - jdk 8 - win 64 bit box windows 2012 . Not using IDE

code snippet :

Settings.OcrTextSearch=true;
Settings.OcrTextRead=true;
String path11="c:\\\\temp\\\\SikuliIMages\\\\XYZSS1.png";
Screen scr= new Screen();
Match m=scr.find(path11);
String ss=m.text();
System.out.println(ss);
I have the envi variable set as TESSDATA_PREFIX - like C:\Users\**\git\REL857\lib\libs where the tessdatafolder and it has englich data of 15040 KB.
--
The error message is 


# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000068b89732, pid=5168, tid=0x00000000000018e8
#
# JRE version: Java(TM) SE Runtime Environment (8.0_241-b07) (build 1.8.0_241-b07)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.241-b07 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [libtesseract-3.dll+0x189732]
#
# Core dump written. Default location: C:\Users\sdoraisa\git\REL857\hs_err_pid5168.mdmp
#
# An error report file with more information is saved as:
# C:\Users\**8\git\REL857\hs_err_pid5168.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
actual_tessdata_num_entries_ <= TESSDATA_NUM_ENTRIES:Error:Assert failed:in file tessdatamanager.cpp, line 50

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.