I noticed that org.jfree.chart.annotations.junit is empty - (missing all the ...Test files)
David
0.9.12 compile problem
-
- Posts: 115
- Joined: Fri Mar 14, 2003 3:13 pm
- Location: London, England
- Contact:
Version 0.9.12
It would be nice if the ResourceBundles were in the src/org/jfree/chart directory as well. Currently you have to pull them out of the JAR file.
Regards,
Richard...
Regards,
Richard...
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
I will fix both those problems and get 0.9.13 very soon...any other bug reports are welcome!
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


Resource bundles
The specific error you get when trying to run a demo is, for example:
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.jfree.chart.demo.BarChart3DDemo1.<init>(BarChart3DDemo1.java:73)
at org.jfree.chart.demo.BarChart3DDemo1.main(BarChart3DDemo1.java:114)
Caused by: java.util.MissingResourceException: Can't find bundle for base name org.jfree.chart.LocalizationBundle, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:511)
at org.jfree.chart.ChartPanel.<clinit>(ChartPanel.java:253)
... 2 more
There are two lots of LocalizationBundles, one in plot, and one in ui - should these be combined and in chart?
David
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.jfree.chart.demo.BarChart3DDemo1.<init>(BarChart3DDemo1.java:73)
at org.jfree.chart.demo.BarChart3DDemo1.main(BarChart3DDemo1.java:114)
Caused by: java.util.MissingResourceException: Can't find bundle for base name org.jfree.chart.LocalizationBundle, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:511)
at org.jfree.chart.ChartPanel.<clinit>(ChartPanel.java:253)
... 2 more
There are two lots of LocalizationBundles, one in plot, and one in ui - should these be combined and in chart?
David
In fact there are three - another one in chart...brownidj wrote:There are two lots of LocalizationBundles, one in plot, and one in ui - should these be combined and in chart?
I overwrote my jar when doing an ant build and in effect 'lost' the chart LocalizationBundle...
Should have read earlier posts more carefully (;
David