JDK Bug System | Aruna Samji | 1 decade ago
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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( at sun.java2d.SunGraphics2D.getCompClip( at sun.java2d.SunGraphics2D.invalidateClip( at sun.java2d.SunGraphics2D.setClip( at sun.java2d.SunGraphics2D.setClip( at javax.swing.JComponent.paintWithOffscreenBuffer( at javax.swing.JComponent.paintDoubleBuffered( at javax.swing.JComponent._paintImmediately( at javax.swing.JComponent.paintImmediately( at javax.swing.RepaintManager.paintDirtyRegions( at javax.swing.SystemEventQueueUtilities$ at java.awt.event.InvocationEvent.dispatch( at java.awt.EventQueue.dispatchEvent( at java.awt.EventDispatchThread.pumpOneEventForHierarchy( at java.awt.EventDispatchThread.pumpEventsForHierarchy( at java.awt.EventDispatchThread.pumpEvents( at java.awt.EventDispatchThread.pumpEvents( at ================================================================================ This exception is not thrown for Mantis b09.

    JDK Bug System | 1 decade ago | Aruna Samji
  2. 0

    NullPointerException without referencing any object

    Stack Overflow | 4 years ago | tejoe
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Why can't you call initCause with an ExceptionInInitializerError?

    Stack Overflow | 3 years ago | aliteralmind
    java.lang.NullPointerException: null!
  5. 0

    Why am I getting NullPointerException when running this code?

    Stack Overflow | 3 years ago

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at sun.java2d.SunGraphics2D.revalidateAll()
    2. Java RT
      1. sun.java2d.SunGraphics2D.revalidateAll(
      2. sun.java2d.SunGraphics2D.getCompClip(
      3. sun.awt.X11Renderer.fillRect(
      4. sun.java2d.pipe.ValidatePipe.fillRect(
      5. sun.java2d.SunGraphics2D.fillRect(
      5 frames
    3. Unknown
      1. Test.main(
      1 frame