Version 0.5.6 ChartDemo About box fails

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Mark Plant

Version 0.5.6 ChartDemo About box fails

Post by Mark Plant » Tue Jan 16, 2001 4:59 pm

Problem:

When you run the ChartDemo application, you get a NullPointerException on the console when you click on the 'About' menu item under the 'Help' menu.

The About box does not get displayed as a result.

Impact:

Minor.

Analysis:

Aboutframe.java is trying to load an image called About0-5-6.gif, which does not exist anywhere in the download.

Workaround:

It is easily fixed by changing the reference to About0-5-5.gif in AboutFrame.java.

Fix:

Include an About0-5-6.gif file in the download, or use a generic name for the image ...

David Gilbert

RE: Version 0.5.6 ChartDemo About box fails

Post by David Gilbert » Sat Jan 20, 2001 8:20 pm

Hi Mark,

Thanks for the feedback - I'll get the problem sorted out.

Regards,

DG.

Locked