Thanks, Jason!
I have reopened this CR and attached your test/evaluation. I haven't
tried to reproduce the bug as I don't have the proper environment.
Artem
On 6/8/2011 12:20 AM, Jason Mehrens wrote:
Hello awt-dev,
Bug 6840067 has been marked as Closed-Not Reproducible and I would like
to get the issue reopened. Attached is a test case that explains "The
when and why the PointerInfo becomes null." The test case is a modified
copy of the MouseInfo.getPointerInfo. To reproduce the error you need a
workstation with multiple displays that are dependent. In my case a
windows vista machine with 2 monitors. Run the test case and then lock
the desktop of the workstation. When you log back in to the machine the
test fails because the mouse point is not contained in any of the
graphics configurations. This causes the PointerInfo to be null, and
Component.getMousePosition does not handle this case.
Jason