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

NullPointerException thrown when resizing JInternalFrame

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.0_01
    • 1.2.2_006, 1.3.1
    • client-libs
    • 01
    • sparc
    • solaris_2.6, solaris_8

        To reproduce:
        -Bring up SwingSet2
        -resize the frame-creation JInternalFrame (the one with no decorations)
        -change the look and feel to the Motif Look & Feel
        -further attempts to resize the frame-creation frame result in the following (even if the L&F is changed back to Metal):
        Exception occurred during event dispatching:
        java.lang.NullPointerException
                at javax.swing.plaf.basic.BasicInternalFrameUI$BorderListener.mouseDragged(BasicInternalFrameUI.java:881)
                at java.awt.Component.processMouseMotionEvent(Component.java:3759)
                at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:2299)
                at java.awt.Component.processEvent(Component.java:3548)
                at java.awt.Container.processEvent(Container.java:1164)
                at java.awt.Component.dispatchEventImpl(Component.java:2593)
                at java.awt.Container.dispatchEventImpl(Container.java:1213)
                at java.awt.Component.dispatchEvent(Component.java:2497)
                at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
                at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2205)
                at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
                at java.awt.Container.dispatchEventImpl(Container.java:1200)
                at java.awt.Window.dispatchEventImpl(Window.java:912)
                at java.awt.Component.dispatchEvent(Component.java:2497)
                at java.awt.EventQueue.dispatchEvent(EventQueue.java:333)
                at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
                at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)

        I have reproduced this on Win2k and Sol/sparc 8 using ladybird, and not with kestrel.

        brent.christian@eng 2000-10-26

              joutwatesunw Joshua Outwater (Inactive)
              bchristi Brent Christian
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: