javax.faces.FacesException: #{AdministrateMaterial.createMaterial}: java.lang.Nu llPointerException

ICEsoft JIRA Issue Tracker | Wolfgang Müller | 8 years 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

    {code} 06.04.2009 17:54:06 com.sun.faces.application.ActionListenerImpl processAction SCHWERWIEGEND: java.lang.NullPointerException javax.faces.el.EvaluationException: java.lang.NullPointerException at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(Met hodBindingMethodExpressionAdapter.java:91) at com.sun.faces.application.ActionListenerImpl.processAction(ActionList enerImpl.java:91) at de.mbruns.myfood.actionlisteners.ExceptionHandler.processAction(Unkno wn Source) at de.mbruns.myfood.security.JAASActionListener.processAction(Unknown So urce) at javax.faces.component.UICommand.broadcast(UICommand.java:383) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:7 52) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat ionPhase.java:97) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLife cycleExecutor.java:17) at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(Rec eiveSendUpdates.java:94) at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(Receive SendUpdates.java:54) at com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVer ifier.java:26) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.se rvice(PathDispatcherServer.java:24) at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service (MainSessionBoundServlet.java:160) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(Ses sionDispatcher.java:38) at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.s ervice(ThreadBlockingAdaptingServlet.java:19) at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.serv ice(EnvironmentAdaptingServlet.java:63) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(Sessi onDispatcher.java:55) at com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(Session Verifier.java:19) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDisp atcher.java:23) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet .java:91) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServ let.java:56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at de.mbruns.myfood.utils.ResourceBundleService.getMessageBundle(Unknown Source) at de.mbruns.myfood.utils.FacesContextService.addMessageToContext(Unknow n Source) at de.mbruns.myfood.actionbeans.AdministrateMaterial.createMaterial(Unkn own Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.el.parser.AstValue.invoke(AstValue.java:152) at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:2 76) at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.ja va:68) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(Met hodBindingMethodExpressionAdapter.java:77) ... 36 more 40348 [http-8080-1] FATAL de.mbruns.myfood.actionlisteners.ExceptionHandler - p rocessAction :: #{AdministrateMaterial.createMaterial}: java.lang.NullPointerExc eption javax.faces.FacesException: #{AdministrateMaterial.createMaterial}: java.lang.Nu llPointerException at com.sun.faces.application.ActionListenerImpl.processAction(ActionList enerImpl.java:107) at de.mbruns.myfood.actionlisteners.ExceptionHandler.processAction(Unkno wn Source) at de.mbruns.myfood.security.JAASActionListener.processAction(Unknown So urce) at javax.faces.component.UICommand.broadcast(UICommand.java:383) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:7 52) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat ionPhase.java:97) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLife cycleExecutor.java:17) at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(Rec eiveSendUpdates.java:94) at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(Receive SendUpdates.java:54) at com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVer ifier.java:26) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.se rvice(PathDispatcherServer.java:24) at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service (MainSessionBoundServlet.java:160) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(Ses sionDispatcher.java:38) at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.s ervice(ThreadBlockingAdaptingServlet.java:19) at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.serv ice(EnvironmentAdaptingServlet.java:63) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(Sessi onDispatcher.java:55) at com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(Session Verifier.java:19) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDisp atcher.java:23) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet .java:91) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServ let.java:56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7) at java.lang.Thread.run(Unknown Source) Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(Met hodBindingMethodExpressionAdapter.java:91) at com.sun.faces.application.ActionListenerImpl.processAction(ActionList enerImpl.java:91) ... 35 more Caused by: java.lang.NullPointerException at de.mbruns.myfood.utils.ResourceBundleService.getMessageBundle(Unknown Source) at de.mbruns.myfood.utils.FacesContextService.addMessageToContext(Unknow n Source) at de.mbruns.myfood.actionbeans.AdministrateMaterial.createMaterial(Unkn own Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.el.parser.AstValue.invoke(AstValue.java:152) at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:2 76) at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.ja va:68) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(Met hodBindingMethodExpressionAdapter.java:77) ... 36 more context: null bundleName: de.mbruns.myfood.resourcebundles.messages 06.04.2009 17:54:06 com.sun.faces.lifecycle.LifecycleImpl phase WARNUNG: executePhase(INVOKE_APPLICATION 5,com.icesoft.faces.context.BridgeFaces Context@f6e15e) threw exception javax.faces.FacesException at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat ionPhase.java:105) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLife cycleExecutor.java:17) at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(Rec eiveSendUpdates.java:94) at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(Receive SendUpdates.java:54) at com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVer ifier.java:26) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.se rvice(PathDispatcherServer.java:24) at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service (MainSessionBoundServlet.java:160) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(Ses sionDispatcher.java:38) at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.s ervice(ThreadBlockingAdaptingServlet.java:19) at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.serv ice(EnvironmentAdaptingServlet.java:63) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(Sessi onDispatcher.java:55) at com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(Session Verifier.java:19) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDisp atcher.java:23) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet .java:91) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServ let.java:56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at de.mbruns.myfood.utils.ResourceBundleService.getMessageBundle(Unknown Source) at de.mbruns.myfood.utils.FacesContextService.addMessageToContext(Unknow n Source) at de.mbruns.myfood.actionlisteners.ExceptionHandler.processAction(Unkno wn Source) at de.mbruns.myfood.security.JAASActionListener.processAction(Unknown So urce) at javax.faces.component.UICommand.broadcast(UICommand.java:383) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:7 52) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat ionPhase.java:97) ... 29 more {code}

    ICEsoft JIRA Issue Tracker | 8 years ago | Wolfgang Müller
    javax.faces.FacesException: #{AdministrateMaterial.createMaterial}: java.lang.Nu llPointerException
  2. 0

    {code} 06.04.2009 17:54:06 com.sun.faces.application.ActionListenerImpl processAction SCHWERWIEGEND: java.lang.NullPointerException javax.faces.el.EvaluationException: java.lang.NullPointerException at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(Met hodBindingMethodExpressionAdapter.java:91) at com.sun.faces.application.ActionListenerImpl.processAction(ActionList enerImpl.java:91) at de.mbruns.myfood.actionlisteners.ExceptionHandler.processAction(Unkno wn Source) at de.mbruns.myfood.security.JAASActionListener.processAction(Unknown So urce) at javax.faces.component.UICommand.broadcast(UICommand.java:383) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:7 52) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat ionPhase.java:97) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLife cycleExecutor.java:17) at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(Rec eiveSendUpdates.java:94) at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(Receive SendUpdates.java:54) at com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVer ifier.java:26) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.se rvice(PathDispatcherServer.java:24) at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service (MainSessionBoundServlet.java:160) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(Ses sionDispatcher.java:38) at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.s ervice(ThreadBlockingAdaptingServlet.java:19) at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.serv ice(EnvironmentAdaptingServlet.java:63) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(Sessi onDispatcher.java:55) at com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(Session Verifier.java:19) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDisp atcher.java:23) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet .java:91) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServ let.java:56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at de.mbruns.myfood.utils.ResourceBundleService.getMessageBundle(Unknown Source) at de.mbruns.myfood.utils.FacesContextService.addMessageToContext(Unknow n Source) at de.mbruns.myfood.actionbeans.AdministrateMaterial.createMaterial(Unkn own Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.el.parser.AstValue.invoke(AstValue.java:152) at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:2 76) at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.ja va:68) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(Met hodBindingMethodExpressionAdapter.java:77) ... 36 more 40348 [http-8080-1] FATAL de.mbruns.myfood.actionlisteners.ExceptionHandler - p rocessAction :: #{AdministrateMaterial.createMaterial}: java.lang.NullPointerExc eption javax.faces.FacesException: #{AdministrateMaterial.createMaterial}: java.lang.Nu llPointerException at com.sun.faces.application.ActionListenerImpl.processAction(ActionList enerImpl.java:107) at de.mbruns.myfood.actionlisteners.ExceptionHandler.processAction(Unkno wn Source) at de.mbruns.myfood.security.JAASActionListener.processAction(Unknown So urce) at javax.faces.component.UICommand.broadcast(UICommand.java:383) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:7 52) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat ionPhase.java:97) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLife cycleExecutor.java:17) at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(Rec eiveSendUpdates.java:94) at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(Receive SendUpdates.java:54) at com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVer ifier.java:26) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.se rvice(PathDispatcherServer.java:24) at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service (MainSessionBoundServlet.java:160) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(Ses sionDispatcher.java:38) at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.s ervice(ThreadBlockingAdaptingServlet.java:19) at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.serv ice(EnvironmentAdaptingServlet.java:63) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(Sessi onDispatcher.java:55) at com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(Session Verifier.java:19) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDisp atcher.java:23) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet .java:91) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServ let.java:56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7) at java.lang.Thread.run(Unknown Source) Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(Met hodBindingMethodExpressionAdapter.java:91) at com.sun.faces.application.ActionListenerImpl.processAction(ActionList enerImpl.java:91) ... 35 more Caused by: java.lang.NullPointerException at de.mbruns.myfood.utils.ResourceBundleService.getMessageBundle(Unknown Source) at de.mbruns.myfood.utils.FacesContextService.addMessageToContext(Unknow n Source) at de.mbruns.myfood.actionbeans.AdministrateMaterial.createMaterial(Unkn own Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.el.parser.AstValue.invoke(AstValue.java:152) at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:2 76) at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.ja va:68) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(Met hodBindingMethodExpressionAdapter.java:77) ... 36 more context: null bundleName: de.mbruns.myfood.resourcebundles.messages 06.04.2009 17:54:06 com.sun.faces.lifecycle.LifecycleImpl phase WARNUNG: executePhase(INVOKE_APPLICATION 5,com.icesoft.faces.context.BridgeFaces Context@f6e15e) threw exception javax.faces.FacesException at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat ionPhase.java:105) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLife cycleExecutor.java:17) at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(Rec eiveSendUpdates.java:94) at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(Receive SendUpdates.java:54) at com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVer ifier.java:26) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.se rvice(PathDispatcherServer.java:24) at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service (MainSessionBoundServlet.java:160) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(Ses sionDispatcher.java:38) at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.s ervice(ThreadBlockingAdaptingServlet.java:19) at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.serv ice(EnvironmentAdaptingServlet.java:63) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(Sessi onDispatcher.java:55) at com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(Session Verifier.java:19) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDisp atcher.java:23) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet .java:91) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServ let.java:56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at de.mbruns.myfood.utils.ResourceBundleService.getMessageBundle(Unknown Source) at de.mbruns.myfood.utils.FacesContextService.addMessageToContext(Unknow n Source) at de.mbruns.myfood.actionlisteners.ExceptionHandler.processAction(Unkno wn Source) at de.mbruns.myfood.security.JAASActionListener.processAction(Unknown So urce) at javax.faces.component.UICommand.broadcast(UICommand.java:383) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:7 52) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat ionPhase.java:97) ... 29 more {code}

    ICEsoft JIRA Issue Tracker | 8 years ago | Wolfgang Müller
    javax.faces.FacesException: #{AdministrateMaterial.createMaterial}: java.lang.Nu llPointerException
  3. 0

    com.br | 2 years ago
    javax.faces.FacesException: #{controleEquipe.edita}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    no transaction is in progress no Persist do EntityHome

    com.br | 1 year ago
    javax.faces.FacesException: #{noticiasHome.persist}: javax.persistence.TransactionRequiredException: no transaction is in progress
  6. 0

    Hibersap / Discussion / Help:sapjco3 and SAP BAPI JCA Adapter

    sourceforge.net | 1 year ago
    javax.servlet.ServletException: #{dispoMap.sapTest}: javax.ejb.EJBTransactionRolledbackException: Problem creating Connection

  1. thiago.santos 10 times, last 9 months ago
6 unregistered visitors
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. javax.faces.FacesException

    #{AdministrateMaterial.createMaterial}: java.lang.Nu llPointerException

    at com.sun.faces.application.ActionListenerImpl.processAction()
  2. JSF
    ActionListenerImpl.processAction
    1. com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:107)
    1 frame
  3. de.mbruns.myfood
    JAASActionListener.processAction
    1. de.mbruns.myfood.actionlisteners.ExceptionHandler.processAction(Unknown Source)
    2. de.mbruns.myfood.security.JAASActionListener.processAction(Unknown Source)
    2 frames
  4. JavaEE 7
    UIViewRoot.processApplication
    1. javax.faces.component.UICommand.broadcast(UICommand.java:383)
    2. javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
    3. javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
    3 frames
  5. JSF
    LifecycleImpl.execute
    1. com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
    2. com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
    3. com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
    3 frames
  6. com.icesoft.faces
    MainServlet.service
    1. com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:17)
    2. com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:94)
    3. com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:54)
    4. com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:26)
    5. com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
    6. com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
    7. com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:38)
    8. com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
    9. com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
    10. com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:55)
    11. com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(SessionVerifier.java:19)
    12. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
    13. com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:91)
    13 frames
  7. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    1 frame
  8. com.icesoft.faces
    BlockingServlet.service
    1. com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:56)
    1 frame
  9. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    8 frames
  10. Grizzly HTTP
    JIoEndpoint$Worker.run
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    3 frames
  11. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame