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

merlinb50, when menu is selected, pulled down menu won't disappear, thrown excep

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      solaris_8

      Description

      merlin b49, b50: ar/en, solaris8/solarisIA8

      when start to run jRadioButtonMenuItem.java (attached), after the menu is pulled
      down and selected, the menu won't disappear. Exceptions are thrown.

      ----------------------------------------
      /usr/local/java/jdk1.4/solx86/bin/appletviewer jRadioButtonMenuItem.html
      java.lang.NullPointerException
              at javax.swing.text.FlowView.calculateMinorAxisRequirements(FlowView.java:208
              at javax.swing.text.BoxView.checkRequests(BoxView.java:908)
              at javax.swing.text.BoxView.getMinimumSpan(BoxView.java:539)
              at javax.swing.text.BoxView.calculateMinorAxisRequirements(BoxView.java:876)
              at javax.swing.text.BoxView.checkRequests(BoxView.java:908)
              at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:321)
              at javax.swing.text.BoxView.layout(BoxView.java:679)
              at javax.swing.text.BoxView.setSize(BoxView.java:375)
              at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(BasicTextUI.java:1513)
              at javax.swing.plaf.basic.BasicTextUI.viewToModel(BasicTextUI.java:903)
              at javax.swing.text.DefaultCaret.positionCaret(DefaultCaret.java:214)
              at javax.swing.text.DefaultCaret.adjustCaretAndFocus(DefaultCaret.java:327)
              at javax.swing.text.DefaultCaret.mouseClicked(DefaultCaret.java:287)
              at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:211)
              at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:210)
              at java.awt.Component.processMouseEvent(Component.java:4865)
              at java.awt.Component.processEvent(Component.java:4688)
              at java.awt.Container.processEvent(Container.java:1299)
              at java.awt.Component.dispatchEventImpl(Component.java:3460)
              at java.awt.Container.dispatchEventImpl(Container.java:1361)
              at java.awt.Component.dispatchEvent(Component.java:3327)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3175)
              at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2899)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2845)
              at java.awt.Container.dispatchEventImpl(Container.java:1335)
              at java.awt.Window.dispatchEventImpl(Window.java:1338)
              at java.awt.Component.dispatchEvent(Component.java:3327)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:140)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:121)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

        Attachments

          Activity

            People

            • Assignee:
              naoto Naoto Sato
              Reporter:
              lzhanorcl Lichun Zhan (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: