Bug 493514 - NPE during login
NPE during login
Status: CLOSED NOTABUG
Product: JBoss Customer Support Portal
Classification: Retired
Component: Web-General (Show other bugs)
AMS Backlog
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nathan Lugert
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-01 23:38 EDT by John Sanda
Modified: 2010-06-16 15:24 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-06-16 15:24:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description John Sanda 2009-04-01 23:38:10 EDT
Description of problem:
I was looking at the prod log today to investigate an an I-T ticket and I came across the following exception that I have seen more than once:

[STDERR] java.lang.NullPointerException
2009-04-01 23:14:57,690 ERROR [STDERR] 	at com.jboss.jbossnetwork.dao.login.issuetracker.LoginDAOBean.logIntoUserService(LoginDAOBean.java:197)
2009-04-01 23:14:57,690 ERROR [STDERR] 	at com.jboss.jbossnetwork.dao.login.issuetracker.LoginDAOBean.loginViaSSOCookie(LoginDAOBean.java:396)
2009-04-01 23:14:57,690 ERROR [STDERR] 	at sun.reflect.GeneratedMethodAccessor846.invoke(Unknown Source)
2009-04-01 23:14:57,690 ERROR [STDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2009-04-01 23:14:57,690 ERROR [STDERR] 	at java.lang.reflect.Method.invoke(Method.java:585)
2009-04-01 23:14:57,690 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
2009-04-01 23:14:57,690 ERROR [STDERR] 	at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
2009-04-01 23:14:57,690 ERROR [STDERR] 	at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:46)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:102)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:211)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at $Proxy195.loginViaSSOCookie(Unknown Source)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at com.jboss.jbossnetwork.ui.actions.LoginAction.jbossExecute(LoginAction.java:85)
2009-04-01 23:14:57,691 ERROR [STDERR] 	at com.jboss.jbossnetwork.ui.actions.JBossAction.execute(JBossAction.java:78)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1192)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:412)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at com.jboss.jbossnetwork.util.EncodingFilter.doFilter(EncodingFilter.java:27)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:87)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
2009-04-01 23:14:57,692 ERROR [STDERR] 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
2009-04-01 23:14:57,693 ERROR [STDERR] 	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
2009-04-01 23:14:57,693 ERROR [STDERR] 	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
2009-04-01 23:14:57,693 ERROR [STDERR] 	at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
2009-04-01 23:14:57,693 ERROR [STDERR] 	at java.lang.Thread.run(Thread.java:595)
2009-04-01 23:14:57,693 ERROR [com.jboss.jbossnetwork.ui.actions.LoginAction] User with Login: 5341503 failed to validate with User Service


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
It is not clear yet if this is causing a loss of functionality. If it is not, then we should be handling it instead of letting it fall through in the logs.
Comment 1 Nathan Lugert 2010-06-16 15:24:46 EDT
Not seeing this in current logs. May have cleared up with refactoring to use JNDI lookup for UserService login.

Note You need to log in before you can comment on or make changes to this bug.