My Oracle Support Banner

XQuery Fails "javax.xml.xquery.XQException: Method Cannot Be Called Since The Sequence Is Closed" (Doc ID 2574415.1)

Last updated on MAY 15, 2023

Applies to:

Oracle Service Bus - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.3.0 version, OSB Core Functionality

XQuery fails "javax.xml.xquery.XQException: method cannot be called since the sequence is closed"

ERROR
-----------------------
XQuery with 18 inputs fails with this stack trace:
Here's the stack trace from the OSB logs:
Caused by: javax.xml.xquery.XQException: method cannot be called since the sequence is closed
at oracle.xml.xquery.xqjimpl.OXQCUtils.createXQException(OXQCUtils.java:934)
at oracle.xml.xquery.xqjimpl.OXQCExpressionBase.bindSequence(OXQCExpressionBase.java:952)
at com.bea.wli.common.xquery.x10.XQueryExecutor.bindVariable(XQueryExecutor.java:231)
at com.bea.wli.common.xquery.x10.XQueryExecutorImpl.bindAll(XQueryExecutorImpl.java:171)
at com.bea.wli.common.xquery.x10.XQueryExecutorImpl.execute(XQueryExecutorImpl.java:64)

This worked fine in 12.1.3.0 environment, but started failing after upgrating to 12.2.1.3.

Changes

 Upgraded from 12.1.3.0 to 12.2.1.3.0

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.