Skip to main content
Waters

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

Article number: 2661

SYMPTOMS

  • 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

ENVIRONMENT

  • NuGenesis 9 SDMS
  • NuGenesis 8 SDMS

CAUSE

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.

FIX or WORKAROUND

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.

ADDITIONAL INFORMATION

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)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)/p>

id2661, SDMS, SDMS8, SDMS8NU, SUPISDMS, SUPNG

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