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

Exception while processing the activity DeleteUnusedCSSFiles

SA-849

Summary



Users have observed few exceptions in the PegaRULES log while processing Pega-RulesEngine DeleteUnusedCSSFiles.

Error Messages



java.lang.NumberFormatException: For input string: "nu"
 at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1312)
 at java.lang.Double.parseDouble(Double.java:551)
 at com.pega.pegarules.priv.FUAUtil.parseInt(FUAUtil.java:311)
 at com.pegarules.generated.activity.ra_action_pzaddruleevent_d738a39be17a8a41345265b09e0ca2a4.step4_circum0(ra_action_pzaddruleevent_d738a39be17a8a41345265b09e0ca2a4.java:553)
 at com.pegarules.generated.activity.ra_action_pzaddruleevent_d738a39be17a8a41345265b09e0ca2a4.perform(ra_action_pzaddruleevent_d738a39be17a8a41345265b09e0ca2a4.java:133)
 at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3040)
 at com.pegarules.generated.activity.ra_action_pzruledeletetrigger_b01b63c93555ac5be0b1f23d2b014bf7.step5_circum0(ra_action_pzruledeletetrigger_b01b63c93555ac5be0b1f23d2b014bf7.java:534)
 at com.pegarules.generated.activity.ra_action_pzruledeletetrigger_b01b63c93555ac5be0b1f23d2b014bf7.perform(ra_action_pzruledeletetrigger_b01b63c93555ac5be0b1f23d2b014bf7.java:140)
 at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3040)
 at com.pega.pegarules.exec.internal.declare.infengine.ChainingEngineUtilImpl.runActivity(ChainingEngineUtilImpl.java:217)
 at com.pega.pegarules.exec.internal.declare.infengine.TriggerImpl.evaluateNetworks(TriggerImpl.java:307)
 at com.pega.pegarules.data.internal.access.DatabaseImpl.performTriggers(DatabaseImpl.java:12045)
 at com.pega.pegarules.data.internal.access.DatabaseImpl.delete(DatabaseImpl.java:5604)
 at com.pegarules.generated.activity.ra_action_pzdeleteorphancss_c11e4faf39a303917ce7e4bacbe720db.step4_circum0_Rule_File_Text(ra_action_pzdeleteorphancss_c11e4faf39a303917ce7e4bacbe720db.java:630)
 at com.pegarules.generated.activity.ra_action_pzdeleteorphancss_c11e4faf39a303917ce7e4bacbe720db.perform(ra_action_pzdeleteorphancss_c11e4faf39a303917ce7e4bacbe720db.java:153)
 at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3040)
 at com.pega.pegarules.session.internal.async.agent.QueueProcessor.runActivity(QueueProcessor.java:696)
 at com.pega.pegarules.session.internal.async.agent.QueueProcessor.execute(QueueProcessor.java:577)
 
 

Steps to Reproduce



Restart Agent Pega-RulesEngine DeleteUnusedCSSFiles 
Frequency of agent processing is once for a day (86400 seconds) which makes a call to an activity Rule-File-Text.pzDeleteOrphanCSS

Root Cause



User has installed HFix-8760 along with the dependent HFix-6646 (changes in the activity pzDeleteOrphanCSS). After installing HFix-8760, user should restart the server after clearing the cache tables, system cache (temp folder contents) and the browser cache.

In Tracer, it was evident that pzDeleteOrphanCSS activity from an older RuleSet was picked up by the Agent and not from the RuleSet version defined in the HFix-6646.
 

Resolution



On clearing the cache and restarting the server, updates in the activity pzDeleteOrphanCSS introduced under HFix-6646 were picked up which has helped resolve the reported issue.

 
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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