sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #38348
Re: [Question #294000]: Location outside any screen
Question #294000 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294000
Erich Fiederer gave more information on the question:
Oops, sorry RaiMan. I must've installed it incorrectly. I reinstalled
the nightly build and got this new error (it continues to run properly
locally from command line, this only happens when called from jenkins):
C:\Users\jenkins\Desktop\Sikuli>runsikulix.cmd -r ".\WindowsLibrary\SFR_basic.sikuli"
+++ running this Java
java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) Client VM (build 25.77-b03, mixed mode, sharing)
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar C:\Users\jenkins\Desktop\Sikuli\sikulix.jar -r ".\WindowsLibrary\SFR_basic.sikuli"
[error] Location: outside any screen (14270784, 14270784) - subsequent actions might not work as expected
[error] RunTimeIDE: *** terminating: JythonScriptRunner: cannot be initialized:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\jenkins\Desktop\Sikuli\sikulix.jar\Lib\sikuli\__init__.py", line 6, in <module>
File "C:\Users\jenkins\Desktop\Sikuli\sikulix.jar\Lib\sikuli\Sikuli.py", line 48, in <module>
java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.python.core.Py.loadAndInitClass(Py.java:991)
at org.python.core.Py.findClassInternal(Py.java:926)
at org.python.core.Py.findClassEx(Py.java:977)
at
org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:133)
at
org.python.core.packagecache.PackageManager.findClass(PackageManager.java:33)
at
org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:122)
at
org.python.core.PyJavaPackage.__findattr_ex__(PyJavaPackage.java:134)
at org.python.core.PyObject.__findattr__(PyObject.java:946)
at org.python.core.PyObject.impAttr(PyObject.java:1084)
at org.python.core.imp.import_next(imp.java:842)
at org.python.core.imp.import_logic(imp.java:904)
at org.python.core.imp.import_module_level(imp.java:978)
at org.python.core.imp.importName(imp.java:1062)
at
org.python.core.ImportFunction.__call__(__builtin__.java:1280)
at org.python.core.PyObject.__call__(PyObject.java:431)
at org.python.core.__builtin__.__import__(__builtin__.java:1232)
at org.python.core.imp.importOneAs(imp.java:1099)
at
sikuli.Sikuli$py.f$0(C:\Users\jenkins\Desktop\Sikuli\sikulix.jar\Lib\sikuli\Sikuli.py:641)
at
sikuli.Sikuli$py.call_function(C:\Users\jenkins\Desktop\Sikuli\sikulix.jar\Lib\sikuli\Sikuli.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:436)
at
org.python.core.util.importer.importer_load_module(importer.java:109)
at
org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:163)
at
org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown
Source)
at
org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:46)
at org.python.core.imp.loadFromLoader(imp.java:587)
at org.python.core.imp.find_module(imp.java:537)
at org.python.core.PyModule.impAttr(PyModule.java:106)
at org.python.core.imp.import_next(imp.java:842)
at org.python.core.imp.import_module_level(imp.java:959)
at org.python.core.imp.importName(imp.java:1062)
at
org.python.core.ImportFunction.__call__(__builtin__.java:1280)
at org.python.core.PyObject.__call__(PyObject.java:431)
at org.python.core.__builtin__.__import__(__builtin__.java:1232)
at org.python.core.imp.importAll(imp.java:1182)
at
sikuli$py.f$0(C:\Users\jenkins\Desktop\Sikuli\sikulix.jar\Lib\sikuli\__init__.py:6)
at
sikuli$py.call_function(C:\Users\jenkins\Desktop\Sikuli\sikulix.jar\Lib\sikuli\__init__.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:436)
at
org.python.core.util.importer.importer_load_module(importer.java:109)
at
org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:163)
at
org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown
Source)
at
org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:46)
at org.python.core.imp.loadFromLoader(imp.java:587)
at org.python.core.imp.find_module(imp.java:537)
at org.python.core.imp.import_next(imp.java:840)
at org.python.core.imp.import_module_level(imp.java:959)
at org.python.core.imp.importName(imp.java:1062)
at
org.python.core.ImportFunction.__call__(__builtin__.java:1280)
at org.python.core.PyObject.__call__(PyObject.java:431)
at org.python.core.__builtin__.__import__(__builtin__.java:1232)
at org.python.core.imp.importAll(imp.java:1182)
at org.python.pycode._pyx0.f$0(<string>:1)
at org.python.pycode._pyx0.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1386)
at org.python.core.Py.exec(Py.java:1430)
at
org.python.util.PythonInterpreter.exec(PythonInterpreter.java:267)
at
org.sikuli.scriptrunner.JythonScriptRunner.init(JythonScriptRunner.java:129)
at
org.sikuli.scriptrunner.ScriptingSupport.init(ScriptingSupport.java:286)
at
org.sikuli.scriptrunner.ScriptingSupport.getRunner(ScriptingSupport.java:315)
at
org.sikuli.scriptrunner.ScriptingSupport$RunBox.run(ScriptingSupport.java:594)
at
org.sikuli.scriptrunner.ScriptingSupport$RunBox.access$400(ScriptingSupport.java:513)
at
org.sikuli.scriptrunner.ScriptingSupport.runscript(ScriptingSupport.java:442)
at org.sikuli.ide.SikuliIDE.run(SikuliIDE.java:270)
at org.sikuli.ide.Sikulix.main(Sikulix.java:25)
Caused by: java.lang.NullPointerException
at org.sikuli.script.Mouse.move(Mouse.java:344)
at org.sikuli.script.Mouse.move(Mouse.java:325)
at org.sikuli.script.Mouse.init(Mouse.java:59)
at org.sikuli.script.Screen.initScreens(Screen.java:109)
at org.sikuli.script.Screen.<clinit>(Screen.java:74)
... 71 more
java.lang.ExceptionInInitializerError: java.lang.ExceptionInInitializerError
Build step 'Execute Windows batch command' marked build as failure
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.