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 Oracle Community by ranjeetd, 1 year ago
sun.java2d.NullSurfaceData cannot be cast to sun.java2d.d3d.D3DSurfaceData
java.lang.ClassCastException: sun.java2d.NullSurfaceData cannot be cast to sun.java2d.d3d.D3DSurfaceData	at sun.java2d.d3d.D3DMaskFill.validateContext(Unknown Source)	at sun.java2d.pipe.BufferedMaskFill.MaskFill(Unknown Source)	at sun.java2d.pipe.AlphaColorPipe.renderPathTile(Unknown Source)	at sun.java2d.pipe.AAShapePipe.renderTiles(Unknown Source)	at sun.java2d.pipe.AAShapePipe.renderPath(Unknown Source)	at sun.java2d.pipe.AAShapePipe.fill(Unknown Source)	at sun.java2d.pipe.PixelToParallelogramConverter.fill(Unknown Source)	at sun.java2d.pipe.PixelToShapeConverter.fillOval(Unknown Source)	at sun.java2d.SunGraphics2D.fillOval(Unknown Source)	at PNJTrend.PNRenderer.SeriesRenderCommon.DrawMark(SeriesRenderCommon.java:89)	at PNJTrend.PNRenderer.SeriesRender2D.Draw(SeriesRender2D.java:93)	at PNJTrend.PNChartSeries.Draw(PNChartSeries.java:2325)	at PNJTrend.PNMarkableChartSeries.Draw(PNMarkableChartSeries.java:608)	at PNJTrend.PNSeriesList.DrawAll2D(PNSeriesList.java:284)	at PNJTrend.PNSeriesList.DrawAll(PNSeriesList.java:260)	at PNJTrend.PNJChart.Draw(PNJChart.java:1010)	at PNJTrend.PNRenderer.Renderer2D.run(Renderer2D.java:196)