javax.el.ELException: /editVehicule.xhtml @35,117 value="#{editerBean.editVehicule.immatriculation}": java.lang.NullPointerException

openclassrooms.com | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Java.lang NullPointerException jsf

    openclassrooms.com | 6 months ago
    javax.el.ELException: /editVehicule.xhtml @35,117 value="#{editerBean.editVehicule.immatriculation}": java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at parc_auto.bean.EditerBean.geteditVehicule()
    2. parc_auto.bean
      EditerBean.geteditVehicule
      1. parc_auto.bean.EditerBean.geteditVehicule(EditerBean.java:291)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:601)
      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
      UIInput.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)
      4. javax.faces.component.UIInput.getValue(UIInput.java:291)
      4 frames
    10. primefaces
      InputTextRenderer.encodeEnd
      1. org.primefaces.util.ComponentUtils.getValueToRender(ComponentUtils.java:77)
      2. org.primefaces.component.inputtext.InputTextRenderer.encodeMarkup(InputTextRenderer.java:71)
      3. org.primefaces.component.inputtext.InputTextRenderer.encodeEnd(InputTextRenderer.java:52)
      3 frames
    11. JavaEE 7
      UIComponent.encodeAll
      1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:924)
      2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
      2 frames
    12. primefaces
      PanelGridRenderer.encodeEnd
      1. org.primefaces.component.panelgrid.PanelGridRenderer.encodeDynamicBody(PanelGridRenderer.java:127)
      2. org.primefaces.component.panelgrid.PanelGridRenderer.encodeTableBody(PanelGridRenderer.java:98)
      3. org.primefaces.component.panelgrid.PanelGridRenderer.encodeTableLayout(PanelGridRenderer.java:65)
      4. org.primefaces.component.panelgrid.PanelGridRenderer.encodeEnd(PanelGridRenderer.java:37)
      4 frames
    13. JavaEE 7
      UIComponentBase.encodeEnd
      1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:924)
      1 frame
    14. primefaces
      PanelRenderer.encodeEnd
      1. org.primefaces.renderkit.CoreRenderer.renderChild(CoreRenderer.java:83)
      2. org.primefaces.renderkit.CoreRenderer.renderChildren(CoreRenderer.java:66)
      3. org.primefaces.component.panel.PanelRenderer.encodeContent(PanelRenderer.java:206)
      4. org.primefaces.component.panel.PanelRenderer.encodeMarkup(PanelRenderer.java:123)
      5. org.primefaces.component.panel.PanelRenderer.encodeEnd(PanelRenderer.java:58)
      5 frames
    15. JavaEE 7
      UIComponent.encodeAll
      1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:924)
      2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
      3. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
      3 frames
    16. primefaces
      WizardRenderer.encodeEnd
      1. org.primefaces.component.wizard.WizardRenderer.encodeCurrentStep(WizardRenderer.java:173)
      2. org.primefaces.component.wizard.WizardRenderer.encodeContent(WizardRenderer.java:202)
      3. org.primefaces.component.wizard.WizardRenderer.encodeMarkup(WizardRenderer.java:158)
      4. org.primefaces.component.wizard.WizardRenderer.encodeEnd(WizardRenderer.java:62)
      4 frames
    17. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:924)
      2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
      3. javax.faces.render.Renderer.encodeChildren(Renderer.java:176)
      4. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:894)
      4 frames
    18. primefaces
      DialogRenderer.encodeEnd
      1. org.primefaces.renderkit.CoreRenderer.renderChild(CoreRenderer.java:79)
      2. org.primefaces.renderkit.CoreRenderer.renderChildren(CoreRenderer.java:66)
      3. org.primefaces.renderkit.CoreRenderer.renderChild(CoreRenderer.java:81)
      4. org.primefaces.renderkit.CoreRenderer.renderChildren(CoreRenderer.java:66)
      5. org.primefaces.component.dialog.DialogRenderer.encodeContent(DialogRenderer.java:180)
      6. org.primefaces.component.dialog.DialogRenderer.encodeMarkup(DialogRenderer.java:109)
      7. org.primefaces.component.dialog.DialogRenderer.encodeEnd(DialogRenderer.java:47)
      7 frames
    19. JavaEE 7
      UIComponent.encodeAll
      1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:924)
      2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
      3. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
      4. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
      5. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
      5 frames
    20. JSF
      MultiViewHandler.renderView
      1. com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:443)
      2. com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
      2 frames
    21. JavaEE 7
      ViewHandlerWrapper.renderView
      1. javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
      2. javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
      2 frames
    22. 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
    23. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:647)
      1 frame
    24. 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
    25. Glassfish
      WebPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)
      1 frame
    26. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)
      2. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:357)
      3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:260)
      3 frames
    27. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:188)
      1 frame
    28. Grizzly Server
      HttpServerFilter.handleRead
      1. org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191)
      2. org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168)
      3. org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189)
      3 frames
    29. Grizzly
      AbstractThreadPool$Worker.run
      1. org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
      2. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)
      3. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)
      4. org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)
      5. org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)
      6. org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
      7. org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)
      8. org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)
      9. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
      10. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
      11. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
      12. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)
      13. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)
      13 frames
    30. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame