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

Attempting to display modal dialog causes app to hang

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4_fcs, 1.4.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86, sparc
    • OS:
      solaris_8, windows_2000

      Description

      *** This was the original description of how to reproduce
          using Forte For Java, Enterprise Edition

      Create a Session EJB
      Open Add Bus Method dialog.
      Click on Add button to enter a new parameter: Enter Method Parameter shows up. Enter the wrong name for parameter (for example: "111whatever"
      Click Esc button to get rid of dialog box: IDE hangs.
      If you click on Cancel button instead, the dialog closes normally

      ****

      To reproduce, compile the attached program and run it.
      On the main frame, select the "Display Dialog" button
      On the dialog titled "The First Dialog", select the
        "Display Dialog" button.
      On the dialog titled "The Second Dialog", just hit the ESC key.

      A small "Error" dialog will get displayed. Sometimes it won't
      be completely painted. Sometimes it will be, but you can't
      select the button or dismiss the window. Basically at this
      point, you're stuck.

      Here's the thread dump at this point:

      Full thread dump Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode):

      "TimerQueue" daemon prio=5 tid=0x1ad5e8 nid=0xf waiting on monitor [f1301000..f13019c8]
      at java.lang.Object.wait(Native Method)
      - waiting on <f20de0b8> (a javax.swing.TimerQueue)
      at javax.swing.TimerQueue.run(TimerQueue.java:231)
      - locked <f20de0b8> (a javax.swing.TimerQueue)
      at java.lang.Thread.run(Thread.java:536)

      "Thread-3" prio=5 tid=0x2b6e8 nid=0x1 waiting on monitor [0..ffbee598]

      "AWT-EventQueue-0" prio=6 tid=0x253a10 nid=0xe waiting on monitor [f13ff000..f14019c8]
      at java.lang.Object.wait(Native Method)
      - waiting on <f20211f8> (a java.awt.EventQueue)
      at java.lang.Object.wait(Object.java:426)
      at java.awt.EventQueue.getNextEvent(EventQueue.java:361)
      - locked <f20211f8> (a java.awt.EventQueue)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:155)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      at java.awt.SequencedEvent.dispatch(SequencedEvent.java:72)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:134)
      at java.awt.Dialog.show(Dialog.java:524)
      at java.awt.Component.show(Component.java:1128)
      at java.awt.Component.setVisible(Component.java:1083)
      at DlgBug$4.verify(DlgBug.java:73)
      at javax.swing.InputVerifier.shouldYieldFocus(InputVerifier.java:114)
      at javax.swing.JComponent.runInputVerifier(JComponent.java:1095)
      at javax.swing.JComponent.requestFocusInWindow(JComponent.java:1132)
      at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:281)
      at java.awt.Component.dispatchEventImpl(Component.java:3396)
      at java.awt.Container.dispatchEventImpl(Container.java:1437)
      at java.awt.Window.dispatchEventImpl(Window.java:1566)
      at java.awt.Component.dispatchEvent(Component.java:3367)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
      at java.awt.SequencedEvent.dispatch(SequencedEvent.java:105)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:134)
      at java.awt.Dialog.show(Dialog.java:524)
      at java.awt.Component.show(Component.java:1128)
      at java.awt.Component.setVisible(Component.java:1083)
      at DlgBug.displayFirstDialog(DlgBug.java:40)
      at DlgBug$8.actionPerformed(DlgBug.java:116)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
      at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
      at java.awt.Component.processMouseEvent(Component.java:5021)
      at java.awt.Component.processEvent(Component.java:4818)
      at java.awt.Container.processEvent(Container.java:1380)
      at java.awt.Component.dispatchEventImpl(Component.java:3526)
      at java.awt.Container.dispatchEventImpl(Container.java:1437)
      at java.awt.Component.dispatchEvent(Component.java:3367)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
      at java.awt.Container.dispatchEventImpl(Container.java:1423)
      at java.awt.Window.dispatchEventImpl(Window.java:1566)
      at java.awt.Component.dispatchEvent(Component.java:3367)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

      "Thread-1" daemon prio=5 tid=0x21a578 nid=0xd waiting on monitor [f1501000..f15019c8]
      at java.lang.Object.wait(Native Method)
      - waiting on <f208a808> (a java.util.TaskQueue)
      at java.util.TimerThread.mainLoop(Timer.java:429)
      - locked <f208a808> (a java.util.TaskQueue)
      at java.util.TimerThread.run(Timer.java:382)

      "AWT-Motif" daemon prio=6 tid=0x20d218 nid=0xc runnable [f1601000..f16019c8]
      at sun.awt.motif.MToolkit.run(Native Method)
      at java.lang.Thread.run(Thread.java:536)

      "AWT-Shutdown" prio=5 tid=0x1eec68 nid=0xb waiting on monitor [f1701000..f17019c8]
      at java.lang.Object.wait(Native Method)
      - waiting on <f2216880> (a java.lang.Object)
      at java.lang.Object.wait(Object.java:426)
      at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
      - locked <f2216880> (a java.lang.Object)
      at java.lang.Thread.run(Thread.java:536)

      "Signal Dispatcher" daemon prio=10 tid=0xa5b40 nid=0x9 runnable [0..0]

      "Finalizer" daemon prio=8 tid=0xa10b0 nid=0x6 waiting on monitor [fa381000..fa3819c8]
      at java.lang.Object.wait(Native Method)
      - waiting on <f2210138> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
      - locked <f2210138> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
      at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

      "Reference Handler" daemon prio=10 tid=0xa06b8 nid=0x5 waiting on monitor [fdf81000..fdf819c8]
      at java.lang.Object.wait(Native Method)
      - waiting on <f22101a0> (a java.lang.ref.Reference$Lock)
      at java.lang.Object.wait(Object.java:426)
      at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:113)
      - locked <f22101a0> (a java.lang.ref.Reference$Lock)

      "VM Thread" prio=5 tid=0x9f370 nid=0x4 runnable

      "VM Periodic Task Thread" prio=10 tid=0xa4880 nid=0x7 waiting on monitor
      "Suspend Checker Thread" prio=10 tid=0xa51e0 nid=0x8 runnable


        Attachments

          Activity

            People

            • Assignee:
              son Oleg Sukhodolsky (Inactive)
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: