I have insert on my application the new version 0.7.1 .
When show the chart I have the follow output in the System.out:
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.drawVerticalLine(Unknown Source)
at com.jrefinery.chart.XYPlot.draw(Unknown Source)
at com.jrefinery.chart.JFreeChart.draw(Unknown Source)
at com.jrefinery.chart.JFreeChartPanel.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(JComponent.java:687)
at javax.swing.JComponent.paintChildren(JComponent.java:498)
at javax.swing.JComponent.paint(JComponent.java:696)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:546)
at javax.swing.JComponent.paintChildren(JComponent.java:498)
at javax.swing.JComponent.paint(JComponent.java:669)
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:960)
at sun.awt.RepaintArea.paint(RepaintArea.java:298)
at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:196)
at java.awt.Component.dispatchEventImpl(Component.java:2663)
at java.awt.Container.dispatchEventImpl(Container.java:1213)
at java.awt.Window.dispatchEventImpl(Window.java:926)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Is not an Exception but is nasty.
nasty output
Re: nasty output
Hi Alberto,
This one shows up from time to time. I think it has something to do with Java2D drawing Shape objects with very large coordinates (although I could be wrong). Is there anything unusual about your dataset or the range displayed on the axes?
There's a few bugs in the Java Bug Parade that talk about the problem generally. Next time I'm looking in there I'll note the numbers and post them here. Meanwhile, I'm keeping an eye out for a good solution...
Regards,
DG.
This one shows up from time to time. I think it has something to do with Java2D drawing Shape objects with very large coordinates (although I could be wrong). Is there anything unusual about your dataset or the range displayed on the axes?
There's a few bugs in the Java Bug Parade that talk about the problem generally. Next time I'm looking in there I'll note the numbers and post them here. Meanwhile, I'm keeping an eye out for a good solution...
Regards,
DG.
Re: nasty output
I am also getting it when using Scatter plot and Vertical Bar Plot
Re: nasty output
I'd like to try and track this problem down. Can you supply some additional details:
- JDK version and operating system;
- the minimum and maximum data values in your dataset;
- the minimum and maximum axis values at the time the error occurs;
DG.
- JDK version and operating system;
- the minimum and maximum data values in your dataset;
- the minimum and maximum axis values at the time the error occurs;
DG.
Re: nasty output
Additional details:
- OS Win2000sp2
- JDK 1.3.1_02
The problem appears when i initialize the BasicTimeSeries with Millisecond.class:
BasicTimeSeries t1 = new BasicTimeSeries("title",Millisecond.class);
I will be available for further requests.
miao...
- OS Win2000sp2
- JDK 1.3.1_02
The problem appears when i initialize the BasicTimeSeries with Millisecond.class:
BasicTimeSeries t1 = new BasicTimeSeries("title",Millisecond.class);
I will be available for further requests.
miao...