Project

Profile

Help

Bug #4999

closed

9.5 EE compilation fails but OK with Professional

Added by Taras Chervinka over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2021-05-25
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
9.5
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

The test with 9.5-ee jar fails with EnterpriseConfiguration but passes with Professional

Run the attached and see the error. change to PC and see that compilation passes

*** Internal Saxon error: local variable encountered whose binding has been deleted
Variable name: zz:zz2017354584
Line number of reference: 3 in *module with no systemId*
Line number of declaration: 3 in *module with no systemId*
DECLARATION:
<let variable="Q{http://saxon.sf.net/}zz2017354584"
     as="element()"
     slot="-999">
  <be>
    <treat as="element()">
      <checkCardinality occurs="exactly one">
        <variableReference name="wsdlDoc" slot="2"/>
      </checkCardinality>
    </treat>
  </be>
  <return>
    <slash>
      <treat as="node()">
        <variableReference name="wsdlDoc" slot="2"/>
      </treat>
      <filterExpression>
        <axis name="child" nodeTest="element(Q{}binding)"/>
        <indexedLookup>
          <variableReference name="Q{http://saxon.sf.net/}zz1935637221" slot="0"/>
          <functionCall name="local-name-from-QName">
            <functionCall name="resolve-QName">
              <convertUntyped to="xs:string">
                <data>
                  <axis name="attribute" nodeTest="attribute(Q{}type)"/>
                </data>
              </convertUntyped>
              <variableReference name="Q{http://saxon.sf.net/}zz2017354584" slot="-999"/>
            </functionCall>
          </functionCall>
        </indexedLookup>
      </filterExpression>
    </slash>
  </return>
</let>
java.lang.IllegalStateException: *** Internal Saxon error: local variable encountered whose binding has been deleted
        at net.sf.saxon.expr.parser.ExpressionTool.allocateSlots(ExpressionTool.java:614)
        at net.sf.saxon.expr.parser.ExpressionTool.allocateSlots(ExpressionTool.java:624)
        at net.sf.saxon.expr.parser.ExpressionTool.allocateSlots(ExpressionTool.java:624)
        at net.sf.saxon.expr.parser.ExpressionTool.allocateSlots(ExpressionTool.java:624)
        at net.sf.saxon.expr.parser.ExpressionTool.allocateSlots(ExpressionTool.java:624)
        at net.sf.saxon.expr.parser.ExpressionTool.allocateSlots(ExpressionTool.java:624)
        at net.sf.saxon.expr.parser.ExpressionTool.allocateSlots(ExpressionTool.java:624)
        at net.sf.saxon.query.XQueryExpression.<init>(XQueryExpression.java:98)
        at net.sf.saxon.query.QueryParser.makeXQueryExpression(QueryParser.java:183)
        at net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:526)
        at net.sf.saxon.s9api.XQueryCompiler.compile(XQueryCompiler.java:494)
        at CompileTest.testCompile(CompileTest.java:60)
        at CompileTest.main(CompileTest.java:69)

Files

CompileTest.java (2.03 KB) CompileTest.java Taras Chervinka, 2021-05-25 17:02

Please register to edit this issue

Also available in: Atom PDF