java.lang.ClassCastException: sun.java2d.NullSurfaceData cannot be cast to sun.java2d.d3d.D3DSurfaceData

Oracle Community | ranjeetd | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Applet graphics is not rendered in Windows 8 IE10

    Oracle Community | 4 years ago | ranjeetd
    java.lang.ClassCastException: sun.java2d.NullSurfaceData cannot be cast to sun.java2d.d3d.D3DSurfaceData

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.ClassCastException

      sun.java2d.NullSurfaceData cannot be cast to sun.java2d.d3d.D3DSurfaceData

      at sun.java2d.d3d.D3DMaskFill.validateContext()
    2. sun.java2d.d3d
      D3DMaskFill.validateContext
      1. sun.java2d.d3d.D3DMaskFill.validateContext(Unknown Source)
      1 frame
    3. Java RT
      SunGraphics2D.fillOval
      1. sun.java2d.pipe.BufferedMaskFill.MaskFill(Unknown Source)
      2. sun.java2d.pipe.AlphaColorPipe.renderPathTile(Unknown Source)
      3. sun.java2d.pipe.AAShapePipe.renderTiles(Unknown Source)
      4. sun.java2d.pipe.AAShapePipe.renderPath(Unknown Source)
      5. sun.java2d.pipe.AAShapePipe.fill(Unknown Source)
      6. sun.java2d.pipe.PixelToParallelogramConverter.fill(Unknown Source)
      7. sun.java2d.pipe.PixelToShapeConverter.fillOval(Unknown Source)
      8. sun.java2d.SunGraphics2D.fillOval(Unknown Source)
      8 frames
    4. PNJTrend.PNRenderer
      SeriesRender2D.Draw
      1. PNJTrend.PNRenderer.SeriesRenderCommon.DrawMark(SeriesRenderCommon.java:89)
      2. PNJTrend.PNRenderer.SeriesRender2D.Draw(SeriesRender2D.java:93)
      2 frames
    5. PNJTrend
      PNJChart.Draw
      1. PNJTrend.PNChartSeries.Draw(PNChartSeries.java:2325)
      2. PNJTrend.PNMarkableChartSeries.Draw(PNMarkableChartSeries.java:608)
      3. PNJTrend.PNSeriesList.DrawAll2D(PNSeriesList.java:284)
      4. PNJTrend.PNSeriesList.DrawAll(PNSeriesList.java:260)
      5. PNJTrend.PNJChart.Draw(PNJChart.java:1010)
      5 frames
    6. PNJTrend.PNRenderer
      Renderer2D.run
      1. PNJTrend.PNRenderer.Renderer2D.run(Renderer2D.java:196)
      1 frame