Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Unable to create Unit Test Case



Try to create a unit test case for a data page in a localized application (Locale :nl_NL).

After running the data page, click on the "Convert to Test", complete the rule form and click on "Create and Close" button. An error is coming up as below:

This record has 1 Error in 1 place

Error—** Quick CreateERROR: Save failed** Java generation failed: For input string: "0,085"

Error Messages

Error—** Quick CreateERROR: Save failed** Java generation failed: For input string: "0,085"

Steps to Reproduce

1. Create a unit test case for a data page.
2. Run the data page and press the button "Convert to Test". 
3. Complete the rule form with assertions and then try to save the rule using the "Create and Close" button.
4. Observe that the test case is not created and the above error is seen.

Note that the issue is reproducible only when the server and db is set up with Dutch language.

Root Cause

A defect in Pegasystems’ code or rules: When Dutch language is set up, it uses comma instead of dot for decimal number, hence decimal formatting was failing, hence causing the issue.


Apply HFix-30795.


Published January 4, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us