VMware vRealize Operations Manager generic scoreboard displays the error: java.lang.NumberFormatException: For input string: XX,XX
search cancel

VMware vRealize Operations Manager generic scoreboard displays the error: java.lang.NumberFormatException: For input string: XX,XX

book

Article ID: 343770

calendar_today

Updated On:

Products

VMware VMware Aria Suite

Issue/Introduction

Symptoms:
  • The vRealize Operations Manager (formerly known as vCenter Operations Manager) dashboard does not display widget data correctly.
  • Generic scoreboard metrics display whole numbers only.
  • Generic scoreboard metrics do not display decimal point values.
  • The generic scoreboard metric values display a comma instead of a decimal point.
  • You see the error:

    An error occurred on the page, please contact support.
    Error Message: java.lang.NumberFormatException: For input string: "XX,XX"


  • This issue occurs when you configure a generic scoreboard widget with the Round Decimals dropdown set to 2 decimal points.
  • This issue occurs when you are using non-English language locale settings.


Environment

VMware vCenter Operations Manager vCenter Operations Manager (Standalone) 5.7.x

Resolution

This is a known issue affecting vRealize Operations Manager (formerly known as vCenter Operations Manager) 5.7.1. Currently, there is no resolution.
To work around this issue, add Duser.language=en to the wrapper.conf file and restart the service.
To modify the wrapper.conf file:
  1. Make a backup copy of the wrapper.conf file (located at%ALIVE_BASE%/user/conf/tomcat/).

  2. Open the wrapper.conf file using a text editor.
  3. Add this line:

    wrapper.java.additional.22 = -Duser.language=en

  4. For the changes to take effect, restart the vRealize Operations Manager WebService by running the command:

    net stop vCOpsWebService && net start vCOpsWebService

    Note: After the restart, the generic scoreboard metric values display correctly with a decimal point (.) instead of a comma (,).


Additional Information

To be alerted when this document is updated, click the Subscribe to Article link in the Actions boxVMware vRealize Operations Manager の汎用スコアボードにエラーが出力される:java.lang.NumberFormatException: For input string: XX,XX