javax.el.ELException: /public/account.xhtml @70,90 value="#{publicAccountController.userType}": java.lang.NullPointerException

Stack Overflow | Long Tran | 2 months ago
  1. 0

    @Named @SessionScoped managed bean failing to inject @Stateless @Remote interface EJB

    Stack Overflow | 2 months ago | Long Tran
    javax.el.ELException: /public/account.xhtml @70,90 value="#{publicAccountController.userType}": java.lang.NullPointerException
  2. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.fit5042.controllers.PublicAccountController.getUserType()
    2. com.fit5042.controllers
      PublicAccountController.getUserType
      1. com.fit5042.controllers.PublicAccountController.getUserType(PublicAccountController.java:65)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    4. EL
      BeanELResolver.getValue
      1. javax.el.BeanELResolver.getValue(BeanELResolver.java:363)
      1 frame
    5. JSF
      DemuxCompositeELResolver.getValue
      1. com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
      2. com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
      2 frames
    6. EL
      ValueExpressionImpl.getValue
      1. com.sun.el.parser.AstValue.getValue(AstValue.java:140)
      2. com.sun.el.parser.AstValue.getValue(AstValue.java:204)
      3. com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:226)
      3 frames
    7. Weld Implementation
      WeldValueExpression.getValue
      1. org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:50)
      1 frame
    8. JSF
      TagValueExpression.getValue
      1. com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)
      1 frame
    9. JavaEE 7
      UIOutput.getValue
      1. javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194)
      2. javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:182)
      3. javax.faces.component.UIOutput.getValue(UIOutput.java:174)
      3 frames
    10. JSF
      LabelRenderer.encodeBegin
      1. com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:205)
      2. com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:355)
      3. com.sun.faces.renderkit.html_basic.LabelRenderer.encodeBegin(LabelRenderer.java:120)
      3 frames
    11. JavaEE 7
      UIComponent.encodeAll
      1. javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:864)
      2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1854)
      3. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
      4. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
      4 frames
    12. JSF
      MultiViewHandler.renderView
      1. com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:456)
      2. com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:133)
      2 frames
    13. JavaEE 7
      ViewHandlerWrapper.renderView
      1. javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
      1 frame
    14. JSF
      LifecycleImpl.render
      1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
      2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)
      3 frames
    15. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:647)
      1 frame
    16. Glassfish Core
      StandardPipeline.invoke
      1. org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)
      2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:318)
      3. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)
      4. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)
      5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)
      5 frames
    17. Glassfish
      WebPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)
      1 frame
    18. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)
      2. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:415)
      3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:282)
      3 frames
    19. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459)
      2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)
      2 frames
    20. Grizzly Server
      HttpServerFilter.handleRead
      1. org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:201)
      2. org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:175)
      3. org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)
      3 frames
    21. Grizzly
      AbstractThreadPool$Worker.run
      1. org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
      2. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
      3. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
      4. org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
      5. org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
      6. org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
      7. org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561)
      8. org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
      9. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
      10. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
      11. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
      12. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
      13. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
      13 frames
    22. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame