[1.0.1] MultiMonitor: Java NPE when mouse is in other screen than the found match to be clicked --- fixed in 1.1.0

Bug #1418877 reported by RaiMan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Fix Committed
Critical
RaiMan

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 )

RaiMan (raimund-hocke)
description: updated
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.0
RaiMan (raimund-hocke)
Changed in sikuli:
importance: High → Critical
summary: [1.0.1] MultiMonitor: Java NPE when mouse is in other screen than the
- found match to be clicked
+ found match to be clicked --- fixed in 1.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.