sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #33150
[Bug 1418877] Re: [1.0.1] MultiMonitor: Java NPE when mouse is in other screen than the found match to be clicked
** Changed in: sikuli
Importance: High => Critical
** Summary changed:
- [1.0.1] MultiMonitor: Java NPE when mouse is in other screen than the found match to be clicked
+ [1.0.1] MultiMonitor: Java NPE when mouse is in other screen than the found match to be clicked --- fixed in 1.1.0
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1418877
Title:
[1.0.1] MultiMonitor: Java NPE when mouse is in other screen than the
found match to be clicked --- fixed in 1.1.0
Status in Sikuli:
Fix Committed
Bug description:
---- finding from related question comment #5
I found the reason. I am using Sikuli on the laptop with 2 displays. So when the script is running and the button is found, if the mouse is in another screen then the error happens; if the mouse is in the same screen with the button, then no problem.
-------------------------------------
Run with below script using sikuli on win7 SikuliX-1.0.1
Algo_reg=Region(x,y,w,h)
Algo_reg.click(Pattern("InspectionPlane.png").similar(0.80).targetOffset(300,0))
preview of the image could display, while system prompt the error
message to say [error] java.lang.NullPointerException (
java.lang.NullPointerException )
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1418877/+subscriptions
References