Infinite loop encountered when session expires and Orbeon tries to process a xforms-submit-error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Infinite loop encountered when session expires and Orbeon tries to process a xforms-submit-error

dennisa
We are using Orbeon 3.8 and we occasionally get a problem where we encounter a StackOverFlow error and our logs get filled by

06 Jul 2011 15:15:23,615 | 1856836     [ERROR] {"ajp-bio-32013"-exec-10} (org.orbeon.oxf.xforms.processor.XFormsServer) xforms-submit-error - setting throwable {throwable: "java.lang.IllegalStateException: getAttribute: Session already invalidated
        at org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:1166)
        at org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:122)
        at org.orbeon.oxf.pipeline.InitUtils$SessionMap$1.getAttribute(InitUtils.java:406)
        at org.orbeon.oxf.util.AttributesToMap.put(AttributesToMap.java:37)
        at org.orbeon.oxf.util.AttributesToMap.put(AttributesToMap.java:21)
        at org.orbeon.oxf.util.Connection.saveHttpState(Connection.java:317)
        at org.orbeon.oxf.util.Connection.open(Connection.java:98)
        at org.orbeon.oxf.xforms.submission.RegularSubmission$1.call(RegularSubmission.java:99)
        at org.orbeon.oxf.xforms.submission.RegularSubmission$1.call(RegularSubmission.java:80)
        at org.orbeon.oxf.xforms.submission.BaseSubmission.submitCallable(BaseSubmission.java:209)
        at org.orbeon.oxf.xforms.submission.RegularSubmission.connect(RegularSubmission.java:131)
        at org.orbeon.oxf.xforms.submission.XFormsModelSubmission.doSubmit(XFormsModelSubmission.java:444)
        at org.orbeon.oxf.xforms.submission.XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.java:296)
        at org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java:1021)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:1009)
        at org.orbeon.oxf.xforms.action.actions.XFormsSendAction.execute(XFormsSendAction.java:60)
        at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295)
        at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256)
        at org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:66)
        at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295)
        at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256)
        at org.orbeon.oxf.xforms.event.XFormsEventHandlerImpl.handleEvent(XFormsEventHandlerImpl.java:204)
        at org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java:1000)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:1009)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEventCheckTarget(XFormsContainingDocument.java:924)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.handleExternalEvent(XFormsContainingDocument.java:904)
        at org.orbeon.oxf.xforms.processor.XFormsServer.createAndDispatchEvents(XFormsServer.java:484)
        at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:245)
        at org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:61)
        at org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:92)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1092)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1238)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:445)
        at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$200(TeeProcessor.java:35)
        at org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.readImpl(TeeProcessor.java:89)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1092)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1238)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:445)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:472)
        at org.orbeon.oxf.processor.ProcessorImpl$3.read(ProcessorImpl.java:505)
        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:551)
        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:503)
        at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:191)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
        at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:620)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
        at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:251)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
        at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:620)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
        at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:90)
        at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:100)
        at org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:138)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at org.orbeon.oxf.servlet.OrbeonServlet.service(OrbeonServlet.java:75)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at com.orchestral.forms.renderer.resume.ActiveUserKeepAliveFilter.doFilter(ActiveUserKeepAliveFilter.java:99)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at com.orchestral.forms.web.FormsPatientContextPopulatorFilter.doFilter(FormsPatientContextPopulatorFilter.java:138)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at com.orchestral.forms.jamon.StackedJAMonFilter.doFilter(StackedJAMonFilter.java:45)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at com.orchestral.common.servlet.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:74)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at com.orchestral.forms.web.FormsErrorLoggingFilter.doFilter(FormsErrorLoggingFilter.java:41)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at com.orchestral.core.web.impl.ErrorLoggingFilter.doFilter(ErrorLoggingFilter.java:60)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
        at com.orchestral.core.web.impl.ErrorReportValve.invoke(ErrorReportValve.java:61)
        at com.orchestral.core.web.impl.session.SessionTracker.invoke(SessionTracker.java:236)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
        at com.orchestral.core.web.impl.MonitorValve.invoke(MonitorValve.java:43)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:395)
        at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:301)
        at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:183)
        at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:169)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
"}
06 Jul 2011 15:15:23,617 | 1856838     [ERROR] {"ajp-bio-32013"-exec-10} (org.orbeon.oxf.xforms.processor.XFormsServer) xforms-submit-error - setting throwable {throwable: "java.lang.IllegalStateException: getAttribute: Session already invalidated
        at org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:1166)
        at org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:122)
        at org.orbeon.oxf.pipeline.InitUtils$SessionMap$1.getAttribute(InitUtils.java:406)
        at org.orbeon.oxf.util.AttributesToMap.get(AttributesToMap.java:69)
        at org.orbeon.oxf.util.Connection.loadHttpState(Connection.java:294)
        at org.orbeon.oxf.util.Connection.open(Connection.java:87)
        at org.orbeon.oxf.xforms.submission.RegularSubmission$1.call(RegularSubmission.java:99)
        at org.orbeon.oxf.xforms.submission.RegularSubmission$1.call(RegularSubmission.java:80)
        at org.orbeon.oxf.xforms.submission.BaseSubmission.submitCallable(BaseSubmission.java:209)
        at org.orbeon.oxf.xforms.submission.RegularSubmission.connect(RegularSubmission.java:131)
        at org.orbeon.oxf.xforms.submission.XFormsModelSubmission.doSubmit(XFormsModelSubmission.java:444)
        at org.orbeon.oxf.xforms.submission.XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.java:296)
        at org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java:1021)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:1009)
        at org.orbeon.oxf.xforms.action.actions.XFormsSendAction.execute(XFormsSendAction.java:60)
        at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295)
        at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256)
        at org.orbeon.oxf.xforms.event.XFormsEventHandlerImpl.handleEvent(XFormsEventHandlerImpl.java:204)
        at org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java:1000)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:1009)
        at org.orbeon.oxf.xforms.submission.XFormsModelSubmission.sendSubmitError(XFormsModelSubmission.java:589)
        at org.orbeon.oxf.xforms.submission.XFormsModelSubmission.handleSubmissionResult(XFormsModelSubmission.java:516)
        at org.orbeon.oxf.xforms.submission.XFormsModelSubmission.doSubmit(XFormsModelSubmission.java:454)
        at org.orbeon.oxf.xforms.submission.XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.java:296)
        at org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java:1021)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:1009)
        at org.orbeon.oxf.xforms.action.actions.XFormsSendAction.execute(XFormsSendAction.java:60)
        at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295)
        at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256)
        at org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:66)
        at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295)
        at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256)
        at org.orbeon.oxf.xforms.event.XFormsEventHandlerImpl.handleEvent(XFormsEventHandlerImpl.java:204)
        at org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java:1000)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:1009)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEventCheckTarget(XFormsContainingDocument.java:924)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.handleExternalEvent(XFormsContainingDocument.java:904)
        at org.orbeon.oxf.xforms.processor.XFormsServer.createAndDispatchEvents(XFormsServer.java:484)
        at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:245)
        at org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:61)
        at org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:92)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1092)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1238)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:445)
        at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$200(TeeProcessor.java:35)
        at org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.readImpl(TeeProcessor.java:89)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1092)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1238)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:445)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:472)
        at org.orbeon.oxf.processor.ProcessorImpl$3.read(ProcessorImpl.java:505)
        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:551)
        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:503)
        at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:191)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
        at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:620)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
        at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:251)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
        at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:620)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
        at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:90)
        at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:100)
        at org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:138)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at org.orbeon.oxf.servlet.OrbeonServlet.service(OrbeonServlet.java:75)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at com.orchestral.forms.renderer.resume.ActiveUserKeepAliveFilter.doFilter(ActiveUserKeepAliveFilter.java:99)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at com.orchestral.forms.web.FormsPatientContextPopulatorFilter.doFilter(FormsPatientContextPopulatorFilter.java:138)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at com.orchestral.forms.jamon.StackedJAMonFilter.doFilter(StackedJAMonFilter.java:45)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at com.orchestral.common.servlet.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:74)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at com.orchestral.forms.web.FormsErrorLoggingFilter.doFilter(FormsErrorLoggingFilter.java:41)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at com.orchestral.core.web.impl.ErrorLoggingFilter.doFilter(ErrorLoggingFilter.java:60)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
        at com.orchestral.core.web.impl.ErrorReportValve.invoke(ErrorReportValve.java:61)
        at com.orchestral.core.web.impl.session.SessionTracker.invoke(SessionTracker.java:236)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
        at com.orchestral.core.web.impl.MonitorValve.invoke(MonitorValve.java:43)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:395)
        at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:301)
        at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:183)
        at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:169)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
"}


Is this fixed in Orbeon 3.9?