sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #52047
[Bug 1835099] Re: [1.1.4] -r "c:\somewhere\somefolder\aScript" does not work
will fix asap.
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1835099
Title:
[1.1.4] -r "c:\somewhere\somefolder\aScript" does not work
Status in Sikuli:
Fix Committed
Bug description:
Every so often I get a error like this: (captured in historical log files)
Setup:
Java 8 U211
SikuliXIDE 1.1.4 SnapShot
Windows 10 Home 64bit build 1063
AMD FX-8370, 32GB ram
Launch:
Error typically occurs on launch of the script (via batch) like this:
>>"C:\Users\Eris\Dropbox\SikuliLogs\Collect.log" (
echo --------------------------------------------------------------------------------------------
echo %date%-%time%
echo --------------------------------------------------------------------------------------------
echo collect1
java -jar "d:\MikE\sikulix.jar" -r "d:\mike\Sikuli Scripts\Collect1"
)
Error:
Exception in thread "main" Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Eris\AppData\Roaming\Sikulix\Lib\sikuli\__init__.py", line 4, in <module>
from Sikuli import *
File "C:\Users\Eris\AppData\Roaming\Sikulix\Lib\sikuli\Sikuli.py", line 657, in <module>
use()
File "C:\Users\Eris\AppData\Roaming\Sikulix\Lib\sikuli\Sikuli.py", line 455, in use
newScreen = JScreen()
at org.sikuli.script.Location.getScreen(Location.java:255)
at org.sikuli.script.Mouse.move(Mouse.java:394)
at org.sikuli.script.Mouse.move(Mouse.java:375)
at org.sikuli.script.Mouse.init(Mouse.java:63)
at org.sikuli.script.Screen.initScreens(Screen.java:153)
at org.sikuli.script.Screen.<init>(Screen.java:186)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
org.python.core.PyReflectedConstructor.constructProxy(PyReflectedConstructor.java:211)
java.lang.NullPointerException: java.lang.NullPointerException
IDE terminated: returned: 1
I may run the scripts 50+ times and only see this once, if I catch the
error and immediately re-run the batch file it works fine
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1835099/+subscriptions
References