question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MultiMonitor setup: might get NullPointerException depending on monitor SikuliX is starting

See original GitHub issue

When 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:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
balmmacommented, Oct 18, 2019

PR #211 solves this.

1reaction
jsa34commented, Aug 21, 2019

What sort of screen setup do you have on these environments?

It seems similar to: https://answers.launchpad.net/sikuli/+question/679301

Read more comments on GitHub >

github_iconTop Results From Across the Web

[1.1.4] Windows: multi-monitor environment: SikuliX behaviour ...
I have four monitors. If I initiate Sikuli from monitor 1, everything works. If I initiate Sikuli from any of the other monitors,...
Read more >
Jenkins throws FindFailed: exception Sikuli - Stack Overflow
SikuliX cannot find your pattern on the Screen during 3 seconds (default value, Settings.AutoWaitTimeout ) and throws FindFailed exception.
Read more >
Screen — SikuliX 2.x+ documentation
In Multi Monitor Environments this is the primary monitor (use the constant reference SCREEN, to access it all the time), that normally is ......
Read more >
sikuli-api - Google Code
ID Status Summary 86 New bug with drop action Type‑Defect Priority‑Medium 60 New Finger interface Type‑Defect Priority‑Medium 46 New No published JavaDoc Type‑Defect Priority‑Medium
Read more >
[sikuli] annotated tag debian/1.0.1-1 created (now 95ea26f)
added Maven support started: extract the META-INF/libs folder from the jar to the ... so it can be used by all Sikuli features,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found