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

exception thrown from RescaleOp.filter(bimg, bimg)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 7
    • 7
    • client-libs
    • 2d
    • 7
    • b08
    • generic
    • generic
    • Verified

      The following exception is thrown from Java2Demo when you select "RescaleOp" from
      the tab in the Images/ImageOps demo.

      Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
              at sun.awt.image.SunWritableRaster.markDirty(SunWritableRaster.java:72)
              at sun.awt.image.ImagingLib.filter(ImagingLib.java:158)
              at java.awt.image.RescaleOp.filter(RescaleOp.java:482)
              at java.awt.image.RescaleOp.filter(RescaleOp.java:415)
              at java2d.demos.Images.ImageOps.render(ImageOps.java:146)
              at java2d.Surface.paint(Surface.java:361)
              at javax.swing.JComponent.paintChildren(JComponent.java:860)
              at javax.swing.JComponent.paint(JComponent.java:1032)
              at javax.swing.JComponent.paintChildren(JComponent.java:860)
              at javax.swing.JComponent.paint(JComponent.java:1032)
              at javax.swing.JComponent.paintChildren(JComponent.java:860)
              at javax.swing.JComponent.paint(JComponent.java:1032)
              at javax.swing.JComponent.paintChildren(JComponent.java:860)
              at javax.swing.JComponent.paint(JComponent.java:1032)
              at javax.swing.JComponent.paintChildren(JComponent.java:860)
              at javax.swing.JComponent.paint(JComponent.java:1032)
              at javax.swing.JComponent.paintChildren(JComponent.java:860)
              at javax.swing.JComponent.paint(JComponent.java:1032)
              at javax.swing.JComponent.paintChildren(JComponent.java:860)
              at javax.swing.JComponent.paint(JComponent.java:1032)
              at javax.swing.JComponent.paintChildren(JComponent.java:860)
              at javax.swing.JComponent.paint(JComponent.java:1032)
              at javax.swing.JLayeredPane.paint(JLayeredPane.java:564)
              at javax.swing.JComponent.paintChildren(JComponent.java:860)
              at javax.swing.JComponent.paint(JComponent.java:1032)
              at javax.swing.JComponent.paintToOffscreen(JComponent.java:5117)
              at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:285)
              at javax.swing.RepaintManager.paint(RepaintManager.java:1128)
              at javax.swing.JComponent._paintImmediately(JComponent.java:5065)
              at javax.swing.JComponent.paintImmediately(JComponent.java:4875)
              at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:723)
              at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:679)
              at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:659)
              at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:595)
              at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
              at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

            flar Jim Graham
            flar Jim Graham
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: