sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #36404
[Question #280888]: unable to run jar file with sikuli from command prompt
New question #280888 on Sikuli:
https://answers.launchpad.net/sikuli/+question/280888
Able to run project from eclipse..but when trying to run from cmd prompt..getting below error:
H:\Users\shadab1>java -cp H:\Users\shadab1\Desktop\Eclipse\Selenium\sikulix\siku
lixapi.jar -jar H:\Users\shadab1\Desktop\launch.jar
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoa
der.java:58)
Caused by: java.lang.ExceptionInInitializerError
at sikuli_exp.exp1.main(exp1.java:12)
... 5 more
Caused by: java.lang.NullPointerException
at org.sikuli.script.RunTime.init(RunTime.java:635)
at org.sikuli.script.RunTime.get(RunTime.java:291)
at org.sikuli.script.RunTime.get(RunTime.java:126)
at org.sikuli.script.RunTime.get(RunTime.java:316)
at org.sikuli.script.Region.<clinit>(Region.java:31)
... 6 more
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.