mwendler5 / jflowmap

Automatically exported from code.google.com/p/jflowmap
0 stars 0 forks source link

agg: IllegalPathStateException: missing initial moveto in path definition #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
java.awt.geom.IllegalPathStateException: missing initial moveto in path
definition
    at java.awt.geom.Path2D$Float.needRoom(Path2D.java:263)
    at java.awt.geom.Path2D$Float.lineTo(Path2D.java:354)
    at
edu.umd.cs.piccolox.util.PFixedWidthStroke$FillAdapter.appendLine(Unknown
Source)
    at sun.dc.pr.PathStroker.endPath(Native Method)
    at edu.umd.cs.piccolox.util.PFixedWidthStroke.createStrokedShape(Unknown
Source)
    at edu.umd.cs.piccolo.nodes.PPath.getPathBoundsWithStroke(Unknown Source)
    at edu.umd.cs.piccolo.nodes.PPath.updateBoundsFromPath(Unknown Source)
    at edu.umd.cs.piccolo.nodes.PPath.append(Unknown Source)
    at edu.umd.cs.piccolo.nodes.PPath.<init>(Unknown Source)
    at jflowmap.visuals.VisualFlowMap$PSegment.<init>(VisualFlowMap.java:607)
    at jflowmap.visuals.VisualFlowMap$4.construct(VisualFlowMap.java:574)
    at at.fhj.utils.swing.SwingWorker$2.run(SwingWorker.java:123)
    at java.lang.Thread.run(Thread.java:619)
Exception in thread "AWT-EventQueue-0"
java.awt.geom.IllegalPathStateException: missing initial moveto in path
definition
    at java.awt.geom.Path2D$Float.needRoom(Path2D.java:263)
    at java.awt.geom.Path2D$Float.lineTo(Path2D.java:354)
    at
edu.umd.cs.piccolox.util.PFixedWidthStroke$FillAdapter.appendLine(Unknown
Source)
    at sun.dc.pr.PathStroker.endPath(Native Method)
    at edu.umd.cs.piccolox.util.PFixedWidthStroke.createStrokedShape(Unknown
Source)
    at sun.java2d.pipe.DuctusShapeRenderer.draw(DuctusShapeRenderer.java:42)
    at
sun.java2d.pipe.PixelToParallelogramConverter.draw(PixelToParallelogramConverter
.java:130)
    at sun.java2d.pipe.ValidatePipe.draw(ValidatePipe.java:136)
    at sun.java2d.SunGraphics2D.draw(SunGraphics2D.java:2336)
    at edu.umd.cs.piccolo.nodes.PPath.paint(Unknown Source)
    at edu.umd.cs.piccolo.PNode.fullPaint(Unknown Source)
    at edu.umd.cs.piccolo.PNode.fullPaint(Unknown Source)
    at edu.umd.cs.piccolo.PNode.fullPaint(Unknown Source)
    at edu.umd.cs.piccolo.PNode.fullPaint(Unknown Source)
    at edu.umd.cs.piccolo.PNode.fullPaint(Unknown Source)
    at edu.umd.cs.piccolo.PCamera.paintCameraView(Unknown Source)
    at edu.umd.cs.piccolo.PCamera.paint(Unknown Source)
    at edu.umd.cs.piccolo.PNode.fullPaint(Unknown Source)
    at edu.umd.cs.piccolo.PCamera.fullPaint(Unknown Source)
    at edu.umd.cs.piccolo.PCanvas.paintComponent(Unknown Source)
    at javax.swing.JComponent.paint(JComponent.java:1027)
    at javax.swing.JComponent.paintChildren(JComponent.java:864)
    at javax.swing.JComponent.paint(JComponent.java:1036)
    at javax.swing.JComponent.paintChildren(JComponent.java:864)
    at javax.swing.JComponent.paint(JComponent.java:1036)
    at javax.swing.JComponent.paintChildren(JComponent.java:864)
    at javax.swing.JComponent.paint(JComponent.java:1036)
    at javax.swing.JLayeredPane.paint(JLayeredPane.java:564)
    at javax.swing.JComponent.paintChildren(JComponent.java:864)
    at javax.swing.JComponent.paintToOffscreen(JComponent.java:5129)
    at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:
1472)
    at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1403)
    at
javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:293
)
    at javax.swing.RepaintManager.paint(RepaintManager.java:1217)
    at javax.swing.JComponent.paint(JComponent.java:1013)
    at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
    at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
    at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
    at java.awt.Container.paint(Container.java:1780)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
    at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
    at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueU
tilities.java:128)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269
)
    at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174
)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Original issue reported on code.google.com by ily...@gmail.com on 5 Jan 2010 at 9:18

GoogleCodeExporter commented 9 years ago
fixed in r104: aggregated edges are now created in EDT

Original comment by ily...@gmail.com on 5 Jan 2010 at 9:47