Article - CS355687

"500 Unexpected Error - Contact your system administrator for more details" is seen after logging into Composer on ThingWorx Platform

Modified: 17-Nov-2022   


Applies To

  • ThingWorx Platform 9.1 F000 to 9.5 F000

Description

  • All users are unable to login to ThingWorx Platform with 500 Unexpected Error
  • After entering the correct credentials at Composer login all users are redirected to a screen that shows 500 Unexpected Error - Contact your system administrator for more details
  • Authentication errors when logging into Composer following fresh install of ThingWorx Platform
  • ThingWorx Platform 9.X.0 systems show 500 Unexpected Error when logging in
    • Later 9.1 Service Packs (e.g. 9.1.7 do not produce this error)
  • UserManagementSubsystem seems to fail on startup of ThingWorx Platform and thus no users can login to Composer
  • <ThingworxStorage>\logs\ApplicationLog.log shows the following:
    • [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: ] [S: ] [P: ] [T: http-nio-<Tomcat Connector Port>-exec-3] null
  • <ThingworxStorage>\logs\ErrorLog.log shows the following:
    • [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: ] [S: ] [P: ] [T: http-nio-<Tomcat Connector Port>-exec-3] null java.lang.NullPointerException: null
          at com.thingworx.security.authentication.AuthenticationUtilities.updateLoginAttempts(AuthenticationUtilities.java:363)
          at com.thingworx.security.authentication.AuthenticationUtilities.validateCredentials(AuthenticationUtilities.java:260)
          at com.thingworx.security.authentication.ThingworxHttpBasicAuthenticator.authenticate(ThingworxHttpBasicAuthenticator.java:65)
          at com.thingworx.security.authentication.ThingworxHttpBasicAuthenticator.validateAuthenticationRequest(ThingworxHttpBasicAuthenticator.java:247)
          at com.thingworx.security.authentication.AuthenticationUtilities.validateAuthenticationRequest(AuthenticationUtilities.java:561)
          ...
This is a printer-friendly version of Article 355687 and may be out of date. For the latest version click CS355687