JDK-8017567 : [macosx] MouseInfo.getPointerInfo() may be null after robot.mouseMove(x,y) if x,y is on secondary screen
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7u6,8
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • OS: os_x
  • CPU: x86
  • Submitted: 2013-06-25
  • Updated: 2021-07-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
Create a multi-display configuration with common coordinate system and run the attached test. It creates a Robot using the second constructor, new Robot(gd), and moves mouse with that robot somewhere not so close to the north-west corner of the each screen in turn.
You will see in the printout that pointer info about the secondary screen is null.

Now, if you change the test and use another Robot constructor (without parameter), that info is correct every time.

I have OS X 10.8 and jdk 7u40 or 8 b95 but cannot say confidently it is a system-related issue.

RULE 2D_MultiMonitor/RobotMultiScreenTest Exception java.lang.NullPointerException
Comments
We've reviewed your bulk request (120 bugs) and are OK with deferring them to JDK 9. You can go ahead and update these to: - Set label to 8-defer-approved - FixVersion to 9 Thanks for doing a great job of summarizing the details for the bulk deferral for us! Kind regards, Mathias
19-09-2013

The criteria for deferral bulk request bugs: - Not P2 - Not tck-red or conformance labeled - Not regressions reported/labeled against jdk8 - Not findbugs, parfait, eht, fuzzing labeled - Not netbeans, licbug, cap, cap-8 labeled against jdk8
18-09-2013

The criteria for deferral bulk request bugs: - Not P2 - Not tck-red or conformance labeled - Not regressions reported/labeled against jdk8 - Not findbugs, parfait, eht, fuzzing labeled - Not netbeans, licbug, cap, cap-8 labeled against jdk8
18-09-2013

The criteria for deferral bulk request bugs: - Not P2 - Not tck-red or conformance labeled - Not regressions reported/labeled against jdk8 - Not findbugs, parfait, eht, fuzzing labeled - Not netbeans, licbug, cap, cap-8 labeled against jdk8
18-09-2013

The criteria for deferral bulk request bugs: - Not P2 - Not tck-red or conformance labeled - Not regressions reported/labeled against jdk8 - Not findbugs, parfait, eht, fuzzing labeled - Not netbeans, licbug, cap, cap-8 labeled against jdk8
18-09-2013

jdk8: SQE OK to defer I hope for 8-pool with this bug
18-09-2013

Yes, it can be reproduced on 7u6, actually Mouse doesn't move to expected position, it moved to an edge between screens. ������������������������������������������������������������ ���XXXXXXXXXXXXXXXXXX���} At this piece of the edge MouseInfo.getPointerInfo() = null ���XXXXXXXXXXXXXXXXXX������������������������������������������������ ���XXXXSecondaryXXXXXXX���XXXXXXXXXXXXXX��� ���XXXXXXXXXXXXXXXXXX���XXXXPrimaryXXXXX��� ���XXXXXXXXXXXXXXXXXX���XXXXXXXXXXXXXX��� ���������������������������������������������������������������������������������������������������������
18-07-2013

is it reproduced on 7u6?
27-06-2013