java.awt.geom.IllegalPathStateException

missing initial moveto in path definition

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web14

  • missing initial moveto in path definition
  • missing initial moveto in path definition
  • missing initial moveto in path definition
  • Stack trace

    • java.awt.geom.IllegalPathStateException: missing initial moveto in path definition at java.awt.geom.Path2D$Float.needRoom(Path2D.java:280) at java.awt.geom.Path2D$Float.lineTo(Path2D.java:350) at sun.java2d.pisces.PiscesRenderingEngine$1.lineTo(PiscesRenderingEngine.java:99) at sun.java2d.pisces.Stroker.emitLineTo(Stroker.java:740) at sun.java2d.pisces.Stroker.finish(Stroker.java:703) at sun.java2d.pisces.Stroker.close(Stroker.java:592) at sun.java2d.pisces.PiscesRenderingEngine.pathTo(PiscesRenderingEngine.java:248) at sun.java2d.pisces.PiscesRenderingEngine.strokeTo(PiscesRenderingEngine.java:231) at sun.java2d.pisces.PiscesRenderingEngine.createStrokedShape(PiscesRenderingEngine.java:85) at java.awt.BasicStroke.createStrokedShape(BasicStroke.java:296) at com.sun.scenario.scenegraph.SGAbstractGeometry.getStrokeShape(SGAbstractGeometry.java:179) at com.sun.scenario.scenegraph.SGShape.shapeContains(SGShape.java:622) at com.sun.scenario.scenegraph.SGShape.contains(SGShape.java:581)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.