java.lang.NullPointerException

Stack Overflow | Long Tran | 4 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.fit5042.controllers.PublicAccountController.intiialise()
  2. com.fit5042.controllers
    PublicAccountController.intiialise
    1. com.fit5042.controllers.PublicAccountController.intiialise(PublicAccountController.java:42)
    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. Weld Implementation
    AbstractWeldELResolver.getValue
    1. org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:98)
    2. org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:81)
    3. org.jboss.weld.injection.producer.BasicInjectionTarget.postConstruct(BasicInjectionTarget.java:114)
    4. org.jboss.weld.injection.producer.BeanInjectionTarget.postConstruct(BeanInjectionTarget.java:70)
    5. org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:153)
    6. org.jboss.weld.util.bean.IsolatedForwardingBean.create(IsolatedForwardingBean.java:44)
    7. org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96)
    8. org.jboss.weld.context.PassivatingContextWrapper$AbstractPassivatingContextWrapper.get(PassivatingContextWrapper.java:76)
    9. org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:740)
    10. org.jboss.weld.el.AbstractWeldELResolver.lookup(AbstractWeldELResolver.java:107)
    11. org.jboss.weld.el.AbstractWeldELResolver.getValue(AbstractWeldELResolver.java:90)
    11 frames
  5. EL
    CompositeELResolver.getValue
    1. javax.el.CompositeELResolver.getValue(CompositeELResolver.java:188)
    1 frame
  6. 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
  7. EL
    ValueExpressionImpl.getValue
    1. com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:116)
    2. com.sun.el.parser.AstValue.getBase(AstValue.java:151)
    3. com.sun.el.parser.AstValue.getValue(AstValue.java:200)
    4. com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:226)
    4 frames
  8. Weld Implementation
    WeldValueExpression.getValue
    1. org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:50)
    1 frame
  9. JSF
    UILeaf.encodeAll
    1. com.sun.faces.facelets.el.ELText$ELTextVariable.writeText(ELText.java:238)
    2. com.sun.faces.facelets.compiler.TextInstruction.write(TextInstruction.java:85)
    3. com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:82)
    4. com.sun.faces.facelets.compiler.UILeaf.encodeAll(UILeaf.java:183)
    4 frames
  10. JavaEE 7
    UIComponent.encodeAll
    1. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
    2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
    2 frames
  11. 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
  12. JavaEE 7
    ViewHandlerWrapper.renderView
    1. javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
    1 frame
  13. 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
  14. JavaEE 7
    FacesServlet.service
    1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:647)
    1 frame
  15. 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
  16. Glassfish
    WebPipeline.invoke
    1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)
    1 frame
  17. 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
  18. 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
  19. 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
  20. 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
  21. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame