java.awt.geom.IllegalPathStateException: missing initial moveto in path definition

Oracle Community | 843851 | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    PieChart Sample: "missing initial moveto in path definition"

    Oracle Community | 8 years ago | 843851
    java.awt.geom.IllegalPathStateException: missing initial moveto in path definition
  2. 0

    Bug in java.awt.geom.IllegalPathStateException

    https://bugzilla.redhat.com/bugzilla/ | 7 years ago | Susi Lehtola
    java.awt.geom.IllegalPathStateException: missing initial moveto in path definition

    Root Cause Analysis

    1. java.awt.geom.IllegalPathStateException

      missing initial moveto in path definition

      at java.awt.geom.Path2D$Float.needRoom()
    2. Java RT
      BasicStroke.createStrokedShape
      1. java.awt.geom.Path2D$Float.needRoom(Path2D.java:280)
      2. java.awt.geom.Path2D$Float.lineTo(Path2D.java:350)
      3. sun.java2d.pisces.PiscesRenderingEngine$1.lineTo(PiscesRenderingEngine.java:99)
      4. sun.java2d.pisces.Stroker.emitLineTo(Stroker.java:740)
      5. sun.java2d.pisces.Stroker.finish(Stroker.java:703)
      6. sun.java2d.pisces.Stroker.close(Stroker.java:592)
      7. sun.java2d.pisces.PiscesRenderingEngine.pathTo(PiscesRenderingEngine.java:248)
      8. sun.java2d.pisces.PiscesRenderingEngine.strokeTo(PiscesRenderingEngine.java:231)
      9. sun.java2d.pisces.PiscesRenderingEngine.createStrokedShape(PiscesRenderingEngine.java:85)
      10. java.awt.BasicStroke.createStrokedShape(BasicStroke.java:296)
      10 frames
    3. Java Swing/2D Scene Graph
      SGShape.contains
      1. com.sun.scenario.scenegraph.SGAbstractGeometry.getStrokeShape(SGAbstractGeometry.java:179)
      2. com.sun.scenario.scenegraph.SGShape.shapeContains(SGShape.java:622)
      3. com.sun.scenario.scenegraph.SGShape.contains(SGShape.java:581)
      3 frames