ie actual \0 in the output.
Seems to be one in every few runs, randomly. Rerunning things are fine.
Has anyone else seen anything similar?
dmcg
05/28/2023, 9:38 AM
Ah, is DecimalFormat not thread safe? Doh
Copy code
java.lang.NullPointerException: Cannot store to char array because "this.fastPathData.fastPathContainer" is null
at java.base/java.text.DecimalFormat.resetFastPathData(DecimalFormat.java:1152)
at java.base/java.text.DecimalFormat.checkAndSetFastPathStatus(DecimalFormat.java:1081)
at java.base/java.text.DecimalFormat.fastFormat(DecimalFormat.java:1659)
at java.base/java.text.NumberFormat.format(NumberFormat.java:327)