Support Article
OfferFlow failed to launch with NumberFormatException
Summary
When opening an Offer flow from the Pega Marketing Portal, the flow fails to launch with Rule-Not-Found message.
In the log file is there is a NumberformatException corresponding to the actions being undertaken.
Error Messages
2017-03-22 09:27:43,501 [tp-bio-8080-exec-388] [TABTHREAD1] [ ] [ <your_application>:01.01.01] (_Definition_Interaction.Action) ERROR <your_server>|127.0.0.1 <your_user> - Unable to query VBD: For input string: "0,01"
2017-03-22 09:57:59,246 [tp-bio-8080-exec-244] [TABTHREAD2] [ ] [ <your_application>:01.01.01] ( internal.mgmt.Executable) ERROR <your_server>|127.0.0.1 <your_user> - Exception
java.lang.NumberFormatException: For input string: "0,01"
at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
at sun.misc.FloatingDecimal.parseDouble(Unknown Source)
at java.lang.Double.parseDouble(Unknown Source)
at com.pega.decision.vbd.service.impl.VBDServiceImpl.query(VBDServiceImpl.java:86)
at com.pegarules.generated.activity.ra_action_loadofferinteractionstatistics_98b3cb8b40bd91e07bcd01290c2734a2.step1_circum0(ra_action_loadofferinteractionstatistics_98b3cb8b40bd91e07bcd01290c2734a2.java:175)
Steps to Reproduce
Use a server configured with Locale that uses decimal comma instead of point as a seperator.
Intermittent issue opening an Offer Flow - Rule not found is displayed sometimes when we open an Offer flow from the Pega Marketing Portal. Same behaviour from Designer Studio.
1) Configure application server with locale that uses decimal comma (example: fr_FR).
2) Populate a Visual Business Director (VBD) dataset with data.
3) Execute a VBD query by launching VBD planner. VBD Planner should be able to present data from dataset.
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Apply HFix-33452.
Published May 15, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.