Open D474designs opened 2 months ago
I got it back up, and running, on JDK 22; SikuliX seems to have a problem when running ONLY on a secondary monitor, this problem seems to exacerbate when using applications in full screen, and changing the screen setup.
I will update if I find out more on the specific problem, the only thing I could extrapolate from logs, was, the monitor setup was causing a hang up:
C:\Users\HP\OneDrive\Documents\Sikulix>java -jar sikulixidewin-2.0.6-20230417.153928-17.jar -v -c
[SXLOG 4.904] [debug] IDE starting
[SXLOG 5.039] [debug] IDE: IDE window reset to primary monitor - was (3832,-8 1616x886)
[SXLOG 8.321] [debug] JythonRunner: starting initialization
[SXLOG 8.324] [debug] IDE: starting GUI
[SXLOG 8.326] [debug] HotkeyManager: add Capture Hotkey: CTRL+SHIFT 2 (50, 192)
[SXLOG 8.413] [debug] IDE: Capture HotKey installed
[SXLOG 8.414] [debug] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 576)
[SXLOG 8.415] [debug] IDE: Stop HotKey installed
[SXLOG 8.825] [debug] IDE: Restore scripts from last session
[SXLOG 8.838] [debug] EditorPane: created 1723550685321
[SXLOG 8.853] [debug] EditorPane: loadfile: C:\Users\HP\OneDrive\Documents\Sikulix\AMFYTL.sikuli
[SXLOG 8.889] [debug] EditorPane: InitTab: (text/jython)
[SXLOG 8.900] [debug] ImagePath: new BundlePath: C:\Users\HP\OneDrive\Documents\Sikulix\AMFYTL.sikuli
[SXLOG 8.901] [debug] EditorPane: setFiles: for: C:\Users\HP\OneDrive\Documents\Sikulix\AMFYTL.sikuli
[SXLOG 8.922] [error] Region(4385,523,510,344) outside any screen - actions might not work
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "org.sikuli.script.support.IScreen.capture()" because "_screen" is null
at org.sikuli.ide.EditorRegionButton.getRegionImage(EditorRegionButton.java:77)
at org.sikuli.ide.EditorRegionButton.
After this point, SikuliX will not load any further, the loading screen stays up, and no further information is thrown.
These two lines might be the only clue as to the issue I was able to resolve, by changing my screen configuration via Windows' Project Mode: [SXLOG 8.922] [error] Region(4385,523,510,344) outside any screen - actions might not work Exception in thread "main" java.lang.NullPointerException: Cannot invoke "org.sikuli.script.support.IScreen.capture()" because "_screen" is null
I have been using SikuliX for a long time now; Recently I opened SikuliX, and it would not get passed the loading screen.
I have tried every Java SDK build, including 21, 22, 17, 11, and 8; I have redownloaded SikuliX 2.0.5, and 2.0.6.
I have never had a problem before.
The last time I opened it, it ran for a little, and stopped working after the first action. I was also getting the "mouse... blocked" error, which I had not been getting beforehand.
Any help would be appreciated!