JRuby: TextRecognizer crashes at initialization

Asked by Kurz

When loading org.sikuli.script.TextRecognizer in JRuby, a crash occurs leading to the ResourceExtractor use in TextRecognizer.init. It seems to be having trouble opening the resource files in the jar at cl.getResourceAsStream(path + "/filelist.txt");. Which seems to pass a null pointer to ResourceExtractor.writeFileList.

From Java I am not having this problem. It only occurs when the class is loaded via JRuby. Any ideas on how to solve this?

Thanks,
Kurz

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Confirmed.

I will have a look at it the next days.

Can you help with this problem?

Provide an answer of your own, or ask Kurz for more information if necessary.

To post a message you must log in.