Project

Profile

Help

Bug #3217 » ByteCodeOutput.txt

Taras Chervinka, 2017-05-11 13:54

 
com.saxonica.objectweb.asm.tree.analysis.AnalyzerException: Error at instruction 90: Cannot pop operand off an empty stack.
at com.saxonica.objectweb.asm.tree.analysis.Analyzer.analyze(Unknown Source)
at com.saxonica.objectweb.asm.util.CheckClassAdapter.verify(Unknown Source)
at com.saxonica.objectweb.asm.util.CheckClassAdapter.verify(Unknown Source)
at com.saxonica.ee.bytecode.ExpressionCompiler.verify(ExpressionCompiler.java:394)
at com.saxonica.ee.bytecode.util.CompilerService.compileToByteCode(CompilerService.java:670)
at com.saxonica.ee.optim.OptimizerEE.compileToByteCode(OptimizerEE.java:1527)
at com.saxonica.ee.optim.XQueryExpressionEE.<init>(XQueryExpressionEE.java:117)
at com.saxonica.config.EnterpriseConfiguration.makeXQueryExpression(EnterpriseConfiguration.java:1715)
at net.sf.saxon.query.XQueryParser.makeXQueryExpression(XQueryParser.java:175)
at net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:589)
at net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:652)
at net.sf.saxon.s9api.XQueryCompiler.compile(XQueryCompiler.java:606)
at net.sf.saxon.Query.compileQuery(Query.java:795)
at net.sf.saxon.Query.doQuery(Query.java:343)
at net.sf.saxon.Query.main(Query.java:111)
Caused by: java.lang.IndexOutOfBoundsException: Cannot pop operand off an empty stack.
at com.saxonica.objectweb.asm.tree.analysis.Frame.pop(Unknown Source)
at com.saxonica.objectweb.asm.tree.analysis.Frame.execute(Unknown Source)
... 15 more
process(Lnet/sf/saxon/expr/XPathContext;)V
00000 LEE_main_0526903503; XPathContext . . . . . : : ALOAD 1
00001 LEE_main_0526903503; XPathContext . . . . . : XPathContext : INVOKEINTERFACE net/sf/saxon/expr/XPathContext.getReceiver ()Lnet/sf/saxon/event/SequenceReceiver;
00002 LEE_main_0526903503; XPathContext . . . . . : SequenceReceiver : ASTORE 2
00003 LEE_main_0526903503; XPathContext SequenceReceiver . . . . : : LDC "ToItemCompilerPush"
00004 LEE_main_0526903503; XPathContext SequenceReceiver . . . . : String : INVOKESTATIC com/saxonica/ee/bytecode/util/ByteCodeTrace.showMessage (Ljava/lang/String;)V
00005 LEE_main_0526903503; XPathContext SequenceReceiver . . . . : : ALOAD 2
00006 LEE_main_0526903503; XPathContext SequenceReceiver . . . . : SequenceReceiver : LDC "CastExpression-Item"
00007 LEE_main_0526903503; XPathContext SequenceReceiver . . . . : SequenceReceiver String : INVOKESTATIC com/saxonica/ee/bytecode/util/ByteCodeTrace.showMessage (Ljava/lang/String;)V
00008 LEE_main_0526903503; XPathContext SequenceReceiver . . . . : SequenceReceiver : LDC "GenericConverterCompiler-Item"
00009 LEE_main_0526903503; XPathContext SequenceReceiver . . . . : SequenceReceiver String : INVOKESTATIC com/saxonica/ee/bytecode/util/ByteCodeTrace.showMessage (Ljava/lang/String;)V
00010 LEE_main_0526903503; XPathContext SequenceReceiver . . . . : SequenceReceiver : LDC "TryCatch-Item"
00011 LEE_main_0526903503; XPathContext SequenceReceiver . . . . : SequenceReceiver String : INVOKESTATIC com/saxonica/ee/bytecode/util/ByteCodeTrace.showMessage (Ljava/lang/String;)V
00012 LEE_main_0526903503; XPathContext SequenceReceiver . . . . : SequenceReceiver : ALOAD 1
00013 LEE_main_0526903503; XPathContext SequenceReceiver . . . . : SequenceReceiver XPathContext : INVOKEINTERFACE net/sf/saxon/expr/XPathContext.newMinorContext ()Lnet/sf/saxon/expr/XPathContextMinor;
00014 LEE_main_0526903503; XPathContext SequenceReceiver . . . . : SequenceReceiver XPathContextMinor : L0
00015 LEE_main_0526903503; XPathContext SequenceReceiver . . . . : SequenceReceiver XPathContextMinor : BIPUSH 9
00016 ? : INVOKESTATIC com/saxonica/ee/bytecode/util/ByteCodeTrace.trace (I)V
00017 ? : GETSTATIC EE_main_0526903503.nLiteral1 : Lnet/sf/saxon/expr/Literal;
00018 ? : SWAP
00019 ? : INVOKESTATIC net/sf/saxon/expr/parser/ExpressionTool.eagerEvaluate (Lnet/sf/saxon/expr/Expression;Lnet/sf/saxon/expr/XPathContext;)Lnet/sf/saxon/om/Sequence;
00020 ? : INVOKESTATIC net/sf/saxon/om/SequenceTool.asItem (Lnet/sf/saxon/om/Sequence;)Lnet/sf/saxon/om/Item;
00021 ? : L1
00022 ? : BIPUSH 10
00023 ? : INVOKESTATIC com/saxonica/ee/bytecode/util/ByteCodeTrace.trace (I)V
00024 ? : GOTO L2
00025 LEE_main_0526903503; XPathContext SequenceReceiver . . . . : XPathException : L3
00026 LEE_main_0526903503; XPathContext SequenceReceiver . . . . : XPathException : BIPUSH 11
00027 LEE_main_0526903503; XPathContext SequenceReceiver . . . . : XPathException I : INVOKESTATIC com/saxonica/ee/bytecode/util/ByteCodeTrace.trace (I)V
00028 LEE_main_0526903503; XPathContext SequenceReceiver . . . . : XPathException : LDC "Catch"
00029 LEE_main_0526903503; XPathContext SequenceReceiver . . . . : XPathException String : INVOKESTATIC com/saxonica/ee/bytecode/util/ByteCodeTrace.showMessage (Ljava/lang/String;)V
00030 LEE_main_0526903503; XPathContext SequenceReceiver . . . . : XPathException : ASTORE 3
00031 LEE_main_0526903503; XPathContext SequenceReceiver XPathException . . . : : ALOAD 3
00032 LEE_main_0526903503; XPathContext SequenceReceiver XPathException . . . : XPathException : DUP
00033 LEE_main_0526903503; XPathContext SequenceReceiver XPathException . . . : XPathException XPathException : INVOKEVIRTUAL net/sf/saxon/trans/XPathException.isGlobalError ()Z
00034 LEE_main_0526903503; XPathContext SequenceReceiver XPathException . . . : XPathException I : IFEQ L4
00035 LEE_main_0526903503; XPathContext SequenceReceiver XPathException . . . : XPathException : ICONST_0
00036 ? : INVOKEVIRTUAL net/sf/saxon/trans/XPathException.setIsGlobalError (Z)V
00037 ? : GOTO L5
00038 LEE_main_0526903503; XPathContext SequenceReceiver XPathException . . . : XPathException : L4
00039 LEE_main_0526903503; XPathContext SequenceReceiver XPathException . . . : XPathException : BIPUSH 12
00040 LEE_main_0526903503; XPathContext SequenceReceiver XPathException . . . : XPathException I : INVOKESTATIC com/saxonica/ee/bytecode/util/ByteCodeTrace.trace (I)V
00041 LEE_main_0526903503; XPathContext SequenceReceiver XPathException . . . : XPathException : INVOKEVIRTUAL net/sf/saxon/trans/XPathException.getErrorCodeQName ()Lnet/sf/saxon/om/StructuredQName;
00042 LEE_main_0526903503; XPathContext SequenceReceiver XPathException . . . : StructuredQName : ASTORE 4
00043 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName . . : : GETSTATIC EE_main_0526903503.nAnyNodeTest2 : Lnet/sf/saxon/pattern/AnyNodeTest;
00044 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName . . : AnyNodeTest : ALOAD 4
00045 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName . . : AnyNodeTest StructuredQName : INVOKEINTERFACE net/sf/saxon/pattern/QNameTest.matches (Lnet/sf/saxon/om/StructuredQName;)Z
00046 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName . . : I : IFEQ L6
00047 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName . . : : ALOAD 1
00048 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName . . : XPathContext : INVOKEINTERFACE net/sf/saxon/expr/XPathContext.newContext ()Lnet/sf/saxon/expr/XPathContextMajor;
00049 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName . . : XPathContextMajor : ASTORE 5
00050 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor . : : ALOAD 5
00051 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor . : XPathContextMajor : ALOAD 3
00052 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor . : XPathContextMajor XPathException : INVOKEVIRTUAL net/sf/saxon/expr/XPathContextMajor.setCurrentException (Lnet/sf/saxon/trans/XPathException;)V
00053 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor . : : LDC "LiteralCompiler-item"
00054 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor . : String : INVOKESTATIC com/saxonica/ee/bytecode/util/ByteCodeTrace.showMessage (Ljava/lang/String;)V
00055 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor . : : LDC 2
00056 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor . : J : INVOKESTATIC net/sf/saxon/value/Int64Value.makeIntegerValue (J)Lnet/sf/saxon/value/Int64Value;
00057 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor . : Int64Value : GOTO L2
00058 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName . . : : L6
00059 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName . . : : BIPUSH 13
00060 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName . . : I : INVOKESTATIC com/saxonica/ee/bytecode/util/ByteCodeTrace.trace (I)V
00061 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName . . : : L5
00062 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName . . : : BIPUSH 14
00063 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName . . : I : INVOKESTATIC com/saxonica/ee/bytecode/util/ByteCodeTrace.trace (I)V
00064 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName . . : : ALOAD 3
00065 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName . . : XPathException : ICONST_0
00066 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName . . : XPathException I : INVOKEVIRTUAL net/sf/saxon/trans/XPathException.setHasBeenReported (Z)V
00067 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName . . : : ALOAD 3
00068 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName . . : XPathException : ATHROW
00069 ? : GOTO L2
00070 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor . : Int64Value : L2
00071 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor . : Int64Value : BIPUSH 15
00072 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor . : Int64Value I : INVOKESTATIC com/saxonica/ee/bytecode/util/ByteCodeTrace.trace (I)V
00073 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor . : Int64Value : DUP
00074 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor . : Int64Value Int64Value : IFNONNULL L7
00075 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor . : Int64Value : POP
00076 ? : ACONST_NULL
00077 ? : GOTO L8
00078 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor . : Int64Value : L7
00079 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor . : Int64Value : BIPUSH 16
00080 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor . : Int64Value I : INVOKESTATIC com/saxonica/ee/bytecode/util/ByteCodeTrace.trace (I)V
00081 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor . : Int64Value : CHECKCAST net/sf/saxon/value/AtomicValue
00082 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor . : AtomicValue : ASTORE 6
00083 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor AtomicValue : : GETSTATIC EE_main_0526903503.nDownCastingConverter3 : Lnet/sf/saxon/type/Converter$DownCastingConverter;
00084 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor AtomicValue : Converter$DownCastingConverter : ALOAD 6
00085 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor AtomicValue : Converter$DownCastingConverter AtomicValue : INVOKEVIRTUAL net/sf/saxon/type/Converter.convert (Lnet/sf/saxon/value/AtomicValue;)Lnet/sf/saxon/type/ConversionResult;
00086 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor AtomicValue : ConversionResult : INVOKEINTERFACE net/sf/saxon/type/ConversionResult.asAtomic ()Lnet/sf/saxon/value/AtomicValue;
00087 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor AtomicValue : AtomicValue : L8
00088 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor AtomicValue : AtomicValue : BIPUSH 17
00089 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor AtomicValue : AtomicValue I : INVOKESTATIC com/saxonica/ee/bytecode/util/ByteCodeTrace.trace (I)V
00090 LEE_main_0526903503; XPathContext SequenceReceiver XPathException StructuredQName XPathContextMajor AtomicValue : AtomicValue : INVOKEVIRTUAL net/sf/saxon/event/SequenceReceiver.append (Lnet/sf/saxon/om/Item;)V
00091 ? : RETURN
TRYCATCHBLOCK L0 L1 L3 net/sf/saxon/trans/XPathException

(1-1/2)