Page 1 of 1

New BUG - ChartEditor - Function Export

Posted: Wed Sep 05, 2007 1:41 pm
by 7662559
Hello, Narcis/Steema.com.

I found a new BUG in ChartEditor Component. When I click in the function Export (exporting to BMP, JPEG, PNG). The JRE 6 generate the following exception:

java.util.MissingResourceException: Can't find resource goes bundle java.util.PropertyResourceBundle, key GrayScale
attn java.util.ResourceBundle.getObject(ResourceBundle.java:386)
attn java.util.ResourceBundle.getObject(ResourceBundle.java:383)
attn com.steema.teechart.languages.Language.getString(Language.java:50)
attn com.steema.teechart.exports.editors.BMPOptions.Load(BMPOptions.java:31)
attn com.steema.teechart.exports.editors.BMPOptions. <init>(BMPOptions.java:21)
attn com.steema.teechart.editors.export.BMPEditor.getOptions(BMPEditor.java:25)
...

I'm using the same source codes example and libraries sent in the previous topic! I am sending (by e-mail) a video (*. avi) to show the steps to generate this issue.

I wait for the correction of this issue!

Cheers,

Ricardo and Secundino.

Posted: Wed Sep 05, 2007 2:52 pm
by narcis
Hello Ricardo and Secundino,

Thanks for the information. I've been able to reproduce the issue here and added it (TJ71012438) to our defect list to be fixed for future releases. However, I've also checked that exporting is working fine despite the error.

Posted: Thu Sep 06, 2007 12:29 am
by Tom
Hi,

To solve this issue, go to the resource bundle of your language: com.steema.teechart.languages.

the default resource is languages.properties

add the following to it:

COMPRESSION_LEVEL=Compression Level
GrayScale=Grayscale

You can change this in your preferred language as well.

Regards,
Tom.