-
Bug
-
Resolution: Fixed
-
P4
-
17, 18, 19
-
None
-
b20
-
linux
Sometimes we get the following exceptions in or products:
java.lang.ClassCastException: sun.java2d.NullSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
at sun.java2d.xr.XRMaskFill.MaskFill(XRMaskFill.java:102)
at sun.java2d.pipe.AlphaColorPipe.renderPathTile(AlphaColorPipe.java:55)
at sun.java2d.pipe.AAShapePipe.renderTiles(AAShapePipe.java:201)
at sun.java2d.pipe.AAShapePipe.fillParallelogram(AAShapePipe.java:102)
at sun.java2d.pipe.PixelToParallelogramConverter.fillRectangle(PixelToParallelogramConverter.java:322)
at sun.java2d.pipe.PixelToParallelogramConverter.fillRect(PixelToParallelogramConverter.java:115)
at sun.java2d.pipe.ValidatePipe.fillRect(ValidatePipe.java:76)
at sun.java2d.SunGraphics2D.fillRect(SunGraphics2D.java:2423)
at com.intellij.ui.Graphics2DDelegate.fillRect(Graphics2DDelegate.java:212)
at com.intellij.openapi.wm.impl.IdeBackgroundUtil$MyGraphics.fillRect(IdeBackgroundUtil.java:210)
at com.intellij.execution.testframework.TestTreeView.paintRowData(TestTreeView.java:251)
java.lang.ClassCastException: sun.java2d.NullSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
at sun.font.XRTextRenderer.drawGlyphList(XRTextRenderer.java:65)
at sun.java2d.pipe.GlyphListPipe.drawString(GlyphListPipe.java:72)
at sun.java2d.pipe.ValidatePipe.drawString(ValidatePipe.java:165)
at sun.java2d.SunGraphics2D.drawString(SunGraphics2D.java:2928)
at com.intellij.ui.Graphics2DDelegate.drawString(Graphics2DDelegate.java:187)
at com.intellij.execution.testframework.TestTreeView.paintRowData(TestTreeView.java:264)
at com.intellij.execution.testframework.TestTreeView.paint(TestTreeView.java:234)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at com.intellij.ui.components.JBViewport.paint(JBViewport.java:171)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at com.intellij.ui.tabs.impl.JBTabsImpl.paintChildren(JBTabsImpl.java:2316)
The problems have been fixed in JB runtime the same way that was done forJDK-8158495 and JDK-7172749
java.lang.ClassCastException: sun.java2d.NullSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
at sun.java2d.xr.XRMaskFill.MaskFill(XRMaskFill.java:102)
at sun.java2d.pipe.AlphaColorPipe.renderPathTile(AlphaColorPipe.java:55)
at sun.java2d.pipe.AAShapePipe.renderTiles(AAShapePipe.java:201)
at sun.java2d.pipe.AAShapePipe.fillParallelogram(AAShapePipe.java:102)
at sun.java2d.pipe.PixelToParallelogramConverter.fillRectangle(PixelToParallelogramConverter.java:322)
at sun.java2d.pipe.PixelToParallelogramConverter.fillRect(PixelToParallelogramConverter.java:115)
at sun.java2d.pipe.ValidatePipe.fillRect(ValidatePipe.java:76)
at sun.java2d.SunGraphics2D.fillRect(SunGraphics2D.java:2423)
at com.intellij.ui.Graphics2DDelegate.fillRect(Graphics2DDelegate.java:212)
at com.intellij.openapi.wm.impl.IdeBackgroundUtil$MyGraphics.fillRect(IdeBackgroundUtil.java:210)
at com.intellij.execution.testframework.TestTreeView.paintRowData(TestTreeView.java:251)
java.lang.ClassCastException: sun.java2d.NullSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
at sun.font.XRTextRenderer.drawGlyphList(XRTextRenderer.java:65)
at sun.java2d.pipe.GlyphListPipe.drawString(GlyphListPipe.java:72)
at sun.java2d.pipe.ValidatePipe.drawString(ValidatePipe.java:165)
at sun.java2d.SunGraphics2D.drawString(SunGraphics2D.java:2928)
at com.intellij.ui.Graphics2DDelegate.drawString(Graphics2DDelegate.java:187)
at com.intellij.execution.testframework.TestTreeView.paintRowData(TestTreeView.java:264)
at com.intellij.execution.testframework.TestTreeView.paint(TestTreeView.java:234)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at com.intellij.ui.components.JBViewport.paint(JBViewport.java:171)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at com.intellij.ui.tabs.impl.JBTabsImpl.paintChildren(JBTabsImpl.java:2316)
The problems have been fixed in JB runtime the same way that was done for