a bug ?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
lonelyplanetfr

a bug ?

Post by lonelyplanetfr » Mon Dec 03, 2001 7:04 pm

While using JFreechart , I obtain the following message.
I can't reproduce it with the demo program (I didn't try...). It appears randomly. I don't think that the error comes from my program as I always run the same program, I should have the same type of error.

Do you have heard about this problem ???


sun.dc.pr.PRException: endPath: bad path

at sun.dc.pr.Rasterizer.endPath(Rasterizer.java:540)

at sun.java2d.pipe.DuctusRenderer.createShapeRasterizer(DuctusRenderer.java:296)

at sun.java2d.pipe.DuctusShapeRenderer.renderPath(DuctusShapeRenderer.java:59)

at sun.java2d.pipe.DuctusShapeRenderer.draw(DuctusShapeRenderer.java:48)

at sun.java2d.SunGraphics2D.draw(SunGraphics2D.java:1599)

at com.jrefinery.chart.XYPlot.draw(XYPlot.java:185)

at com.jrefinery.chart.JFreeChart.draw(JFreeChart.java:368)

at com.jrefinery.chart.JFreeChartPanel.paintComponent(JFreeChartPanel.java:76)

at javax.swing.JComponent.paint(JComponent.java:739)

at javax.swing.JComponent.paintChildren(JComponent.java:523)

at javax.swing.JComponent.paint(JComponent.java:748)

at javax.swing.JComponent.paintChildren(JComponent.java:523)

at javax.swing.JComponent.paint(JComponent.java:748)

at javax.swing.JComponent.paintChildren(JComponent.java:523)

at javax.swing.JComponent.paint(JComponent.java:748)

at javax.swing.JLayeredPane.paint(JLayeredPane.java:546)

at javax.swing.JComponent.paintChildren(JComponent.java:523)

at javax.swing.JComponent.paint(JComponent.java:719)

at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:23)

at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:54)

at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:91)

at java.awt.Container.paint(Container.java:963)

at sun.awt.RepaintArea.paint(RepaintArea.java:298)

at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:199)

at java.awt.Component.dispatchEventImpl(Component.java:2665)

at java.awt.Container.dispatchEventImpl(Container.java:1216)

at java.awt.Window.dispatchEventImpl(Window.java:918)

at java.awt.Component.dispatchEvent(Component.java:2499)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:336)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:134)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:101)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:96)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:88)

Locked