Hi Everyone,
I am getting this error "sun.dc.pr.PRException: endPath: bad path" and my chart is EMPTY when I have just ONE Result for a TIMESERIES chart.
I have searched through forums and tried to run on JDK5.0 , but still no luck. Same result always if I have just ONE Result. Its NOT a Null data.
Any help in this matter is greatly appreciated !!
Thanks,
Sunil
sun.dc.pr.PRException: endPath: bad path
-
- Posts: 1
- Joined: Thu Feb 02, 2006 10:20 pm
same problem
hi,
even i am getting the same error.
does anyone have a solution to this ?
or is it a bug in jfree charts?
thanks,
divya v
divya.x.vidyadharan@verizon.com
even i am getting the same error.
does anyone have a solution to this ?
or is it a bug in jfree charts?
thanks,
divya v
divya.x.vidyadharan@verizon.com
-
- Posts: 15
- Joined: Fri Oct 07, 2005 2:32 pm
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Yes, please post a small self-contained demo that illustrates the problem, and state the JDK and JFreeChart versions you are using.javydreamercsw wrote:Code that reflects the error might be helpful.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


How to re-create sun.dc.pr.PRException: endPath: bad path
It is easy to re-create this.
1. Run TimeSeriesDemo1
2. Continue to zoom in on any segment of line (must be an actual line segment), you will eventually see the exception.
FWIW I have seem the same thing when zooming in deeply to picolo based applications as well.
I am using JFreeChart 1.0.1 & JRE 1.4.2_09 in Win 2K
1. Run TimeSeriesDemo1
2. Continue to zoom in on any segment of line (must be an actual line segment), you will eventually see the exception.
FWIW I have seem the same thing when zooming in deeply to picolo based applications as well.
I am using JFreeChart 1.0.1 & JRE 1.4.2_09 in Win 2K
bad path exception
We are having the same issue with JFreeChart. If all the values in a chart are zeroes we are getting this exception. We have four series in the chart and if all are zeroes even though they are values for value axis we are facing this problem. Any help is greatly appreciated. We are using stacked area chart for primary data set and a bar chart for secondary data set
sun.dc.pr.PRException: endPath: bad path
at sun.dc.pr.Rasterizer.endPath(Rasterizer.java:553)
at sun.java2d.pipe.DuctusRenderer.createShapeRasterizer(DuctusRenderer.java:310)
at sun.java2d.pipe.DuctusShapeRenderer.renderPath(DuctusShapeRenderer.java:73)
at sun.java2d.pipe.DuctusShapeRenderer.fill(DuctusShapeRenderer.java:66)
at sun.java2d.SunGraphics2D.fill(SunGraphics2D.java:1631)
at org.jfree.chart.renderer.LineAndShapeRenderer.drawItem(LineAndShapeRenderer.java:401)
at org.jfree.chart.plot.CategoryPlot.render(CategoryPlot.java:2066)
at org.jfree.chart.plot.CategoryPlot.draw(CategoryPlot.java:1899)
sun.dc.pr.PRException: endPath: bad path
at sun.dc.pr.Rasterizer.endPath(Rasterizer.java:553)
at sun.java2d.pipe.DuctusRenderer.createShapeRasterizer(DuctusRenderer.java:310)
at sun.java2d.pipe.DuctusShapeRenderer.renderPath(DuctusShapeRenderer.java:73)
at sun.java2d.pipe.DuctusShapeRenderer.fill(DuctusShapeRenderer.java:66)
at sun.java2d.SunGraphics2D.fill(SunGraphics2D.java:1631)
at org.jfree.chart.renderer.LineAndShapeRenderer.drawItem(LineAndShapeRenderer.java:401)
at org.jfree.chart.plot.CategoryPlot.render(CategoryPlot.java:2066)
at org.jfree.chart.plot.CategoryPlot.draw(CategoryPlot.java:1899)
-
- Posts: 15
- Joined: Tue Feb 13, 2007 9:29 am