Project

Profile

Help

Expression tree appears to contain a cycle...

Added by Anonymous over 18 years ago

Legacy ID: #3747237 Legacy Poster: clingv (clingv)

Hi, I got this exception stacktrace. We were doing XML -> HTML. I checked the source code that this is thrown when a loop exceed 10000. Any help on what kind of condition or xml structure would possibly trigger this? thanks. This is happening on our production boxes. Problem is it is not reproducable anywhere else, and even in the production, it only happens every now and then (for supposed similar XML result!), I just switch back to Xalan for now until we can figure out. java.lang.IllegalStateException: Expression tree appears to contain a cycle at net.sf.saxon.expr.ComputedExpression.resetStaticProperties()V(Optimized Method) at net.sf.saxon.expr.ComputedExpression.setParentExpression(Lnet.sf.saxon.expr.Container;)V(Optimized Method) at net.sf.saxon.expr.UnaryExpression.<init>(Lnet.sf.saxon.expr.Expression;)V(Optimized Method) at net.sf.saxon.expr.FirstItemExpression.<init>(Lnet.sf.saxon.expr.Expression;)V(FirstItemExpression.java:22) at net.sf.saxon.sort.FixedSortKeyDefinition.bindComparer(Lnet.sf.saxon.expr.XPathContext;)V(Optimized Method) at net.sf.saxon.sort.SortKeyDefinition.reduce(Lnet.sf.saxon.expr.XPathContext;)Lnet.sf.saxon.sort.FixedSortKeyDefinition;(Optimized Method) at net.sf.saxon.sort.SortExpression.iterate(Lnet.sf.saxon.expr.XPathContext;)Lnet.sf.saxon.om.SequenceIterator;(Optimized Method) at net.sf.saxon.instruct.ForEach.processLeavingTail(Lnet.sf.saxon.expr.XPathContext;)Lnet.sf.saxon.instruct.TailCall;(Optimized Method) at net.sf.saxon.instruct.CallTemplate.process(Lnet.sf.saxon.expr.XPathContext;)V(Optimized Method) at net.sf.saxon.instruct.DocumentInstr.evaluateItem(Lnet.sf.saxon.expr.XPathContext;)Lnet.sf.saxon.om.Item;(Optimized Method) at net.sf.saxon.expr.ExpressionTool.eagerEvaluate(Lnet.sf.saxon.expr.Expression;Lnet.sf.saxon.expr.XPathContext;)Lnet.sf.saxon.value.Value;(Optimized Method) at net.sf.saxon.expr.ExpressionTool.lazyEvaluate(Lnet.sf.saxon.expr.Expression;Lnet.sf.saxon.expr.XPathContext;I)Lnet.sf.saxon.om.ValueRepresentation;(Optimized Method) at net.sf.saxon.expr.LetExpression.eval(Lnet.sf.saxon.expr.XPathContext;)Lnet.sf.saxon.om.ValueRepresentation;(Optimized Method) at net.sf.saxon.expr.LetExpression.processLeavingTail(Lnet.sf.saxon.expr.XPathContext;)Lnet.sf.saxon.instruct.TailCall;(Optimized Method) at net.sf.saxon.instruct.Choose.processLeavingTail(Lnet.sf.saxon.expr.XPathContext;)Lnet.sf.saxon.instruct.TailCall;(Optimized Method) at net.sf.saxon.instruct.Instruction.process(Lnet.sf.saxon.expr.XPathContext;)V(Optimized Method) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(Lnet.sf.saxon.expr.XPathContext;)Lnet.sf.saxon.instruct.TailCall;(Optimized Method) at net.sf.saxon.instruct.Choose.processLeavingTail(Lnet.sf.saxon.expr.XPathContext;)Lnet.sf.saxon.instruct.TailCall;(Optimized Method) @ at net.sf.saxon.instruct.Instruction.process(Lnet.sf.saxon.expr.XPathContext;)V(Optimized Method) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(Lnet.sf.saxon.expr.XPathContext;)Lnet.sf.saxon.instruct.TailCall;(Optimized Method) at net.sf.saxon.instruct.Choose.processLeavingTail(Lnet.sf.saxon.expr.XPathContext;)Lnet.sf.saxon.instruct.TailCall;(Optimized Method) at net.sf.saxon.instruct.Instruction.process(Lnet.sf.saxon.expr.XPathContext;)V(Optimized Method) at net.sf.saxon.instruct.ForEach.processLeavingTail(Lnet.sf.saxon.expr.XPathContext;)Lnet.sf.saxon.instruct.TailCall;(Optimized Method) at net.sf.saxon.instruct.CallTemplate.process(Lnet.sf.saxon.expr.XPathContext;)V(Optimized Method) at net.sf.saxon.instruct.CallTemplate.processLeavingTail(Lnet.sf.saxon.expr.XPathContext;)Lnet.sf.saxon.instruct.TailCall;(Optimized Method) at net.sf.saxon.instruct.Block.processLeavingTail(Lnet.sf.saxon.expr.XPathContext;)Lnet.sf.saxon.instruct.TailCall;(Optimized Method) at net.sf.saxon.instruct.Instruction.process(Lnet.sf.saxon.expr.XPathContext;)V(Optimized Method) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(Lnet.sf.saxon.expr.XPathContext;)Lnet.sf.saxon.instruct.TailCall;(Optimized Method) at net.sf.saxon.instruct.Choose.processLeavingTail(Lnet.sf.saxon.expr.XPathContext;)Lnet.sf.saxon.instruct.TailCall;(Optimized Method) at net.sf.saxon.instruct.Block.processLeavingTail(Lnet.sf.saxon.expr.XPathContext;)Lnet.sf.saxon.instruct.TailCall;(Optimized Method) at net.sf.saxon.instruct.Instruction.process(Lnet.sf.saxon.expr.XPathContext;)V(Optimized Method) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(Lnet.sf.saxon.expr.XPathContext;)Lnet.sf.saxon.instruct.TailCall;(Optimized Method) at net.sf.saxon.expr.LetExpression.processLeavingTail(Lnet.sf.saxon.expr.XPathContext;)Lnet.sf.saxon.instruct.TailCall;(Optimized Method) at net.sf.saxon.instruct.Block.processLeavingTail(Lnet.sf.saxon.expr.XPathContext;)Lnet.sf.saxon.instruct.TailCall;(Optimized Method) at net.sf.saxon.instruct.Instruction.process(Lnet.sf.saxon.expr.XPathContext;)V(Optimized Method)


Replies (1)

RE: Expression tree appears to contain a cycle... - Added by Anonymous over 18 years ago

Legacy ID: #3747239 Legacy Poster: clingv (clingv)

Sorry, to following up, we use Saxon-B 8.7.1 and XSLT 1.0 stylesheet. Weblogic 8.1.4, JDK 1.4.2.

    (1-1/1)

    Please register to reply