Skip to main content

Error "java.lang.NumberFormatException" when logging in to the SDMS audit trail viewer - WKB2661

Article number: 2661


  • HTTP error code 500 received when logging in to the SDMS audit trail viewer
  • type Exception report
  • A "java.lang.NumberFormatException" message is displayed in the browser or "java.lang.StringIndexOutOfBoundsExeception:  String index out of range 12
  • Valid SDMS user credentials are entered into the Audit Trail Viewer


  • NuGenesis 9 SDMS
  • NuGenesis 8 SDMS


The audit trail viewer encrypts the user's password before transmitting it to the server. In some cases, the encrypted password can contain an asterisk (*) or percent sign (%), which interferes with the server's ability to parse the encrypted password.


The audit trail viewer uses a pseudo-random number generated by Apache Tomcat as the encryption key. The number is also known as the session ID. In order to get a new session ID, clear the browser's cache and cookies and then restart the browser.

CRI-92 has been filed for this issue.


Full error message from Apache Tomcat:

Exception report

The server encountered an internal error () that prevented it from fulfilling this request.

java.lang.NumberFormatException: For input string: "'^'>"
    java.lang.NumberFormatException.forInputString(Unknown Source)
    java.lang.Integer.parseInt(Unknown Source)
    UserInfo.deurlize(Unknown Source)
    UserInfo.ProcessRequest(Unknown Source)
    NG80Audit.doPost(Unknown Source)

Not able to find a solution? Click here to request help.