java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Re: Rose Import
    via by vherbst,
  • 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.
    via by Aruna Samji,
    • java.lang.NullPointerException: component argument pData at sun.awt.windows.Win32Renderer.doFillRect(Native Method) at sun.awt.windows.Win32Renderer.fillRect(Win32Renderer.java:135) at sun.java2d.SunGraphics2D.fillRect(SunGraphics2D.java:2066) at sun.java2d.SunGraphics2D.clearRect(SunGraphics2D.java:2111) at sun.awt.RepaintArea.paint(RepaintArea.java:172) at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:260)
    No Bugmate found.