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

IllegalArgumentException during section reload

SA-8014

Summary



A section has a drop down on which an onChange event was added and a refresh section is set as the action. The refresh section calls a data transform and no activity call. However upon execution, there is a pop up with the error message IllegalArgumentException.

Error Messages



java.lang.IllegalArgumentException: Trying to set a parameter with invalid name "11%20Testar%20Grove%2C%20CAULFIELD%20NORTH%20%20VIC%20%203161"
    at com.pega.pegarules.pub.runtime.ParameterPage.putString(ParameterPage.java:411)
    at com.pega.pegarules.session.internal.mgmt.Executable.putParamValue(Executable.java:2323)
    at com.pegarules.generated.activity.ra_action_reloadsection_249bf6904c60844af4db358e7c603aba.step3_circum0(ra_action_reloadsection_249bf6904c60844af4db358e7c603aba.java:512)
    at com.pegarules.generated.activity.ra_action_reloadsection_249bf6904c60844af4db358e7c603aba.perform(ra_action_reloadsection_249bf6904c60844af4db358e7c603aba.java:103)
    at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3275)
    at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:640)
    at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:433)
    at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3427)
    at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:402)
    at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    ....


Steps to Reproduce



1) Have a section with a UI control, e.g. a drop down. Set an onChange to trigger a refresh section. Set an activity that has a parameter. Pass a value to that parameter.
2) Run and make sure the section is working ok with the parameter being passed.
3) Edit the section and remove the activity.
4) Run the section again and trigger the refresh section.



Root Cause



The root cause of this problem is a defect in Pegasystems’ code/rules. When the activity is cleared, the section rule is suppose to remove the parameter. But this was left out.


Resolution



This issue is scheduled to be resolved in Maintenance Level (ML) release 7.1.8 (BUG-196408).

Published June 12, 2015 - 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?

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