MultiMonitor setup: might get NullPointerException depending on monitor SikuliX is starting
See original GitHub issueWhen starting the SikuliX IDE I get a NullPointerException. First I thought I had a problem with my environment, but I get the same error in an Ubuntu 18.04 and in my Windows 10 VM.
Exception in thread "main" java.lang.NullPointerException at org.sikuli.script.Location.getScreen(Location.java:255) at org.sikuli.script.Mouse.move(Mouse.java:401) at org.sikuli.script.Mouse.move(Mouse.java:382) at org.sikuli.script.Mouse.init(Mouse.java:65) at org.sikuli.script.Screen.initScreens(Screen.java:153) at org.sikuli.script.Screen.hasPoint(Screen.java:114) at org.sikuli.script.support.RunTime.hasPoint(RunTime.java:1033) at org.sikuli.ide.SikulixIDE.initSikuliIDE(SikulixIDE.java:265) at org.sikuli.ide.SikulixIDE.main(SikulixIDE.java:126)
Attached the full debug output for Linux and Windows.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top GitHub Comments
PR #211 solves this.
What sort of screen setup do you have on these environments?
It seems similar to: https://answers.launchpad.net/sikuli/+question/679301