[ jcharts-Bugs-692820 ] sun.dc.pr.PRException

"SourceForge.net" <[email protected]> Fri, 22 Oct 2004 08:34:29 -0700
Newsgroups gmane.comp.krysalis.jcharts.devel
Message-ID <[email protected]>
Bugs item #692820, was opened at 2003-02-25 05:06
Message generated for change (Settings changed) made by nathaniel_auvil
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=116161&aid=692820&group_id=16161

Category: None
Group: None
>Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nathaniel G. Auvil (nathaniel_auvil)
Summary: sun.dc.pr.PRException

Initial Comment:
When charts are rendered, sometimes this exception occurs:

sun.dc.pr.PRException: endPath: bad path at
sun.dc.pr.Rasterizer.endPath(Rasterizer.java:537) at
sun.java2d.pipe.DuctusRenderer.createShapeRasterizer(DuctusRenderer.java:374)
at
sun.java2d.pipe.DuctusShapeRenderer.renderPath(DuctusShapeRenderer.java:57)
at
sun.java2d.pipe.DuctusShapeRenderer.fill(DuctusShapeRenderer.java:49)
at
sun.java2d.SunGraphics2D.fill(SunGraphics2D.java:2190)
at
org.jCharts.axisChart.ClusteredBarChart.render(Unknown
Source) at
org.jCharts.axisChart.AxisChart.renderChart(Unknown
Source) at org.jCharts.Chart.render(Unknown Source) at
org.jCharts.Chart.renderWithImageMap(Unknown Source)

We could not yet isolate the exact context in which
this error occurs. Have you seen this error before?


Regards,
Mathias Maul
[email protected]

----------------------------------------------------------------------

Comment By: Edward Kuns (ekuns)
Date: 2004-06-29 19:20

Message:
Logged In: YES 
user_id=1004256

I have seen this recently with the 1.0 Alpha version.  Oddly,
I added a "catch (RuntimeException e) " block to the
try/catch around the render, and the problem went away
completely.  My logging statements in that block never log
anything.

This is with Sun SDK 1.4.2_02, using a line chart.  I only
saw these errors, which did not seem to impact function al
all, when the largest value on the line plot was many dozen
and the smallest value was small.  I don't remember exact
values, but it seemed to occur when the largest value was
over 60 or 80.  All values that are zero are set to
Double.NaN in my chart in question, so there shouldn't be
any zero values.


----------------------------------------------------------------------

Comment By: Nathaniel G. Auvil (nathaniel_auvil)
Date: 2004-06-13 18:42

Message:
Logged In: YES 
user_id=118938

I just ran a bunch of test cases with zeros and cannot
duplicate this.  What platform/jdk are you running?  

----------------------------------------------------------------------

Comment By: Brant (blevinson)
Date: 2004-06-12 00:12

Message:
Logged In: YES 
user_id=788830

This happens on the current production one and the alpha 
version. This happens to me everytime I have a zero as one 
of the data entries. Is there a workaround for this? Some of 
my entries have zeros...

----------------------------------------------------------------------

Comment By: Nathaniel G. Auvil (nathaniel_auvil)
Date: 2003-02-25 08:21

Message:
Logged In: YES 
user_id=118938

I have seen this on rare occasions, from the Line Chart.  Is
this what you guys are using?

Are you using an user defined scale?
Are you using the 0.7.0 alpha or 0.6.0?



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=116161&aid=692820&group_id=16161


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl