Home pageFind It!Contact PJAPJA documentation

PJA

 PJA Toolkit forum

This forum is dedicated to PJA Toolkit.
You may read freely the messages it contents. If you want to write a message or answer to a subject, subscribe to it first.

Subjects Recent messages Login Subscribe

Messages of subject JFreeChart error

fafi

Location : france
Member since : Mar 25, 2005
Messages : 1
 Mar 25, 2005 at 9:16 AM
Attempting to draw a pie chart in a sun computer with JFreeChart I have the folloowing message

05/03/24 18:03:54 Exception - java.lang.IllegalArgumentException: PieDataset: null key not allowed.
05/03/24 18:03:54 java.lang.IllegalArgumentException: PieDataset: null key not allowed.
05/03/24 18:03:54 at org.jfree.data.DefaultPieDataset.getValue(DefaultPieDataset.java:163)
05/03/24 18:03:54 at org.jfree.chart.plot.PiePlot.getLegendItems(PiePlot.java:1697)
05/03/24 18:03:54 at org.jfree.chart.StandardLegend.draw(StandardLegend.java:711)
05/03/24 18:03:54 at org.jfree.chart.StandardLegend.draw(StandardLegend.java:690)
05/03/24 18:03:54 at org.jfree.chart.JFreeChart.draw(JFreeChart.java:897)
05/03/24 18:03:54 at org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1038)
05/03/24 18:03:54 at org.jfree.chart.ChartUtilities.writeChartAsPNG(ChartUtilities.java:196)
05/03/24 18:03:54 at org.jfree.chart.ChartUtilities.saveChartAsPNG(ChartUtilities.java:337)
05/03/24 18:03:54 at org.jfree.chart.ChartUtilities.saveChartAsPNG(ChartUtilities.java:302)
05/03/24 18:03:54 at org.jfree.chart.servlet.ServletUtilities.saveChartAsPNG(ServletUtilities.java:141)

but the same code works perfectly on windows XP

any idea ?

thanks


Home pageFind It!ContactTop

© Copyrights 1997-2014 eTeks - All rights reserved

PJAPJA documentation