Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Icesoft by vveinotte, 1 year ago
java.lang.IllegalStateException: Null request object	at org.apache.coyote.tomcat5.CoyoteRequestFacade.getSession(CoyoteRequestFacade.java:830)	at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:265)	at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:265)	at com.icesoft.faces.env.ServletEnvironmentRequest.getSession(ServletEnvironmentRequest.java:317)	at org.acegisecurity.ui.WebAuthenticationDetails.(WebAuthenticationDetails.java:55)	at com.icesoft.icefaces.samples.security.acegi.AuthenticationController.authenticate(AuthenticationController.java:63)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)	at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)	at javax.faces.component.UICommand.broadcast(UICommand.java:312)	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)	at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:225)	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)	at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCyclePartial(ReceiveSendUpdates.java:68)	at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:43)	at com.icesoft.faces.webapp.http.core.IDVerifier.service(IDVerifier.java:19)	at com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16)	at com.icesoft.faces.webapp.http.servlet.ViewBoundAdaptingServlet.service(ViewBoundAdaptingServlet.java:30)	at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)	at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:89)	at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:35)	at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)	at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:59)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)	at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)	at java.security.AccessController.doPrivileged(Native Method)	at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)	at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)	at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)	at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)	at java.security.AccessController.doPrivileged(Native Method)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)	at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)	at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)	at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)	at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)	at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135)	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)	at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:229)	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)	at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)	at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)	at java.security.AccessController.doPrivileged(Native Method)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:482)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)	at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:80)	at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:95)	at java.security.AccessController.doPrivileged(Native Method)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)	at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:54)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)	at java.security.AccessController.doPrivileged(Native Method)	at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)	at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)	at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)	at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)	at java.security.AccessController.doPrivileged(Native Method)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)	at java.security.AccessController.doPrivileged(Native Method)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)	at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)	at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)	at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)	at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)	at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)	at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)