sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #38423
Re: [Question #294000]: Location outside any screen
Question #294000 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294000
Erich Fiederer posted a new comment:
Trying to run with Debug=3 as you suggested to see what display
configurations java sees, but no luck. Am i doing anything incorrectly?
All I see is the hotkeys being set.
C:\Users\jenkins\Desktop\Sikuli>runsikulix.cmd -Dsikuli.Debug=3 -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 -Dsikuli.Debug=3 -r ".\WindowsLibrary\SFR_basic.sikuli"
[info] HotkeyManager: add Capture Hotkey: CTRL+SHIFT 2 (50, 3)
[info] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[error] Location: outside any screen (15319360, 15319360) - 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.ide.SikuliIDE.run(SikuliIDE.java:327)
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)
... 67 more
java.lang.ExceptionInInitializerError: java.lang.ExceptionInInitializerError
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.