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

java.lang.NumberFormatException: For input string: "Mobile"

SA-76349

Summary



When selecting a radio  button from a table layout sourced by a page group, the User Interface is unresponsive and error occurs in the Tracer.


Error Messages



java.lang.NumberFormatException "@BASECLASS SETOTHERRADIOTOFALSE".
java.lang.NumberFormatException: For input string: "Mobile"



Steps to Reproduce

  1. Use Page Group as the source of a Table layout.
  2. Add a radio button for each row for selection.


Root Cause



A defect in Pegasystems’ code or rules.
The below line of code in the SETOTHERRADIOTOFALSE activity caused the issue since the Page Group did not use the index to access each page.


int rowNumber = Integer.parseInt(rowPageRef.substring(propertyReference.lastIndexOf('(') + 1, propertyReference.lastIndexOf(')'))); 

Resolution



Perform the following local-change:

Include the code in a Try Catch block and ignore the exception because the Page Group does not require the code to be executed.
Suggest Edit

Published August 15, 2019 - Updated December 2, 2021

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