Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8081375

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

    XMLWordPrintable

Details

    • 2d
    • linux

    Description

      On Linux OS the user experiences the exception "java.lang.ClassCastException". The call stack of this exception is specified below.

      java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
        sun.java2d.xr.XRPMBlitLoops.cacheToTmpSurface(XRPMBlitLoops.java:145)
        sun.java2d.xr.XrSwToPMBlit.Blit(XRPMBlitLoops.java:353)
        sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:959)
        sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:577)
        sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:67)
        sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1014)
        sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3318)
        sun.awt.image.ImageRepresentation.drawToBufImage(ImageRepresentation.java:813)
        sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1021)
        sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3318)
        sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3296)
        jx.s.ImageIcon.paintIcon(ImageIcon.java:425)
        jx.s.plaf.IconUIResource.paintIcon(IconUIResource.java:72)
        jx.s.plaf.basic.BasicButtonUI.paintIcon(BasicButtonUI.java:292)
        jx.s.plaf.basic.BasicButtonUI.paint(BasicButtonUI.java:216)
        o.javatools.ui.plaf.IconicButtonUI.paint(IconicButtonUI.java:181)
        com.jgoodies.looks.plastic.PlasticButtonUI.update(PlasticButtonUI.java:91)
        jx.s.JComponent.paintComponent(JComponent.java:780)
        o.i.controls.ToolButton.paintComponent(ToolButton.java:422)
        jx.s.JComponent.paint(JComponent.java:1056)
        jx.s.JComponent.paintChildren(JComponent.java:889)
        jx.s.JComponent.paint(JComponent.java:1065)
        jx.s.JComponent.paintChildren(JComponent.java:889)
        jx.s.JComponent.paint(JComponent.java:1065)
        org.netbeans.core.windows.view.ui.toolbars.ToolbarContainer.paint(ToolbarContainer.java:327)
        jx.s.JComponent.paintChildren(JComponent.java:889)
        jx.s.JComponent.paint(JComponent.java:1065)
        jx.s.JComponent.paintChildren(JComponent.java:889)
        jx.s.JComponent.paint(JComponent.java:1065)
        jx.s.JComponent.paintChildren(JComponent.java:889)
        jx.s.JComponent.paint(JComponent.java:1065)
        jx.s.JComponent.paintChildren(JComponent.java:889)
        jx.s.JComponent.paint(JComponent.java:1065)
        org.netbeans.core.windows.view.ui.MainWindow$1.paint(MainWindow.java:189)
        jx.s.JComponent.paintChildren(JComponent.java:889)
        jx.s.JComponent.paint(JComponent.java:1065)
        jx.s.JLayeredPane.paint(JLayeredPane.java:586)
        jx.s.JComponent.paintChildren(JComponent.java:889)
        jx.s.JComponent.paint(JComponent.java:1065)
        jx.s.JComponent.paintToOffscreen(JComponent.java:5219)
        jx.s.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290)
        jx.s.RepaintManager.paint(RepaintManager.java:1265)
        jx.s.JComponent._paintImmediately(JComponent.java:5167)
        jx.s.JComponent.paintImmediately(JComponent.java:4978)
        jx.s.RepaintManager$4.run(RepaintManager.java:824)
        jx.s.RepaintManager$4.run(RepaintManager.java:807)
        j.security.AccessController.doPrivileged(Native Method)
        j.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
        jx.s.RepaintManager.paintDirtyRegions(RepaintManager.java:807)
        jx.s.RepaintManager.paintDirtyRegions(RepaintManager.java:782)
        jx.s.RepaintManager.prePaintDirtyRegions(RepaintManager.java:731)
        jx.s.RepaintManager.access$1300(RepaintManager.java:64)
        jx.s.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1720)
        j.a.event.InvocationEvent.dispatch(InvocationEvent.java:311)
        j.a.EventQueue.dispatchEventImpl(EventQueue.java:749)
        j.a.EventQueue.access$500(EventQueue.java:97)
        j.a.EventQueue$3.run(EventQueue.java:702)
        j.a.EventQueue$3.run(EventQueue.java:696)
        j.security.AccessController.doPrivileged(Native Method)
        j.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
        j.a.EventQueue.dispatchEvent(EventQueue.java:719)
        o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
        o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
        j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
        j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        j.a.EventDispatchThread.run(EventDispatchThread.java:82)

      Attachments

        Issue Links

          Activity

            People

              alitvinov Anton Litvinov (Inactive)
              shadowbug Shadow Bug
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: