java.lang.NullPointerException: component argument pData

JDK Bug System | Aruna Samji | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    SunToolkit.setZOrder() throws java.lang.NullPointerException for the PIT build on RedHat Linux 7.2. This is regression from Mantis b09. Java version: java version "1.4.2-internal" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-internal-bchristi_05_dec_2002_13_39) Java HotSpot(TM) Client VM (build 1.4.2-beta-b09, mixed mode) Jdk Build location: /net/sqindia.india/export/disk02/awt/PITBUILDS/PIT-MANTIS-DEC-5 or /net/jano/export/disk26/awt/PIT-MANTIS-DEC-5/builds Steps to reproduce: 1. Compile and run the above program for PIT build. 2. Throws NullPointerException. ================================================================================ java.lang.NullPointerException at sun.java2d.SunGraphics2D.revalidateAll(SunGraphics2D.java:2086) at sun.java2d.SunGraphics2D.getCompClip(SunGraphics2D.java:439) at sun.java2d.SunGraphics2D.invalidateClip(SunGraphics2D.java:1640) at sun.java2d.SunGraphics2D.setClip(SunGraphics2D.java:1746) at sun.java2d.SunGraphics2D.setClip(SunGraphics2D.java:1737) at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4804) at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4748) at javax.swing.JComponent._paintImmediately(JComponent.java:4692) at javax.swing.JComponent.paintImmediately(JComponent.java:4495) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) at java.awt.EventQueue.dispatchEvent(EventQueue.java:449) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) ================================================================================ This exception is not thrown for Mantis b09.

    JDK Bug System | 1 decade ago | Aruna Samji
    java.lang.NullPointerException: component argument pData

    2 unregistered visitors

    Root Cause Analysis

    1. java.lang.NullPointerException

      component argument pData

      at sun.awt.windows.Win32Renderer.doFillRect()
    2. Java RT
      SunGraphics2D.fillRect
      1. sun.awt.windows.Win32Renderer.doFillRect(Native Method)
      2. sun.awt.windows.Win32Renderer.fillRect(Win32Renderer.java:135)
      3. sun.java2d.pipe.ValidatePipe.fillRect(ValidatePipe.java:46)
      4. sun.java2d.SunGraphics2D.fillRect(SunGraphics2D.java:2065)
      4 frames
    3. Unknown
      DisposedFrameGraphicsTest.main
      1. DisposedFrameGraphicsTest.main(DisposedFrameGraphicsTest.java:16)
      1 frame