Exception with writeChartAsJPEG

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
hkollmann
Posts: 2
Joined: Tue Mar 30, 2004 3:38 pm

Exception with writeChartAsJPEG

Post by hkollmann » Tue Mar 30, 2004 3:42 pm

Hello,

switching from jfreechart-0.9.16 to jfreechart-0.9.17 leads to an exception while using

ChartUtilities.writeChartAsJPEG(out, chart, data.getWidth(), data.getHeight));

Exception text:

java.io.IOException: reading encoded JPEG Stream

Any idea? What's going wrong?
The same statement is working with jfreechart-0.9.16!

regards,
Henner Kollmann

Locked