Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6667777

MouseInfo.getPointerInfo() call causes an assertion failure in windows fastdebug build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 7
    • client-libs
    • None
    • x86
    • windows_vista

      MouseInfo.getPointerInfo() call may lead to an assertion failure:

      *********************
      AWT Assertion Failure
      *********************
      ::GetCursorPos(&pt)
      File '../../../src/windows/native/sun/windows/MouseInfo.cpp', at line 87
      GetLastError() is 5 : Access is denied.

      Do you want to break into the debugger?
      *********************

      I was able to reproduce this failure during building the deployment workspace. The problem occurs only when the build machine is locked so this is just p4 bug.

      Below is the stack of the event dispatch thread that calls this getPointerInfo method.

      "AWT-EventQueue-0" prio=6 tid=0x040aa800 nid=0xb04 runnable [0x04f4e000..0x04f4fbc0]
         java.lang.Thread.State: RUNNABLE
      at sun.awt.DefaultMouseInfoPeer.fillPointWithCoords(Native Method)
      at java.awt.MouseInfo.getPointerInfo(Unknown Source)
      at com.sun.deploy.ui.UIFactory.getMouseScreenBounds(Unknown Source)
      at com.sun.deploy.ui.UIFactory.placeWindow(Unknown Source)
      at com.sun.deploy.ui.UIFactory$11.execute(Unknown Source)
      at com.sun.deploy.util.DeploySysRun.execute(Unknown Source)
      at com.sun.deploy.util.DeploySysRun$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.deploy.util.DeploySysRun.executePrivileged(Unknown Source)
      at com.sun.deploy.ui.UIFactory.showProgressDialog(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at sun.kernel.SwingMinTest$1.run(SwingMinTest.java:53)
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

            Unassigned Unassigned
            dcherepanov Dmitry Cherepanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: