← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #681359]: Sikulix.jar is not starting

 

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

Petra Horner posted a new comment:
 C:\SikuliX\1_4> java -jar C:/SikuliX/1_4/sikulix.jar -v -c
[DEBUG] IDE: starting
[DEBUG] IDE: no extensions.txt nor valid content
[DEBUG] IDE: adding extension: C:\Users\petrah\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[DEBUG] IDE: Running: C:\SikuliX\1_4\sikulix.jar
[DEBUG] IDE: AppData: C:\Users\petrah\AppData\Roaming\Sikulix
[DEBUG] IDE: Classpath: C:\SikuliX\1_4\sikulix.jar;C:\Users\petrah\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[DEBUG] IDE: no extensions.txt nor valid content
[95 debug] init user preferences
[97 debug] IDE: running with Locale: de_AT
[DEBUG] IDE: --- Sikuli parameters ---
[DEBUG] IDE: 1: -v
[DEBUG] IDE: 2: -c
[103 debug] HotkeyManager: add Capture Hotkey: STRG+UMSCHALT 2 (50, 3)
[555 debug] HotkeyManager: add Abort Hotkey: ALT+UMSCHALT C (67, 9)
[556 debug] IDE: Init ScriptingSupport
[559 debug] IDESupport: enter
[1601 debug] Runner: added: PowerShell [ps1] text/powershell
[1602 debug] Runner: added: Text [txt] text/text
[1603 debug] Runner: added: Sikulix [sikuli, skl, jar] directory/sikulix
[1615 debug] Runner: added: Jython [py, $py.class] text/jython
[1616 debug] Runner: added: Robot [robot] text/robot
[1884 debug] Runner: added: JavaScript [js] text/javascript
[1884 debug] IDESupport: added: Jython
[1884 debug] IDESupport: added: JavaScript
[1884 debug] IDESupport: added: Text
[1885 debug] IDESupport: exit: defaultrunner: Jython (py)
[1886 debug] IDE: Reading Preferences
[1890 debug] Screen: initScreens: starting
[1890 debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment()
[1891 debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()
[1891 debug] Screen: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[1891 debug] Screen: Monitor 0: (0, 0) 1920 x 1080
[1891 debug] Screen: Monitor 1: (-1920, 0) 1920 x 1080
[1893 debug] Mouse: init start
[2398 debug] Mouse: init end
[2398 debug] Screen: initScreens: multi monitor mouse check
[error] RobotDesktop: checkMousePosition: should be L[960,540]@S(0)
but after move is L[961,540]@S(0)
Possible cause in case you did not touch the mouse while script was running:
 Mouse actions are blocked generally or by the frontmost application.
You might try to run the SikuliX stuff as admin.
[2400 debug] Screen: *** multimonitor click check: R[0,0 1920x1080]@S(0) center: (960, 540) --- NOT OK:  (961, 540)
[2401 debug] Screen: *** checking: R[-1920,0 1920x1080]@S(1) center: (-960, 540) --- OK
[2402 debug] Screen: initScreens: ending
[2402 debug] IDE: Adding components to window
[2410 debug] IDE: [I18N] menuRecent
[2422 debug] IDE: [I18N] menuToolAndroid
[2425 debug] IDE: creating tabbed editor
[2500 debug] IDE: creating message area
[2544 debug] IDE: creating combined work window
[2547 debug] IDE: Putting all together
[2548 debug] IDE: Putting all together - after main pane
[2611 debug] IDE: Putting all together - after toolbar
[2613 debug] IDE: Putting all together - before layout
[2678 debug] IDE: Putting all together - after layout
[2679 debug] IDE: Putting all together - Restore last Session
[2680 debug] IDE: Restore scripts from last session
[2681 debug] IDE: Restore Sikuli script: C:\SikuliX\Scripts\functions5.sikuli
[2690 debug] EditorPane: created 1560334605491
[2700 debug] EditorPane: loadfile: C:\SikuliX\Scripts\functions5.sikuli
[2701 debug] JythonRunner: starting initialization
[2721 debug] EditorPane: InitTab: (text/jython)
[2738 debug] SikuliEditorKit.read
[2752 debug] EditorPane: setFiles: for: C:\SikuliX\Scripts\functions5.sikuli
[2757 debug] ImagePath: new BundlePath: C:\SikuliX\Scripts\functions5.sikuli
[2759 debug] EditorPane: checkSource: started (C:\SikuliX\Scripts\functions5.sikuli\functions5.py)
[2850 debug] Image: loaded: functions5_025428_001.png (file:C:\SikuliX\Scripts\functions5.sikuli\functions5_025428_001.png)
[2851 debug] Image: cached: functions5_025428_001.png (33 KB) (# 1 KB 33 -- 0 % of 64 MB)
[2861 debug] Image: reused: functions5_025428_001.png (file:C:\SikuliX\Scripts\functions5.sikuli\functions5_025428_001.png)
[2865 debug] IDE: Restore Sikuli script: C:\SikuliX\Scripts\functions6.sikuli
[2871 debug] EditorPane: created 1560334605672
[2876 debug] EditorPane: loadfile: C:\SikuliX\Scripts\functions6.sikuli
[2882 debug] EditorPane: InitTab: (text/jython)
[2883 debug] SikuliEditorKit.read
[2890 debug] EditorPane: setFiles: for: C:\SikuliX\Scripts\functions6.sikuli
[2890 debug] ImagePath: new BundlePath: C:\SikuliX\Scripts\functions6.sikuli
[2891 debug] EditorPane: checkSource: started (C:\SikuliX\Scripts\functions6.sikuli\functions6.py)
[error] Region(1932,10,1900,1061) outside any screen - subsequent actions might not work as expected
Exception in thread "main" java.lang.NullPointerException
        at org.sikuli.ide.EditorRegionButton.getRegionImage(EditorRegionButton.java:70)
        at org.sikuli.ide.EditorRegionButton.<init>(EditorRegionButton.java:31)
        at org.sikuli.ide.EditorRegionButton.createFromString(EditorRegionButton.java:103)
        at org.sikuli.ide.EditorPane.replaceWithImage(EditorPane.java:894)
        at org.sikuli.ide.EditorPane.parseLine(EditorPane.java:867)
        at org.sikuli.ide.EditorPane.parseRange(EditorPane.java:847)
        at org.sikuli.ide.EditorPane.parse(EditorPane.java:798)
        at org.sikuli.ide.EditorPane.parse(EditorPane.java:800)
        at org.sikuli.ide.EditorPane.doParse(EditorPane.java:785)
        at org.sikuli.ide.EditorPane.loadFile(EditorPane.java:228)
        at org.sikuli.ide.SikulixIDE.restoreScriptFromSession(SikulixIDE.java:572)
        at org.sikuli.ide.SikulixIDE.restoreSession(SikulixIDE.java:539)
        at org.sikuli.ide.SikulixIDE.initSikuliIDE(SikulixIDE.java:293)
        at org.sikuli.ide.SikulixIDE.main(SikulixIDE.java:90)
[5410 debug] RunTimeAPI: resourceLocation: (class org.sikuli.script.support.RunTime) /Lib/sikuli
[5411 debug] RunTimeAPI: resourceList: having jar: jar:file:/C:/SikuliX/1_4/sikulix.jar!/Lib/sikuli
[7150 debug] RunTimeAPI: files exported: 7 from: Lib/sikuli to:
 C:\Users\petrah\AppData\Roaming\Sikulix\Lib\sikuli
[7153 debug] Jython: added as Jython::sys.path[0]:
C:\Users\petrah\AppData\Roaming\Sikulix\Lib\site-packages
[7164 debug] Jython: ***** sys.path
 0: C:\SikuliX\Scripts\functions6.sikuli
 1: C:\Users\petrah\AppData\Roaming\Sikulix\Lib\site-packages
 2: C:\Users\petrah\AppData\Roaming\Sikulix\Lib
 3: C:\Users\petrah\AppData\Roaming\Sikulix\Extensions\Lib
 4: C:\Users\petrah\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar\Lib
[7207 debug] JythonRunner: ready: version 2.7.1

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.