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 JDK Bug System by Vikrant Agarwal, 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 openstreetmap.de by Unknown author, 1 year ago
via GitHub by EnDe
, 1 year 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:148)
at sun.java2d.xr.XrSwToPMBlit.Blit(XRPMBlitLoops.java:356)
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:67)
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1014)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3318)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3296)
at undefined.DisplayChangeVITest.render(DisplayChangeVITest.java:108)
at undefined.DisplayChangeVITest.run(DisplayChangeVITest.java:129)
at java.lang.Thread.run(Thread.java:745)
at undefined.DisplayChangeVITest.main(DisplayChangeVITest.java:230)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:745)

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.