I have an exception raised everytime I try to display a numeric value in a Report.
Here is my configuration:
Ignition : Version 7.8.1 (b2016012216)
Java : Oracle Corporation 1.8.0_40 (On Gateway)
OS : Linux 64 bits
Locale : fr_FR
This is easily reproducible. I start from a freshly lauched Designer. I create a new Report and a new datasource (MySQL):
SELECT 'Label 1' as 'Label', 2 as 'Value' FROM DUAL UNION SELECT 'Label 2' as 'Label', 3 as 'Value' FROM DUAL
I then drag and drop my query from the Key Browser to the Design part. It automatically creates a Table.
I set the first column to display ‘Label’ and the second to display ‘Value’.
I click on “Preview” and get a java.util.IllegalArgumentException : Malformed format string “#0,##”.
The things I tried:
[li]Removing the display of the Value in the second column allows me to have a preview which shows my Labels correctly (but, of course, without my values…)[/li]
[li]Trying to set another Number Format, in the Property Inspector pops up an error Windows when I click on “OK” after selecting the Number Format. The error window is without message but with the following compact details:[/li]
caused by IllegalArgumentException: Malformed format string “#0,##”
Ignition v7.8.1 (b2016012216)
Java: Oracle Corporation 1.8.0_73[/code][/li][/ul]
Seeing the Java Version, I guess it comes from the Designer side (This is the version currently installed on my computer).
Am I doing something wrong ?
Thank you in advance.