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

JOptionPane hangs VM.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.1.4
    • 1.1.4
    • client-libs
    • 1.1.4
    • x86
    • windows_nt
    • Not verified

      The instantiation of the JOptionPane appears to hang the VM, problem
      demonstrated by TableExample2 in the Table demo area using JDK 1.1.4 on
      Windows NT.

      [aim 2/4/98]
      Here is the stack trace that Phil sent me:

      X-Priority: 3 (Normal)
      Content-Transfer-Encoding: 7bit

      Full thread dump:
          "Screen Updater" (TID:0xf84818, sys_thread_t:0x8d47e0,
      Win32ID:0x10c, state:
      CW) prio=4
              java.lang.Object.wait(Object.java:315)
              sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:78)
              sun.awt.ScreenUpdater.run(ScreenUpdater.java:98)
          "TimerQueue" (TID:0xf7c040, sys_thread_t:0x8bead0, Win32ID:0xec,
      state:CW) p
      rio=4
              com.sun.java.swing.TimerQueue.run(TimerQueue.java:242)
              java.lang.Thread.run(Thread.java:474)
          "AWT-Windows" (TID:0xf761a8, sys_thread_t:0x8b0380, Win32ID:0x91,
      state:S) p
      rio=5
              sun.awt.windows.WToolkit.run(WToolkit.java:106)
              java.lang.Thread.run(Thread.java:474)
          "AWT-EventQueue-0" (TID:0xf760f8, sys_thread_t:0x8b0290,
      Win32ID:0x10d, stat
      e:R) prio=5
              sun.awt.windows.WDialogPeer.hide(WDialogPeer.java:63)
              java.awt.Component.hide(Component.java:514)
              java.awt.Component.show(Component.java:500)
              java.awt.Component.setVisible(Component.java:460)
             
      com.sun.java.swing.JOptionPane$2.propertyChange(JOptionPane.java:673)
             
      java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSuppor
      t.java:103)
             
      com.sun.java.swing.JComponent.firePropertyChange(JComponent.java:2642)
              com.sun.java.swing.JOptionPane.setValue(JOptionPane.java:1343)
             
      com.sun.java.swing.basic.BasicOptionPaneUI.createdButtonFired(BasicOptio
      nPaneUI.java:375)
             
      com.sun.java.swing.basic.AbstractOptionPaneUI$2.actionPerformed(Abstract
      OptionPaneUI.java:265)
             
      com.sun.java.swing.AbstractButton.fireActionPerformed(AbstractButton.jav
      a:804)
             
      com.sun.java.swing.AbstractButton$ForwardActionEvents.actionPerformed(Ab
      stractButton.java:839)
             
      com.sun.java.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonM
      odel.java:338)
             
      com.sun.java.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java
      :230)
             
      com.sun.java.swing.JRootPane$DefaultAction.actionPerformed(JRootPane.jav
      a:321)
             
      com.sun.java.swing.JComponent.processKeyBinding(JComponent.java:1297)
             
      com.sun.java.swing.JComponent.processKeyBindings(JComponent.java:1324)
             
      com.sun.java.swing.JComponent.processKeyEvent(JComponent.java:1226)
             
      com.sun.java.swing.text.JTextComponent.processKeyEvent(JTextComponent.ja
      va:895)
              java.awt.Component.processEvent(Component.java:2138)
          "Finalizer thread" (TID:0xf700d0, sys_thread_t:0x8a2750,
      Win32ID:0xe1, state
      :CW) prio=2
          "main" (TID:0xf700a8, sys_thread_t:0x8a1340, Win32ID:0xef, state:CW)
      prio=5
              sun.awt.windows.WDialogPeer.show(WDialogPeer.java:55)
              java.awt.Dialog.show(Dialog.java:220)
             
      com.sun.java.swing.JOptionPane.showOptionDialog(JOptionPane.java:619)
              TableExample2.activateConnectionDialog(TableExample2.java:72)
              TableExample2.<init>(TableExample2.java:164)
              TableExample2.main(TableExample2.java:210)
      Monitor Cache Dump:
          java.lang.Object@F73B58/FC0760: owner (0x7ffdc000, 1 entry)
      Registered Monitor Dump:
          Thread queue lock: <unowned>
          Name and type hash table lock: <unowned>
          String intern lock: <unowned>
          JNI pinning lock: <unowned>
          JNI global reference lock: <unowned>
          BinClass lock: <unowned>
          Class loading lock: <unowned>
          Java stack lock: <unowned>
          Code rewrite lock: <unowned>
          Heap lock: <unowned>
          Has finalization queue lock: <unowned>
          Finalize me queue lock: <unowned>
              Waiters: 1
          Monitor registry: owner (0x7ffd8000, 1 entry)

            amfowler Anne Fowler (Inactive)
            sswingtrsunw Swingtraq Swingtraq (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: