技术文章 - CS355687
在 ThingWorx Platform 上登录 Composer 后看到“500 意外错误 - 请联系您的系统管理员了解更多详细信息”
已修改: 20-Feb-2022
适用于
- ThingWorx Platform 9.1 F000 to 9.5 F000
说明
- 所有用户都无法登录 ThingWorx Platform,出现500 意外错误
- 在 Composer 登录时输入正确的凭据后,所有用户都被重定向到显示500 Unexpected Error - 请联系您的系统管理员了解更多详细信息的屏幕
- 全新安装 ThingWorx Platform 后登录 Composer 时出现身份验证错误
- ThingWorx Platform 9.X.0 系统在登录时显示500 Unexpected Error
- 更高版本的 9.1 Service Pack(例如 9.1.7 不会产生此错误)
- UserManagementSubsystem似乎在 ThingWorx Platform 启动时失败,因此没有用户可以登录到 Composer
- <ThingworxStorage>logsApplicationLog.log显示以下内容:
[L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: ] [S: ] [P: ] [T: http-nio-<Tomcat Connector Port>-exec-3] null
- <ThingworxStorage>logsErrorLog.log显示以下内容:
[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) ...
这是文章 355687 的 PDF 版本,可能已过期。最新版本 CS355687