Novell Home

My Favorites

Close

Please to see your favorites.

JAVA Number format exception while loading Financial Details in a contract

This document (7012833) is provided subject to the disclaimer at the end of this document.

Environment

Novell ZENworks Asset Management 11.2

Situation

Locale is one that uses "," as a decimal separator, instead of "." (for example France, Germany).

In ZCC, browse to Asset Management > Contract Management > Contracts > {Pick a contract that has some value in 'Total Cost'} > Financial
ERROR:
java.lang.NumberFormatException: For input string: "24,0"
    at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1222)
    at java.lang.Double.parseDouble(Double.java:510)
    at
com.novell.zenworks.admin.pages.contracts.FinancialDetails.monthsBetween(FinancialDetails.java:266)
    at
com.novell.zenworks.admin.pages.contracts.FinancialDetails.prerender(FinancialDetails.java:145)


Resolution

This is fixed in version 11.2.3a - see TID 7011295 "ZENworks Configuration Management 11.2.3a - update information and list of fixes" which can be found at http://www.novell.com/support/search.do?usemicrosite=true&searchString=7011295

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7012833
  • Creation Date:11-JUL-13
  • Modified Date:11-JUL-13
    • NovellZENworks Asset Management

Did this document solve your problem? Provide Feedback