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

Scrolling HTML viewer produces NPE from 2D code. ("N" build)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.2.0
    • client-libs
    • 2d
    • generic
    • generic

      We get an NPE when scrolling our JEditorPane.

      Happens with JDK1.2fcsN on Solaris
      Happens with M build on NT4.0
      Have not investigated on Solaris 2.6

      - eduardo

      Exception occurred during event dispatching:
      java.lang.NullPointerException
      at sun.java2d.loops.RasterOutputManager.copyArea(RasterOutputManager.java:575)
      at sun.java2d.SunGraphics2D.copyArea(SunGraphics2D.java:1514)
      at javax.swing.JViewport.paint(JViewport.java:366)
      at javax.swing.JComponent.paintChildren(JComponent.java:388)
      at javax.swing.JComponent.paint(JComponent.java:550)
      at javax.swing.JComponent.paintWithBuffer(JComponent.java:3510)
      at javax.swing.JComponent._paintImmediately(JComponent.java:3472)
      at javax.swing.JComponent.paintImmediately(JComponent.java:3356)
      at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:366)
      at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:185)
      at javax.swing.SystemEventQueueUtilities.processRunnableEvent(SystemEventQueueUtilities.java:354)
      at javax.swing.SystemEventQueueUtilities.access$0(SystemEventQueueUtilities.java:350)
      at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(SystemEventQueueUtilities.java:391)
      at java.awt.Component.dispatchEventImpl(Component.java:2376)
      at java.awt.Component.dispatchEvent(Component.java:2289)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:258)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)
      Exception occurred during event dispatching:
      java.lang.NullPointerException
      at sun.java2d.loops.RasterOutputManager.copyArea(RasterOutputManager.java:575)
      at sun.java2d.SunGraphics2D.copyArea(SunGraphics2D.java:1514)
      at javax.swing.JViewport.paint(JViewport.java:366)
      at javax.swing.JComponent.paintChildren(JComponent.java:388)
      at javax.swing.JComponent.paint(JComponent.java:550)
      at javax.swing.JComponent.paintWithBuffer(JComponent.java:3510)
      at javax.swing.JComponent._paintImmediately(JComponent.java:3472)
      at javax.swing.JComponent.paintImmediately(JComponent.java:3356)
      at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:366)
      at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:185)
      at javax.swing.SystemEventQueueUtilities.processRunnableEvent(SystemEventQueueUtilities.java:354)
      at javax.swing.SystemEventQueueUtilities.access$0(SystemEventQueueUtilities.java:350)
      at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(SystemEventQueueUtilities.java:391)
      at java.awt.Component.dispatchEventImpl(Component.java:2376)
      at java.awt.Component.dispatchEvent(Component.java:2289)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:258)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)

            Unassigned Unassigned
            epelegrisunw Eduardo Pelegrillopart (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: