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

Getting exception on click of submit

SA-33132

Summary



Application is migrated from Pega 5.5 to 7.2. User-1 when accesses the application sees JavaScript error as below while clicking on submit button. There are JavaScript errors in the browser console. This JavaScript error is observed in other use cases too. User-2 as Manager when accesses the same use case, it works and does not give Java Script error.

Exceptions:NullPointerException in SafeURL.put(key,value) {inStandardsMode}
NullPointerException in SafeURL.put(key,value) {FormError}.{Undefined}
NullPointerException in SafeURL.put(key,value) {FieldError}.{undefined}

Application is accessed in compatibility mode.

Error Messages



Exceptions:NullPointerException in SafeURL.put(key,value) {inStandardsMode}
NullPointerException in SafeURL.put(key,value) {FormError}.{Undefined}
NullPointerException in SafeURL.put(key,value) {FieldError}.{undefined}


Steps to Reproduce

  1. Launch the application
  2. Launch the work manager portal
  3. Access the use case from the portal which launches the form.
  4. Enter few values in the form and click submit
  5. Actual Behavior: JavaScript errors as mentioned in the Error Messages are observed.
  6. Expected Behavior: No JavaScript errors should be observed.


Root Cause



The use case is launched from work manager portal which is of type Fixed(also known as traditional). Fixed portal has been deprecated since Pega 7.

Resolution



Pega 7, fixed portals have to be re-designed as composite portals. Also, Pega will not provide any hotfixes in Pega7 for fixed portals as they are not supported.
Suggest Edit

Published February 4, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

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.

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