Null Pointer Exception seen upon logging in after upgrading to TIBCO LogLogic LMI 5.1.0
book
Article ID: KB0077479
calendar_today
Updated On: 07-26-2016
TIBCO LogLogic Log Management Intelligence
5.1.0
Show More
Show Less
Description
The error below is shown after attempting to log into the appliance after updating to LSP18 and 5.1.0. This is caused by an LSP that did not successfully install.HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.springframework.security.BadCredentialsException: Server error encountered. Code - 43001; nested exception is java.lang.NullPointerException com.loglogic.logapp.spring.security.LoginAuthenticationProcessingFilter.doSession(LoginAuthenticationProcessingFilter.java:131) com.loglogic.logapp.spring.security.LoginAuthenticationProcessingFilter.successfulAuthentication(LoginAuthenticationProcessingFilter.java:45) org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:272) org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:277) org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89) org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175) org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236) org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) The root cause is related to this stack trace:java.lang.NullPointerException com.loglogic.logapp.utils.xmlutil.JAXBInvoker.loadXMLFile(JAXBInvoker.java:176) com.loglogic.logapp.llapi.AbstractLlapiBase.readFromApi(AbstractLlapiBase.java:77) com.loglogic.logapp.llapi.NetworkConfig.loadNetworkConfig(NetworkConfig.java:37) com.loglogic.logapp.llapi.NetworkConfig.getHostName(NetworkConfig.java:79) com.loglogic.logapp.setting.SettingHandler.getNetworkConfig(SettingHandler.java:1425) com.loglogic.logapp.setting.SettingHandler.getNetworkSetting(SettingHandler.java:1410) com.loglogic.logapp.common.CommonUtil.setLocalIPInfoCache(CommonUtil.java:191) com.loglogic.logapp.common.CommonUtil.findApplianceIp(CommonUtil.java:267) com.loglogic.logapp.appliancelog.AppLog.getThisIp(AppLog.java:698) com.loglogic.logapp.appliancelog.AppLog.getTargetIP(AppLog.java:723) com.loglogic.logapp.appliancelog.AppLog.logActionStatus(AppLog.java:577) com.loglogic.logapp.appliancelog.AppLog.logActionStatus(AppLog.java:524) com.loglogic.logapp.appliancelog.AppLog.logActionStatus(AppLog.java:519) com.loglogic.logapp.appliancelog.AppLog.logActionStatus(AppLog.java:514) com.loglogic.logapp.spring.security.LoginAuthenticationProcessingFilter.logLoginRequest(LoginAuthenticationProcessingFilter.java:140) com.loglogic.logapp.spring.security.LoginAuthenticationProcessingFilter.doSession(LoginAuthenticationProcessingFilter.java:117) com.loglogic.logapp.spring.security.LoginAuthenticationProcessingFilter.successfulAuthentication(LoginAuthenticationProcessingFilter.java:45) org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:272) org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:277) org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89) org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175) org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236) org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) Note: The full stack trace of the root cause is available in the Apache Tomcat/6.0.29 logs.
Issue/Introduction
This article explains how to fix the null pointer exception that you may see after upgrading to LogLogic LMI 5.1.0.
Resolution
The solution is to execute the LSP reinstall script located at /loglogic/conf/lsp_packages/reinstall_lsp .
Feedback
thumb_up
Yes
thumb_down
No