PieChart3D Bug
"Chris McKay" <[email protected]> Fri, 26 Sep 2003 16:58:50 +1200
| Newsgroups | gmane.comp.krysalis.jcharts.devel |
|---|---|
| Message-ID | <012601c383ea$e11017a0$0300000a@Chris> |
Just a quicky while it's still on my mind, just in case anyone else hits
the problem.
With jCharts 1.0.0 development code base.
If all datapoints in a PieChart3D dataset are 0 it seems that for
certain JVMs a Sun class goes into a tight loop.
Red Hat Linux release 7.3 (Valhalla)
Kernel 2.4.18-3 on an i686
java version "1.4.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_02-b02)
Java HotSpot(TM) Client VM (build 1.4.0_02-b02, mixed mode)
And 1.4.1
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)
Loops
Windows XP SUN JVM 1.4.2
Throws this exception
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.draw(DuctusShapeRenderer.java:45)
at sun.java2d.pipe.ValidatePipe.draw(ValidatePipe.java:114)
at sun.java2d.SunGraphics2D.draw(SunGraphics2D.java:2128)
at
org.krysalis.jcharts.properties.util.ChartStroke.draw(ChartStroke.java:9
9)
at
org.krysalis.jcharts.nonAxisChart.PieChart3D.drawFraming(PieChart3D.java
:697)
at
org.krysalis.jcharts.nonAxisChart.PieChart3D.render(PieChart3D.java:471)
at
org.krysalis.jcharts.nonAxisChart.PieChart3D.renderChart(PieChart3D.java
:338
The upside of all this is I now have a wonderfully tuned Tomcat engine
as I wrestled with what I initially thought was a performance problem
...
As an update for what we are doing. We are in acceptance testing at the
moment. We'll be looking to checking in our changes to the jCharts 1.0
tree towards the end of October. 3D bars, rotated X axis text, plus a
few other bits of bobs.
C
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf