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

SwingSet dismissing dialogs causes java.lang.IllegalMonitorStateException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.2.0
    • client-libs

      With SwingSet on Windows NT with JDK-1.2fcs, dismissing the Component Dialog after making some selections in the dialog causes the exceptions below.

      Steps to Reproduce:
      0) Launch SwingSet with one of the configurations above.
      1) Select the Component Dialog from the Dialogs menu.
      2) Make some changes in the dialog.
      3) Hit Option 4 button.
      RESULT: The following exceptions are thrown, and the integrity of the dialog the next time you bring it up might be ruined.

      Exception occurred during event dispatching:
      java.lang.IllegalMonitorStateException: current thread not owner
              at sun.awt.windows.WDialogPeer._show(Native Method)
              at sun.awt.windows.WDialogPeer.show(WDialogPeer.java:55)
              at java.awt.Dialog.show(Dialog.java:326)
              at com.sun.java.swing.JOptionPane.showOptionDialog(Compiled Code)
              at SwingSet$15.actionPerformed(SwingSet.java:1099)
              at com.sun.java.swing.AbstractButton.fireActionPerformed(Compiled Code)
              at com.sun.java.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1051)
              at com.sun.java.swing.DefaultButtonModel.fireActionPerformed(Compiled Code)
              at com.sun.java.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
              at com.sun.java.swing.AbstractButton.doClick(AbstractButton.java:206)
              at com.sun.java.swing.plaf.basic.BasicMenuItemUI$MenuDragMouseHandler.menuDragMouseReleased(BasicMenuItemUI.java:717)
              at com.sun.java.swing.JMenuItem.fireMenuDragMouseReleased(Compiled Code)
              at com.sun.java.swing.JMenuItem.processMenuDragMouseEvent(Compiled Code)
              at com.sun.java.swing.JMenuItem.processMouseEvent(Compiled Code)
              at com.sun.java.swing.MenuSelectionManager.processMouseEvent(Compiled Code)
              at com.sun.java.swing.plaf.basic.BasicMenuUI$MouseInputHandler.mouseReleased(BasicMenuUI.java:245)
              at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:227)
              at java.awt.Component.processMouseEvent(Compiled Code)
              at java.awt.Component.processEvent(Compiled Code)
              at java.awt.Container.processEvent(Compiled Code)
              at java.awt.Component.dispatchEventImpl(Compiled Code)
              at java.awt.Container.dispatchEventImpl(Compiled Code)
              at java.awt.Component.dispatchEvent(Compiled Code)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code)
              at java.awt.LightweightDispatcher.processMouseEvent(Compiled Code)
              at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
              at java.awt.Container.dispatchEventImpl(Compiled Code)
              at java.awt.Window.dispatchEventImpl(Compiled Code)
              at java.awt.Component.dispatchEvent(Compiled Code)
              at java.awt.EventQueue.dispatchEvent(Compiled Code)
              at java.awt.EventDispatchThread.run(Compiled Code)snicker:/home/nancys%

            Unassigned Unassigned
            nschorrsunw Nancy Schorr (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: