sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #10511
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: Answered => Open
Devi Sridharan is still having a problem:
I tried running given snippet,it is throwing the following exception.
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.sikuli.script.Env.getOSUtil(Env.java:91)
at org.sikuli.script.ScreenHighlighter.init(ScreenHighlighter.java:180)
at org.sikuli.script.ScreenHighlighter.<init>(ScreenHighlighter.java:293)
at org.sikuli.script.Screen.initBounds(Screen.java:105)
at org.sikuli.script.Screen.<init>(Screen.java:98)
at Ex.main(Ex.java:9)
Caused by: java.lang.NullPointerException
at com.wapmx.nativeutils.jniloader.DefaultJniExtractor.extractResource(DefaultJniExtractor.java:125)
at com.wapmx.nativeutils.jniloader.DefaultJniExtractor.extractJni(DefaultJniExtractor.java:110)
at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:43)
at org.sikuli.script.Win32Util.<clinit>(Win32Util.java:19)
... 8 more
When compiler tries to create Screen object,it is throwing this
exception.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.