sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #10525
Re: [Question #196479]: ExceptionInInitializerError when trying to run sikuli from Eclipse using JAVA
Question #196479 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/196479
Status: Open => Answered
RaiMan proposed the following answer:
The crashing line in DefaultJniExtractor.java is:
InputStream in = this.getClass().getClassLoader().getResourceAsStream(resourcename);
where resource name should contain: Win32Util.dll
I have no idea, why this happens in your situation, but I doubt that it has something to do with Sikuli itself.
Usually NullPointerExceptions are caused by programming flaws, but I cannot see any here.
On my Win 7 (I do not have Eclipse on it) running the above snippet with
javac and java
gives no problems.
So it is not possible for me, to debug this further, sorry.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.