javax.xml.xquery.XQException: method cannot be called since expression is closed

Oracle Community | 2891733 | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 1

    Cache Token Expression Giving com.bea.wli.sb.stages.expressions.ExpressionException

    Oracle Community | 2 years ago | 2891733
    javax.xml.xquery.XQException: method cannot be called since expression is closed

    Root Cause Analysis

    1. javax.xml.xquery.XQException

      method cannot be called since expression is closed

      at oracle.xml.xquery.xqjimpl.OXQCUtils.createXQException()
    2. oracle.xml.xquery
      OXQCExpressionBase$OXQExpressionBaseView.getConnection
      1. oracle.xml.xquery.xqjimpl.OXQCUtils.createXQException(OXQCUtils.java:934)
      2. oracle.xml.xquery.xqjimpl.OXQCExpressionBase.doOpenCheck(OXQCExpressionBase.java:160)
      3. oracle.xml.xquery.xqjimpl.OXQCExpressionBase.getConnection(OXQCExpressionBase.java:1180)
      4. oracle.xml.xquery.xqjimpl.OXQCExpressionBase$OXQExpressionBaseView.getConnection(OXQCExpressionBase.java:1376)
      4 frames
    3. com.bea.wli
      PipelineContextImpl.dispatchSync
      1. com.bea.wli.common.xquery.x10.XQueryExecutor.getConnection(XQueryExecutor.java:90)
      2. com.bea.wli.common.xquery.x10.XQueryExecutorImpl.execute(XQueryExecutorImpl.java:60)
      3. com.bea.wli.common.xquery.x10.XQueryExecutorImpl.executeJavaObject(XQueryExecutorImpl.java:125)
      4. com.bea.wli.sb.stages.expressions.xquery.x10.XQueryExprExecutor.executeJavaObject(XQueryExprExecutor.java:106)
      5. com.bea.wli.sb.service.resultcache.ResultCachingInfo.evaluate(ResultCachingInfo.java:168)
      6. com.bea.wli.sb.service.resultcache.ResultCachingInfo.evaluateToken(ResultCachingInfo.java:121)
      7. com.bea.wli.sb.service.resultcache.ServiceResultCacheImpl.initializeToken(ServiceResultCacheImpl.java:127)
      8. com.bea.wli.sb.service.resultcache.ServiceResultCacheImpl.processRequest(ServiceResultCacheImpl.java:71)
      9. com.bea.wli.sb.service.handlerchain.handlers.ResultCachingHandler.dispatch(ResultCachingHandler.java:91)
      10. com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler.dispatch(AbstractHandler.java:131)
      11. com.bea.wli.sb.service.handlerchain.handlers.SetSoapAction.dispatch(SetSoapAction.java:157)
      12. com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler.dispatch(AbstractHandler.java:131)
      13. com.bea.wli.sb.service.handlerchain.handlers.OutboundMessagePatternHandler.dispatch(OutboundMessagePatternHandler.java:153)
      14. com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler.dispatch(AbstractHandler.java:131)
      15. com.bea.wli.sb.service.handlerchain.OutboundHandlerChain.dispatch(OutboundHandlerChain.java:109)
      16. com.bea.wli.sb.service.dispatcher.TransportDispatcher.dispatch(TransportDispatcher.java:58)
      17. com.bea.wli.sb.context.PipelineDispatcherClient.dispatch(PipelineDispatcherClient.java:241)
      18. com.bea.wli.sb.pipeline.PipelineContextImpl.doDispatch(PipelineContextImpl.java:518)
      19. com.bea.wli.sb.pipeline.PipelineContextImpl.dispatchSync(PipelineContextImpl.java:458)
      19 frames
    4. stages.transform.runtime
      WsCalloutRuntimeStep.processMessage
      1. stages.transform.runtime.WsCalloutRuntimeStep$WsCalloutDispatcher.dispatch(WsCalloutRuntimeStep.java:1380)
      2. stages.transform.runtime.WsCalloutRuntimeStep.processMessage(WsCalloutRuntimeStep.java:247)
      2 frames
    5. com.bea.wli
      SequenceRuntimeStep.processMessage
      1. com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:379)
      2. com.bea.wli.sb.stages.impl.SequenceRuntimeStep.processMessage(SequenceRuntimeStep.java:33)
      2 frames
    6. stages.transform.runtime
      IfThenElseRuntimeStep.processMessage
      1. stages.transform.runtime.IfThenElseRuntimeStep.processMessage(IfThenElseRuntimeStep.java:107)
      1 frame
    7. com.bea.wli
      PipelineDispatcher$1.run
      1. com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:379)
      2. com.bea.wli.sb.stages.impl.SequenceRuntimeStep.processMessage(SequenceRuntimeStep.java:33)
      3. com.bea.wli.sb.pipeline.components.PipelineStage.processMessage(PipelineStage.java:89)
      4. com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:905)
      5. com.bea.wli.sb.pipeline.components.Pipeline.processMessage(Pipeline.java:153)
      6. com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:905)
      7. com.bea.wli.sb.pipeline.components.PipelineNode.doRequest(PipelineNode.java:64)
      8. com.bea.wli.sb.pipeline.components.Node.processMessage(Node.java:80)
      9. com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:905)
      10. com.bea.wli.sb.pipeline.components.Router.processMessage(Router.java:205)
      11. com.bea.wli.sb.pipeline.MessageProcessor.processRequest(MessageProcessor.java:87)
      12. com.bea.wli.sb.pipeline.dispatcher.PipelineDispatcher$1.run(PipelineDispatcher.java:135)
      13. com.bea.wli.sb.pipeline.dispatcher.PipelineDispatcher$1.run(PipelineDispatcher.java:132)
      13 frames