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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by ManfredKarrer
, 1 year ago
sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
via GitHub by gerroon
, 1 year ago
sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
via netbeans.org by Unknown author, 1 year ago
sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
via GitHub by jsql-robot
, 11 months ago
sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
via GitHub by jsql-robot
, 11 months ago
sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
via GitHub by jsql-robot
, 11 months ago
sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
at sun.java2d.xr.XRPMBlitLoops.cacheToTmpSurface(XRPMBlitLoops.java:145)
at sun.java2d.xr.XrSwToPMBlit.Blit(XRPMBlitLoops.java:353)
at sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:959)
at sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:577)
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:86)
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1030)
at sun.java2d.pipe.ValidatePipe.copyImage(ValidatePipe.java:196)
at sun.java2d.SunGraphics2D.copyImage(SunGraphics2D.java:3229)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3270)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3214)
at sun.awt.X11.XTrayIconPeer$IconCanvas.paint(XTrayIconPeer.java:601)
at sun.awt.RepaintArea.paintComponent(RepaintArea.java:264)
at sun.awt.X11.XRepaintArea.paintComponent(XRepaintArea.java:64)
at sun.awt.RepaintArea.paint(RepaintArea.java:240)
at sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:584)
at java.awt.Component.dispatchEventImpl(Component.java:4967)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.