Hi,
While I'm trying to read a response body (event('response-body')) I get the exception: java.io.IOException: Stream closed. Is it a known bug or am I doing something wrong? -- Regards, Bartek Orbeon ver.: 4.0.0.m18 Stacktrace: WARN XFormsServer - xforms-submit-error - error while reading response body. {throwable: " +----------------------------------------------------------------------------------------------------------------------+ |An Error has Occurred | |----------------------------------------------------------------------------------------------------------------------| |Stream closed | |----------------------------------------------------------------------------------------------------------------------| |Application Call Stack | |----------------------------------------------------------------------------------------------------------------------| |----------------------------------------------------------------------------------------------------------------------| |Exception: java.io.IOException | |----------------------------------------------------------------------------------------------------------------------| |java.io.BufferedInputStream |getBufIfOpen |BufferedInputStream.java | 145| |java.io.BufferedInputStream |read |BufferedInputStream.java | 308| |java.io.FilterInputStream |read |FilterInputStream.java | 90| |org.orbeon.oxf.util.NetUtils |copyStream |NetUtils.java | 252| |org.orbeon.oxf.util.NetUtils |prepareFileItemFromInputStream|NetUtils.java | 621| |----------------------------------------------------------------------------------------------------------------------| |Exception: org.orbeon.oxf.common.OXFException | |----------------------------------------------------------------------------------------------------------------------| |org.orbeon.oxf.util.NetUtils |prepareFileItemFromInputStream|NetUtils.java | 623| |org.orbeon.oxf.util.NetUtils |inputStreamToAnyURI |NetUtils.java | 606| |org.orbeon.oxf.xforms.event.events.SubmitResponseEv|apply |SubmitResponseEvent.scala | 104| |org.orbeon.oxf.xforms.event.events.SubmitResponseEv|apply |SubmitResponseEvent.scala | 103| |org.orbeon.oxf.util.ScalaUtils$ |useAndClose |ScalaUtils.scala | 91| |org.orbeon.oxf.xforms.event.events.SubmitResponseEv|tryToReadBody |SubmitResponseEvent.scala | 103| |org.orbeon.oxf.xforms.event.events.SubmitResponseEv|apply |SubmitResponseEvent.scala | 77| |org.orbeon.oxf.xforms.event.events.SubmitResponseEv|apply |SubmitResponseEvent.scala | 77| |scala.Option |flatMap |Option.scala | 146| |org.orbeon.oxf.xforms.event.events.SubmitResponseEv|body |SubmitResponseEvent.scala | 77| |org.orbeon.oxf.xforms.event.events.SubmitResponseEv|apply |SubmitResponseEvent.scala | 163| |org.orbeon.oxf.xforms.event.events.SubmitResponseEv|apply |SubmitResponseEvent.scala | 163| |org.orbeon.oxf.xforms.event.XFormsEvent$$anon$2 |apply |XFormsEvent.scala | 150| |org.orbeon.oxf.xforms.event.XFormsEvent$$anon$2 |apply |XFormsEvent.scala | 148| |scala.PartialFunction$$anon$1 |apply |PartialFunction.scala | 76| |scala.PartialFunction$$anon$1 |apply |PartialFunction.scala | 75| |org.orbeon.oxf.xforms.event.XFormsEvent |propertyAsIterator$1 |XFormsEvent.scala | 101| |org.orbeon.oxf.xforms.event.XFormsEvent |getAttribute |XFormsEvent.scala | 106| |org.orbeon.oxf.xforms.function.Event |getEventAttribute |Event.java | 69| |org.orbeon.oxf.xforms.function.Event |iterate |Event.java | 50| |---8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---| |org.apache.catalina.core.ApplicationFilterChain |internalDoFilter |ApplicationFilterChain.java | 243| |org.apache.catalina.core.ApplicationFilterChain |doFilter |ApplicationFilterChain.java | 210| |org.springframework.web.filter.CharacterEncodingFil|doFilterInternal |CharacterEncodingFilter.java | 88| |org.springframework.web.filter.OncePerRequestFilter|doFilter |OncePerRequestFilter.java | 76| |org.springframework.web.filter.DelegatingFilterProx|invokeDelegate |DelegatingFilterProxy.java | 346| |org.springframework.web.filter.DelegatingFilterProx|doFilter |DelegatingFilterProxy.java | 259| |org.apache.catalina.core.ApplicationFilterChain |internalDoFilter |ApplicationFilterChain.java | 243| |org.apache.catalina.core.ApplicationFilterChain |doFilter |ApplicationFilterChain.java | 210| |org.apache.catalina.core.StandardWrapperValve |invoke |StandardWrapperValve.java | 224| |org.apache.catalina.core.StandardContextValve |invoke |StandardContextValve.java | 169| |org.apache.catalina.core.StandardHostValve |invoke |StandardHostValve.java | 168| |org.apache.catalina.valves.ErrorReportValve |invoke |ErrorReportValve.java | 98| |org.apache.catalina.core.StandardEngineValve |invoke |StandardEngineValve.java | 118| |org.apache.catalina.connector.CoyoteAdapter |service |CoyoteAdapter.java | 407| |org.apache.coyote.http11.AbstractHttp11Processor |process |AbstractHttp11Processor.java | 987| |org.apache.coyote.AbstractProtocol$AbstractConnecti|process |AbstractProtocol.java | 579| |org.apache.tomcat.util.net.JIoEndpoint$SocketProces|run |JIoEndpoint.java | 307| |java.util.concurrent.ThreadPoolExecutor$Worker |runTask |ThreadPoolExecutor.java | 886| |java.util.concurrent.ThreadPoolExecutor$Worker |run |ThreadPoolExecutor.java | 908| |java.lang.Thread |run |Thread.java | 619| +----------------------------------------------------------------------------------------------------------------------+"} |
Free forum by Nabble | Edit this page |