DK101010 commented on issue #4733:
URL: https://github.com/apache/cloudstack/issues/4733#issuecomment-809204199
> Hi @chriscc12345,
> I had a similar problem. In my case switch my system locals to german and
replace all decimal separators to comma instead of dot. the result was an
exception in backend and a 431 in the frontend.
>
> Perhaps it helps
Hi, in my case, the error occurs in HostDaoImpl.java in line 165.
DecimalFormat decimalFormat = new DecimalFormat("#.##"); This object use the
jvm locals to decide which separator should be used. the jvm locals depends on
the sytem/user locals
During my search I switch my system locals to english but the error continue
occurs. After this I checked jvm settings (java -XshowSettings -version | grep
lang) and find out that my default format language was already german. After a
system reboot, my jvm settings switch to english. Not quite sure but I think
the jvm setting will be set on time during the start of the jvm. Additional
changes after this start have no effects.
I hope it helps.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]