java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData

GitHub | leogaggl | 7 months 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

    GitHub comment 4926#251289207

    GitHub | 7 months ago | leogaggl
    java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
  2. 0

    sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData

    GitHub | 2 years ago | csnyulas
    java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
  3. 0

    cast exception with Java stacktrace

    GitHub | 4 months ago | EnDe
    java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    javax.swing.JScrollPane cannot be cast to javax.swing.AbstractButton after changing to SeaGlass Look and Feel

    Stack Overflow | 2 years ago | BuxHzk
    java.lang.ClassCastException: javax.swing.JScrollPane cannot be cast to javax.swing.AbstractButton
  6. 0

    Crash report

    GitHub | 2 years ago | benjicraft
    java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.awt.Color

  1. jpvee 1 times, last 4 months ago
  2. poroszd 1 times, last 1 year ago
5 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.ClassCastException

    sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData

    at sun.java2d.xr.XRPMBlitLoops.cacheToTmpSurface()
  2. Java RT
    EventDispatchThread.run
    1. sun.java2d.xr.XRPMBlitLoops.cacheToTmpSurface(XRPMBlitLoops.java:145)
    2. sun.java2d.xr.XrSwToPMBlit.Blit(XRPMBlitLoops.java:353)
    3. sun.java2d.SurfaceDataProxy.updateSurfaceData(SurfaceDataProxy.java:498)
    4. sun.java2d.SurfaceDataProxy.replaceData(SurfaceDataProxy.java:455)
    5. sun.java2d.SurfaceData.getSourceSurfaceData(SurfaceData.java:233)
    6. sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:566)
    7. sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:67)
    8. sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1014)
    9. sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3318)
    10. sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3296)
    11. com.sun.java.swing.plaf.gtk.GTKEngine.paintCachedImage(GTKEngine.java:555)
    12. com.sun.java.swing.plaf.gtk.GTKPainter.paintScrollBarThumbBackground(GTKPainter.java:1133)
    13. javax.swing.plaf.synth.SynthScrollBarUI.paintThumb(SynthScrollBarUI.java:322)
    14. javax.swing.plaf.synth.SynthScrollBarUI.paint(SynthScrollBarUI.java:279)
    15. javax.swing.plaf.synth.SynthScrollBarUI.update(SynthScrollBarUI.java:244)
    16. javax.swing.JComponent.paintComponent(JComponent.java:780)
    17. javax.swing.JComponent.paint(JComponent.java:1056)
    18. javax.swing.JComponent.paintChildren(JComponent.java:889)
    19. javax.swing.JComponent.paint(JComponent.java:1065)
    20. javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
    21. javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1579)
    22. javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
    23. javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:306)
    24. javax.swing.RepaintManager.paint(RepaintManager.java:1272)
    25. javax.swing.JComponent._paintImmediately(JComponent.java:5158)
    26. javax.swing.JComponent.paintImmediately(JComponent.java:4969)
    27. javax.swing.RepaintManager$4.run(RepaintManager.java:831)
    28. javax.swing.RepaintManager$4.run(RepaintManager.java:814)
    29. java.security.AccessController.doPrivileged(Native Method)
    30. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    31. javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
    32. javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
    33. javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
    34. javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
    35. javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
    36. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    37. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
    38. java.awt.EventQueue.access$500(EventQueue.java:97)
    39. java.awt.EventQueue$3.run(EventQueue.java:709)
    40. java.awt.EventQueue$3.run(EventQueue.java:703)
    41. java.security.AccessController.doPrivileged(Native Method)
    42. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    43. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
    44. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    45. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    46. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    47. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    48. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    49. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    49 frames