java.lang.NullPointerException

JDK Bug System | Aruna Samji | 1 decade ago
  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
  2. 0

    Android Mode issue with Windows 8 64bit

    GitHub | 3 years ago | mlovato
    java.lang.NullPointerException
  3. 0

    Performance Regression over X11

    GitHub | 3 years ago | jimhester
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    error in setModel builder

    Stack Overflow | 3 years ago | galeonweb
    java.lang.NullPointerException
  6. 0

    Java swing multiple JTables one ColumnModel

    Stack Overflow | 3 years ago | Quillion
    java.lang.NullPointerException

  1. bpbhat77 115 times, last 7 months ago
7 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
    EventDispatchThread.run
    1. sun.java2d.SunGraphics2D.revalidateAll(SunGraphics2D.java:2086)
    2. sun.java2d.SunGraphics2D.getCompClip(SunGraphics2D.java:439)
    3. sun.java2d.SunGraphics2D.invalidateClip(SunGraphics2D.java:1640)
    4. sun.java2d.SunGraphics2D.setClip(SunGraphics2D.java:1746)
    5. sun.java2d.SunGraphics2D.setClip(SunGraphics2D.java:1737)
    6. javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4804)
    7. javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4748)
    8. javax.swing.JComponent._paintImmediately(JComponent.java:4692)
    9. javax.swing.JComponent.paintImmediately(JComponent.java:4495)
    10. javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
    11. javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
    12. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    13. java.awt.EventQueue.dispatchEvent(EventQueue.java:449)
    14. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    15. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    16. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    17. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    18. java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    18 frames