Project

Profile

Help

Bug #2813

closed

AssertionError: Internal error: no value for variable

Added by Ken Holman over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
Internals
Sprint/Milestone:
-
Start date:
2016-06-25
Due date:
% Done:

0%

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

Description

~/z/data/kendata/dev/ubl/sgtg $ sh namespaceCheck.sh

Exception in thread "main" java.lang.AssertionError: Internal error: no value for variable $files at line 36 of file:/Users/admin/z/data/kendata/dev/ubl/sgtg/namespaceCheck.xsl

at net.sf.saxon.expr.VariableReference.iterate(VariableReference.java:488)

at net.sf.saxon.expr.SystemFunctionCall.evaluateArguments(SystemFunctionCall.java:360)

at net.sf.saxon.expr.FunctionCall.iterate(FunctionCall.java:544)

at net.sf.saxon.expr.Expression.evaluateItem(Expression.java:754)

at net.sf.saxon.expr.AtomicSequenceConverter.evaluateItem(AtomicSequenceConverter.java:299)

at net.sf.saxon.expr.AtomicSequenceConverter.evaluateItem(AtomicSequenceConverter.java:32)

at net.sf.saxon.expr.Expression.evaluateAsString(Expression.java:850)

at net.sf.saxon.expr.instruct.SimpleNodeConstructor.processLeavingTail(SimpleNodeConstructor.java:186)

at net.sf.saxon.expr.instruct.ValueOf.processLeavingTail(ValueOf.java:283)

at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:653)

at net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:711)

at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:353)

at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:456)

at net.sf.saxon.Controller.transformDocument(Controller.java:2270)

at net.sf.saxon.Controller.transform(Controller.java:1847)

at net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(Xslt30Transformer.java:553)

at net.sf.saxon.Transform.processFile(Transform.java:1239)

at net.sf.saxon.Transform.doTransform(Transform.java:795)

at net.sf.saxon.Transform.main(Transform.java:77)

~/z/data/kendata/dev/ubl/sgtg $


Files

namespaceCheck.xsl (2.18 KB) namespaceCheck.xsl Ken Holman, 2016-06-25 23:12
namespaceCheck.sh (176 Bytes) namespaceCheck.sh Ken Holman, 2016-06-25 23:13
Actions #1

Updated by Michael Kay over 8 years ago

  • Category set to Internals
  • Status changed from New to In Progress

Thanks for reporting it, Ken.

Can't reproduce it on Saxon-EE 9.7.0.6. Could you confirm which version you are using please?

And does it depend at all on what is in the directory?

(Separate issue: I ran it without specifying a dir= parameter and was surprised to get no error message...)

Actions #2

Updated by Michael Kay over 8 years ago

  • Status changed from In Progress to AwaitingInfo
Actions #3

Updated by Michael Kay over 8 years ago

Committed a patch that improves diagnostics but does not address the primary issue reported.

Actions #4

Updated by Michael Kay about 8 years ago

  • Status changed from AwaitingInfo to Closed

Closing this as no further information has been forthcoming. Ken, please feel free to re-open it any time you have more info.

Please register to edit this issue

Also available in: Atom PDF