← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #142062]: ExceptionInInitializerError when running Sikuli code through Java

 

Question #142062 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/142062

Chaminda Peiris posted a new comment:
The image path is not the issue. I have tried with the following.

1. Providing the relative path with back slashes 
2. Providing absolute path
3. Copying the images to the root folder and providing the image location as c:\imagename.png

All three results in the same error.

My guess is that the problem could be in the initialization. When I run
the .py script in the command line I get the following lines logged to
stdout before the test runs correctly.

Sikuli vision engine loaded.
Text Recgonizer inited.
Windows utilities loaded.
VDictProxy loaded.
EventManager loaded.

However when I run the Java Class, I only get the following logged to
stdout.

Windows utilities loaded.
Sikuli vision engine loaded.
Text Recgonizer inited.

So the issue could be in initializing the VDictProxy or EventManager

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.