javax.faces.el.EvaluationException: org.apache.jasper.el.JspELException: /Login.jsp(63,9) '#{pc_Login.doBtnLoginAction}' java.lang.NullPointerException

Stack Overflow | Ahmed Anwar | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Injecting Entity Manager automatically in JPA 2.0

    Stack Overflow | 7 months ago | Ahmed Anwar
    javax.faces.el.EvaluationException: org.apache.jasper.el.JspELException: /Login.jsp(63,9) '#{pc_Login.doBtnLoginAction}' java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at beans.Controller.checkAuthentication()
    2. beans
      Controller.checkAuthentication
      1. beans.Controller.checkAuthentication(Controller.java:157)
      1 frame
    3. pagecode
      Login.doBtnLoginAction
      1. pagecode.Login.doBtnLoginAction(Login.java:72)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      4. java.lang.reflect.Method.invoke(Method.java:611)
      4 frames
    5. Pax Jsp
      JspMethodExpression.invoke
      1. org.apache.el.parser.AstValue.invoke(AstValue.java:268)
      2. org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278)
      3. org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:70)
      3 frames
    6. JavaEE 7
      _MethodExpressionToMethodBinding.invoke
      1. javax.faces.component._MethodExpressionToMethodBinding.invoke(_MethodExpressionToMethodBinding.java:88)
      1 frame
    7. Impl
      ActionListenerImpl.processAction
      1. org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:100)
      1 frame
    8. JavaEE 7
      UIViewRoot.processApplication
      1. javax.faces.component.UICommand.broadcast(UICommand.java:120)
      2. javax.faces.component.UIViewRoot._broadcastAll(UIViewRoot.java:973)
      3. javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:275)
      4. javax.faces.component.UIViewRoot._process(UIViewRoot.java:1285)
      5. javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:711)
      5 frames
    9. Impl
      LifecycleImpl.execute
      1. org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:34)
      2. org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:172)
      3. org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:119)
      3 frames
    10. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)
      1 frame
    11. WebSphere
      WSWebContainer.handleRequest
      1. com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1227)
      2. com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:776)
      3. com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:458)
      4. com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
      5. com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1032)
      6. com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
      7. com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:909)
      8. com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
      8 frames
    12. com.ibm.ws
      WCChannelLink.ready
      1. com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
      1 frame
    13. WebSphere
      AioReadCompletionListener.futureCompleted
      1. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
      2. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
      3. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
      4. com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
      5. com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
      5 frames
    14. com.ibm.io
      ResultHandler$2.run
      1. com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
      2. com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
      3. com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
      4. com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
      5. com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
      6. com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
      6 frames
    15. com.ibm.ws
      ThreadPool$Worker.run
      1. com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
      1 frame