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

JDK Bug System | Vikrant Agarwal | 4 months ago
  1. 0

    Testsuite name: jdk_awt Test name(s): java/awt/FullScreen/DisplayChangeVITest/DisplayChangeVITest.java Product(s) tested: JDK 8 u112 b09 OS/architecture: Solaris sparcv9 64 bit Reproducible: Always Is it a Regression: No, test also failed for jdk 1.8.0 u20 b26 and also for JDK 8 u112 b01 (where JDK-7172749 was fixed) Is it a platform specific issue: Yes (Test passed for Mac Os ) [If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing: Yes/No [If new configuration testing] Issue specific to execution mode or OS/browser version: Exception/Error from Log: ----------System.out:(0/0)---------- ----------System.err:(33/1864)---------- Found display modes: DisplayMode[1920x1200x-1] DisplayMode[800x600x-1] Entering DisplayMode[1920x1200x-1] Entering DisplayMode[800x600x-1] Entering DisplayMode[1920x1200x-1] Entering DisplayMode[800x600x-1] Entering DisplayMode[1920x1200x-1] Entering DisplayMode[800x600x-1] 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 DisplayChangeVITest.render(DisplayChangeVITest.java:108) at DisplayChangeVITest.run(DisplayChangeVITest.java:129) at java.lang.Thread.run(Thread.java:745) at 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) JavaTest Message: Test threw exception: java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData

    JDK Bug System | 4 months ago | Vikrant Agarwal
    java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
  2. 0

    [1.0] Libraries and gopath and projects inside gopath

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

    IDEA UI starts breaking up/jumbled after waking up in Ubuntu 14.04

    YouTrack | 2 years ago
    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

    BufImgSurfaceData cannot be cast to XRSurfaceData

    YouTrack | 1 year ago
    java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
  6. 0

    #11002 (java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData) – JOSM

    openstreetmap.de | 7 months ago
    java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData

    1 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
      SunGraphics2D.drawImage
      1. sun.java2d.xr.XRPMBlitLoops.cacheToTmpSurface(XRPMBlitLoops.java:148)
      2. sun.java2d.xr.XrSwToPMBlit.Blit(XRPMBlitLoops.java:356)
      3. sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:959)
      4. sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:577)
      5. sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:67)
      6. sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1014)
      7. sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3318)
      8. sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3296)
      8 frames
    3. Unknown
      DisplayChangeVITest.run
      1. DisplayChangeVITest.render(DisplayChangeVITest.java:108)
      2. DisplayChangeVITest.run(DisplayChangeVITest.java:129)
      2 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame
    5. Unknown
      DisplayChangeVITest.main
      1. DisplayChangeVITest.main(DisplayChangeVITest.java:230)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    7. com.sun.javatest
      MainWrapper$MainThread.run
      1. com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      1 frame
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame