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

Drag and drop exception occurred during event dispatching

XMLWordPrintable

        JDK : JDK 1.3.1_20, 1.3.1_21
        Platform : Windows XP x86
        testbase : /net/vice.russia/export/home0/testsuites/1.3.1/dnd/

        This is not a regression since 1.3.1_20

        In drag and drop testsuite all tests passed but in stderr output i see this:

        java version "1.3.1_21"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_21-b01)
        Java HotSpot(TM) Client VM (build 1.3.1_21-b01, mixed mode)
        Note: Some input files use or override a deprecated API.
        Note: Recompile with -deprecation for details.
        Exception occurred during event dispatching:
        java.lang.NullPointerException
        at javax.swing.plaf.metal.MetalScrollBarUI.paintThumb(MetalScrollBarUI.java:240)
        at javax.swing.plaf.basic.BasicScrollBarUI.paint(BasicScrollBarUI.java:273)
        at javax.swing.plaf.ComponentUI.update(ComponentUI.java:34)
        at javax.swing.JComponent.paintComponent(JComponent.java:390)
        at javax.swing.JComponent.paint(JComponent.java:682)
        at javax.swing.JComponent.paintChildren(JComponent.java:493)
        at javax.swing.JComponent.paint(JComponent.java:691)
        at javax.swing.JComponent.paintChildren(JComponent.java:493)
        at javax.swing.JComponent.paint(JComponent.java:691)
        at javax.swing.JComponent.paintChildren(JComponent.java:493)
        at javax.swing.JComponent.paint(JComponent.java:691)
        at javax.swing.JComponent.paintChildren(JComponent.java:493)
        at javax.swing.JComponent.paint(JComponent.java:691)
        at javax.swing.JComponent.paintWithBuffer(JComponent.java:3873)
        at javax.swing.JComponent._paintImmediately(JComponent.java:3816)
        at javax.swing.JComponent.paintImmediately(JComponent.java:3667)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:370)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:119)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:149)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:332)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:126)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)
        [Target] drop
        [Target] Data flavors received:
           application/x-java-serialized-object; class=java.lang.String
           application/x-java-serialized-object; class=java.lang.String
           text/plain; class=java.io.InputStream
           text/plain; class=java.io.InputStream; charset=utf-16le
           text/plain; class=java.io.InputStream; charset=Unicode
           text/plain; class=java.io.InputStream; charset=us-ascii
           text/plain; class=java.io.InputStream; charset=ascii
           text/plain; class=java.io.InputStream; charset=iso8859-1
        [Target] Selected data flavor:
            application/x-java-serialized-object; class=java.lang.String
        [Target] drop
        [Target] Data flavors received:
           application/x-java-serialized-object; class=java.lang.String
           application/x-java-serialized-object; class=java.lang.String
           text/plain; class=java.io.InputStream
           text/plain; class=java.io.InputStream; charset=utf-16le
           text/plain; class=java.io.InputStream; charset=Unicode
           text/plain; class=java.io.InputStream; charset=us-ascii
           text/plain; class=java.io.InputStream; charset=ascii
           text/plain; class=java.io.InputStream; charset=iso8859-1
        [Target] Selected data flavor:
            application/x-java-serialized-object; class=java.lang.String
        [Target] drop
        [Target] Data flavors received:
           application/x-java-serialized-object; class=java.lang.String
           application/x-java-serialized-object; class=java.lang.String
           text/plain; class=java.io.InputStream
           text/plain; class=java.io.InputStream; charset=utf-16le
           text/plain; class=java.io.InputStream; charset=Unicode
           text/plain; class=java.io.InputStream; charset=us-ascii
           text/plain; class=java.io.InputStream; charset=ascii
           text/plain; class=java.io.InputStream; charset=iso8859-1
        [Target] Selected data flavor:
            application/x-java-serialized-object; class=java.lang.String
        [Target] drop
        [Target] Data flavors received:
           application/x-java-serialized-object; class=java.lang.String
           application/x-java-serialized-object; class=java.lang.String
           text/plain; class=java.io.InputStream
           text/plain; class=java.io.InputStream; charset=utf-16le
           text/plain; class=java.io.InputStream; charset=Unicode
           text/plain; class=java.io.InputStream; charset=us-ascii
           text/plain; class=java.io.InputStream; charset=ascii
           text/plain; class=java.io.InputStream; charset=iso8859-1
        [Target] Selected data flavor:
            application/x-java-serialized-object; class=java.lang.String
        Exception occurred during event dispatching:
        java.lang.NullPointerException
        at javax.swing.plaf.metal.MetalScrollBarUI.paintThumb(MetalScrollBarUI.java:240)
        at javax.swing.plaf.basic.BasicScrollBarUI.paint(BasicScrollBarUI.java:273)
        at javax.swing.plaf.ComponentUI.update(ComponentUI.java:34)
        at javax.swing.JComponent.paintComponent(JComponent.java:390)
        at javax.swing.JComponent.paint(JComponent.java:682)
        at javax.swing.JComponent.paintChildren(JComponent.java:493)
        at javax.swing.JComponent.paint(JComponent.java:691)
        at javax.swing.JComponent.paintChildren(JComponent.java:493)
        at javax.swing.JComponent.paint(JComponent.java:691)
        at javax.swing.JComponent.paintChildren(JComponent.java:493)
        at javax.swing.JComponent.paint(JComponent.java:691)
        at javax.swing.JComponent.paintChildren(JComponent.java:493)
        at javax.swing.JComponent.paint(JComponent.java:691)
        at javax.swing.JComponent.paintWithBuffer(JComponent.java:3873)
        at javax.swing.JComponent._paintImmediately(JComponent.java:3816)
        at javax.swing.JComponent.paintImmediately(JComponent.java:3667)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:370)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:119)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:149)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:332)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:126)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)
        [Target] drop
        [Target] Data flavors received:
           application/x-java-serialized-object; class=java.lang.String
           application/x-java-serialized-object; class=java.lang.String
           text/plain; class=java.io.InputStream
           text/plain; class=java.io.InputStream; charset=utf-16le
           text/plain; class=java.io.InputStream; charset=Unicode
           text/plain; class=java.io.InputStream; charset=us-ascii
           text/plain; class=java.io.InputStream; charset=ascii
           text/plain; class=java.io.InputStream; charset=iso8859-1
        [Target] Selected data flavor:
            application/x-java-serialized-object; class=java.lang.String
        [Target] drop
        [Target] Data flavors received:
           application/x-java-serialized-object; class=java.lang.String
           application/x-java-serialized-object; class=java.lang.String
           text/plain; class=java.io.InputStream
           text/plain; class=java.io.InputStream; charset=utf-16le
           text/plain; class=java.io.InputStream; charset=Unicode
           text/plain; class=java.io.InputStream; charset=us-ascii
           text/plain; class=java.io.InputStream; charset=ascii
           text/plain; class=java.io.InputStream; charset=iso8859-1
        [Target] Selected data flavor:
            application/x-java-serialized-object; class=java.lang.String
        Exception occurred during event dispatching:
        java.lang.NullPointerException
        at javax.swing.plaf.metal.MetalScrollBarUI.paintThumb(MetalScrollBarUI.java:240)
        at javax.swing.plaf.basic.BasicScrollBarUI.paint(BasicScrollBarUI.java:273)
        at javax.swing.plaf.ComponentUI.update(ComponentUI.java:34)
        at javax.swing.JComponent.paintComponent(JComponent.java:390)
        at javax.swing.JComponent.paint(JComponent.java:682)
        at javax.swing.JComponent.paintChildren(JComponent.java:493)
        at javax.swing.JComponent.paint(JComponent.java:691)
        at javax.swing.JComponent.paintChildren(JComponent.java:493)
        at javax.swing.JComponent.paint(JComponent.java:691)
        at javax.swing.JComponent.paintChildren(JComponent.java:493)
        at javax.swing.JComponent.paint(JComponent.java:691)
        at javax.swing.JComponent.paintChildren(JComponent.java:493)
        at javax.swing.JComponent.paint(JComponent.java:691)
        at javax.swing.JComponent.paintWithBuffer(JComponent.java:3873)
        at javax.swing.JComponent._paintImmediately(JComponent.java:3816)
        at javax.swing.JComponent.paintImmediately(JComponent.java:3667)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:370)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:119)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:149)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:332)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:126)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)
        [Target] drop

              alexp Alexander Potochkin (Inactive)
              serb Sergey Bylokhov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: