java.awt.image.ImagingOpException: Unable to transform src image

Oracle Community | 807577 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    printing problem with Graphics2D

    Oracle Community | 1 decade ago | 807577
    java.awt.image.ImagingOpException: Unable to transform src image

    Root Cause Analysis

    1. java.awt.image.ImagingOpException

      Unable to transform src image

      at java.awt.image.AffineTransformOp.filter()
    2. Java RT
      Component.paintAll
      1. java.awt.image.AffineTransformOp.filter(AffineTransformOp.java:263)
      2. sun.java2d.pipe.DrawImage.transformImage(DrawImage.java:304)
      3. sun.java2d.pipe.DrawImage.scaleBufferedImage(DrawImage.java:453)
      4. sun.java2d.pipe.DrawImage.scaleImage(DrawImage.java:531)
      5. sun.java2d.pipe.DrawImage.scaleImage(DrawImage.java:801)
      6. sun.java2d.pipe.ValidatePipe.scaleImage(ValidatePipe.java:171)
      7. sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2875)
      8. sun.print.PSPathGraphics.drawImageToPS(PSPathGraphics.java:998)
      9. sun.print.PSPathGraphics.drawImage(PSPathGraphics.java:495)
      10. sun.print.PSPathGraphics.drawImage(PSPathGraphics.java:406)
      11. sun.print.PSPathGraphics.drawImage(PSPathGraphics.java:345)
      12. sun.print.PSPathGraphics.drawImage(PSPathGraphics.java:288)
      13. sun.print.PSPathGraphics.drawImage(PSPathGraphics.java:197)
      14. javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4781)
      15. javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4724)
      16. javax.swing.JComponent.paint(JComponent.java:798)
      17. java.awt.Component.lightweightPaint(Component.java:2382)
      18. java.awt.Container.lightweightPaint(Container.java:1390)
      19. java.awt.GraphicsCallback$PeerPaintCallback.run(GraphicsCallback.java:67)
      20. sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
      21. java.awt.Component.paintAll(Component.java:2367)
      21 frames
    3. Unknown
      DrawingMethods.print
      1. DrawingMethods.print(DrawingMethods.java:833)
      1 frame
    4. Java RT
      RasterPrinterJob.print
      1. sun.print.RasterPrinterJob.printPage(RasterPrinterJob.java:1506)
      2. sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1078)
      3. sun.print.RasterPrinterJob.print(RasterPrinterJob.java:979)
      3 frames
    5. Unknown
      DrawingMethods.actionPerformed
      1. DrawingMethods.actionPerformed(DrawingMethods.java:817)
      1 frame
    6. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
      2. javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
      6. java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:227)
      7. java.awt.Component.processMouseEvent(Component.java:5093)
      8. java.awt.Component.processEvent(Component.java:4890)
      9. java.awt.Container.processEvent(Container.java:1566)
      10. java.awt.Component.dispatchEventImpl(Component.java:3598)
      11. java.awt.Container.dispatchEventImpl(Container.java:1623)
      12. java.awt.Component.dispatchEvent(Component.java:3439)
      13. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
      14. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
      15. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
      16. java.awt.Container.dispatchEventImpl(Container.java:1609)
      17. java.awt.Window.dispatchEventImpl(Window.java:1585)
      18. java.awt.Component.dispatchEvent(Component.java:3439)
      19. java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
      20. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
      21. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      22. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
      23. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
      24. java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
      24 frames