← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #404615]: Can't get images to work in runnable jar

 

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

Ricky Ford gave more information on the question:
In case anyone wants the entire command line output when trying to run
the jar, this is it:

D:\Users\Ricky\Downloads>java -jar "AppName.jar"
Dec 04, 2016 12:56:57 PM org.jnativehook.DefaultLibraryLocator getLibraries
SEVERE: no entry name specified
Dec 04, 2016 12:56:57 PM org.jnativehook.DefaultLibraryLocator getLibraries
INFO: Library extracted successfully: C:\Users\Ricky\AppData\Local\Temp\JNativeH
ook-3083915753787265699.x86_64.dll (0x63D60AE788E2DA9235AB605F8642D21BB7A58799).


Dec 04, 2016 12:56:57 PM org.jnativehook.GlobalScreen getAutoRepeatRate
INFO: hook_get_auto_repeat_rate [135]: SPI_GETKEYBOARDSPEED: 31.

Dec 04, 2016 12:56:57 PM org.jnativehook.GlobalScreen getAutoRepeatDelay
INFO: hook_get_auto_repeat_delay [149]: SPI_GETKEYBOARDDELAY: 1.

Dec 04, 2016 12:56:57 PM org.jnativehook.GlobalScreen getMultiClickIterval
INFO: hook_get_multi_click_time [208]: GetDoubleClickTime: 500.

Dec 04, 2016 12:56:57 PM org.jnativehook.GlobalScreen getPointerSensitivity
INFO: hook_get_pointer_sensitivity [194]: SPI_GETMOUSESPEED: 10.

Dec 04, 2016 12:56:57 PM org.jnativehook.GlobalScreen getPointerAccelerationMult
iplier
INFO: hook_get_pointer_acceleration_multiplier [163]: SPI_GETMOUSE[2]: 0.

Dec 04, 2016 12:56:57 PM org.jnativehook.GlobalScreen getPointerAccelerationThre
shold
INFO: hook_get_pointer_acceleration_threshold [177]: SPI_GETMOUSE[0]: 0.

Dec 04, 2016 12:56:57 PM org.jnativehook.GlobalScreen getPointerAccelerationThre
shold
INFO: hook_get_pointer_acceleration_threshold [179]: SPI_GETMOUSE[1]: 0.

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 Main.main(Main.java:50)
        ... 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.