java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.NullPointerException at xx.controller.HomeController.setBatchId(HomeController.java:70)[classes:] at xx.controller.HomeController.getBatchId(HomeController.java:65)[classes:] at xx.controller.HomeController$Proxy$_$$_WeldClientProxy.getBatchId(HomeController$Proxy$_$$_WeldClientProxy.java)[classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[rt.jar:1.6.0_30] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[rt.jar:1.6.0_30] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[rt.jar:1.6.0_30] at java.lang.reflect.Method.invoke(Unknown Source)[rt.jar:1.6.0_30] at javax.el.BeanELResolver.getValue(BeanELResolver.java:302)[jboss-el-api_2.2_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1] at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)[jsf-impl-2.2.10.jar:2.2.10] at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)[jsf-impl-2.2.10.jar:2.2.10] at org.apache.el.parser.AstValue.getValue(AstValue.java:169)[jbossweb-7.0.17.Final-redhat-1.jar:] at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189)[jbossweb-7.0.17.Final-redhat-1.jar:] at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:50)[weld-core-1.1.10.Final-redhat-1.jar:1.1.10.Final-redhat-1] at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)[jsf-impl-2.2.10.jar:2.2.10] at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194)[jsf-api-2.2.10.jar:2.2] at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:182)[jsf-api-2.2.10.jar:2.2] at javax.faces.component.UIOutput.getValue(UIOutput.java:174)[jsf-api-2.2.10.jar:2.2] at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:205)[jsf-impl-2.2.10.jar:2.2.10] at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:355)[jsf-impl-2.2.10.jar:2.2.10] at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:164)[jsf-impl-2.2.10.jar:2.2.10] at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:919)[jsf-api-2.2.10.jar:2.2] at org.primefaces.renderkit.CoreRenderer.renderChild(CoreRenderer.java:88)[primefaces-5.2.1.jar:5.2.1] at org.primefaces.renderkit.CoreRenderer.renderChildren(CoreRenderer.java:71)[primefaces-5.2.1.jar:5.2.1] at org.primefaces.component.fieldset.FieldsetRenderer.encodeContent(FieldsetRenderer.java:94)[primefaces-5.2.1.jar:5.2.1] at org.primefaces.component.fieldset.FieldsetRenderer.encodeMarkup(FieldsetRenderer.java:76)[primefaces-5.2.1.jar:5.2.1] at org.primefaces.component.fieldset.FieldsetRenderer.encodeEnd(FieldsetRenderer.java:47)[primefaces-5.2.1.jar:5.2.1] at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:919)[jsf-api-2.2.10.jar:2.2] at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)[jsf-api-2.2.10.jar:2.2] at javax.faces.render.Renderer.encodeChildren(Renderer.java:176)[jsf-api-2.2.10.jar:2.2] at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:889)[jsf-api-2.2.10.jar:2.2] at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1856)[jsf-api-2.2.10.jar:2.2] at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)[jsf-api-2.2.10.jar:2.2] at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)[jsf-api-2.2.10.jar:2.2] at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:456)[jsf-impl-2.2.10.jar:2.2.10] at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:133)[jsf-impl-2.2.10.jar:2.2.10] at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)[jsf-api-2.2.10.jar:2.2] at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)[jsf-api-2.2.10.jar:2.2] at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)[jsf-impl-2.2.10.jar:2.2.10] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)[jsf-impl-2.2.10.jar:2.2.10] at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)[jsf-impl-2.2.10.jar:2.2.10] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:647)[jsf-api-2.2.10.jar:2.2] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)[jbossweb-7.0.17.Final-redhat-1.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)[jbossweb-7.0.17.Final-redhat-1.jar:] at org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:100)[primefaces-5.2.1.jar:5.2.1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)[jbossweb-7.0.17.Final-redhat-1.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)[jbossweb-7.0.17.Final-redhat-1.jar:] at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)[weld-core-1.1.10.Final-redhat-1.jar:1.1.10.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)[jbossweb-7.0.17.Final-redhat-1.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)[jbossweb-7.0.17.Final-redhat-1.jar:] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)[jbossweb-7.0.17.Final-redhat-1.jar:] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)[jbossweb-7.0.17.Final-redhat-1.jar:] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)[jbossweb-7.0.17.Final-redhat-1.jar:] at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)[jboss-as-jpa-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)[jboss-as-web-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)[jbossweb-7.0.17.Final-redhat-1.jar:] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)[jbossweb-7.0.17.Final-redhat-1.jar:] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)[jbossweb-7.0.17.Final-redhat-1.jar:] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:372)[jbossweb-7.0.17.Final-redhat-1.jar:] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)[jbossweb-7.0.17.Final-redhat-1.jar:] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679)[jbossweb-7.0.17.Final-redhat-1.jar:] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931)[jbossweb-7.0.17.Final-redhat-1.jar:] at java.lang.Thread.run(Unknown Source)[rt.jar:1.6.0_30]
No Bugmate found.