Skip to content

Instantly share code, notes, and snippets.

@Groostav
Created April 30, 2017 22:48
Show Gist options
  • Save Groostav/6397d25b9b48f369b7b8c01e1c205515 to your computer and use it in GitHub Desktop.
Save Groostav/6397d25b9b48f369b7b8c01e1c205515 to your computer and use it in GitHub Desktop.
sequence builder error
Error:Kotlin: [Internal Error] org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: wrong code generated
org.jetbrains.kotlin.codegen.CompilationException Back-end (JVM) Internal error: Couldn't transform method node: doResume (Ljava/lang/Object;Ljava/lang/Throwable;)Ljava/lang/Object;:
@Lorg/jetbrains/annotations/Nullable;() // invisible
@Lorg/jetbrains/annotations/Nullable;() // invisible, parameter 0
@Lorg/jetbrains/annotations/Nullable;() // invisible, parameter 1
L0
ALOAD 0
GETFIELD com/empowerops/jargon/model/PipeSchedulerFixture$FakeUUIDGenerator$Companion$otherUUIDS$1.p$ : Lkotlin/coroutines/experimental/SequenceBuilder;
ASTORE 3
L1
LINENUMBER 46 L1
LCONST_0
POP2
LDC 200
LSTORE 11
LSTORE 13
NEW kotlin/ranges/LongRange
DUP
LLOAD 13
LLOAD 11
INVOKESPECIAL kotlin/ranges/LongRange.<init> (JJ)V
CHECKCAST java/lang/Iterable
ASTORE 4
NOP
L2
LINENUMBER 66 L2
ALOAD 4
INVOKEINTERFACE java/lang/Iterable.iterator ()Ljava/util/Iterator;
ASTORE 5
L3
ALOAD 5
INVOKEINTERFACE java/util/Iterator.hasNext ()Z
IFEQ L4
ALOAD 5
INVOKEINTERFACE java/util/Iterator.next ()Ljava/lang/Object;
ASTORE 6
L5
ALOAD 6
CHECKCAST java/lang/Number
INVOKEVIRTUAL java/lang/Number.longValue ()J
LSTORE 7
L6
LINENUMBER 46 L6
ALOAD 3
NEW java/util/UUID
DUP
LCONST_0
LLOAD 7
INVOKESPECIAL java/util/UUID.<init> (JJ)V
ALOAD 0
INVOKESTATIC kotlin/coroutines/Markers.beforeSuspensionPoint ()V
INVOKEVIRTUAL kotlin/coroutines/experimental/SequenceBuilder.yield (Ljava/lang/Object;Lkotlin/coroutines/experimental/Continuation;)Ljava/lang/Object;
INVOKESTATIC kotlin/coroutines/Markers.afterSuspensionPoint ()V
L7
NOP
L8
POP
L9
GOTO L10
L10
GETSTATIC kotlin/Unit.INSTANCE : Lkotlin/Unit;
POP
L11
GOTO L3
L4
LINENUMBER 67 L4
GOTO L12
L12
L13
LINENUMBER 46 L13
GETSTATIC kotlin/Unit.INSTANCE : Lkotlin/Unit;
ARETURN
L14
LOCALVARIABLE it J L6 L10 7
LOCALVARIABLE $i$a$1$forEach I L6 L10 9
LOCALVARIABLE element$iv Ljava/lang/Object; L5 L11 6
LOCALVARIABLE $receiver$iv Ljava/lang/Iterable; L2 L12 4
LOCALVARIABLE $i$f$forEach I L2 L12 10
LOCALVARIABLE this Lcom/empowerops/jargon/model/PipeSchedulerFixture$FakeUUIDGenerator$Companion$otherUUIDS$1; L0 L14 0
LOCALVARIABLE data Ljava/lang/Object; L0 L14 1
LOCALVARIABLE throwable Ljava/lang/Throwable; L0 L14 2
MAXSTACK = 7
MAXLOCALS = 15
Cause: org.jetbrains.org.objectweb.asm.tree.analysis.AnalyzerException: Error at instruction 10: Cannot pop operand off an empty stack.
Element is unknownThe root cause was thrown at: MethodTransformer.java:34
bytecode:
@Lorg/jetbrains/annotations/Nullable;() // invisible
@Lorg/jetbrains/annotations/Nullable;() // invisible, parameter 0
@Lorg/jetbrains/annotations/Nullable;() // invisible, parameter 1
L0
ALOAD 0
GETFIELD com/empowerops/jargon/model/PipeSchedulerFixture$FakeUUIDGenerator$Companion$otherUUIDS$1.p$ : Lkotlin/coroutines/experimental/SequenceBuilder;
ASTORE 3
L1
LINENUMBER 46 L1
LCONST_0
POP2
LDC 200
LSTORE 11
LSTORE 13
NEW kotlin/ranges/LongRange
DUP
LLOAD 13
LLOAD 11
INVOKESPECIAL kotlin/ranges/LongRange.<init> (JJ)V
CHECKCAST java/lang/Iterable
ASTORE 4
NOP
L2
LINENUMBER 66 L2
ALOAD 4
INVOKEINTERFACE java/lang/Iterable.iterator ()Ljava/util/Iterator;
ASTORE 5
L3
ALOAD 5
INVOKEINTERFACE java/util/Iterator.hasNext ()Z
IFEQ L4
ALOAD 5
INVOKEINTERFACE java/util/Iterator.next ()Ljava/lang/Object;
ASTORE 6
L5
ALOAD 6
CHECKCAST java/lang/Number
INVOKEVIRTUAL java/lang/Number.longValue ()J
LSTORE 7
L6
LINENUMBER 46 L6
ALOAD 3
NEW java/util/UUID
DUP
LCONST_0
LLOAD 7
INVOKESPECIAL java/util/UUID.<init> (JJ)V
ALOAD 0
INVOKESTATIC kotlin/coroutines/Markers.beforeSuspensionPoint ()V
INVOKEVIRTUAL kotlin/coroutines/experimental/SequenceBuilder.yield (Ljava/lang/Object;Lkotlin/coroutines/experimental/Continuation;)Ljava/lang/Object;
INVOKESTATIC kotlin/coroutines/Markers.afterSuspensionPoint ()V
L7
NOP
L8
POP
L9
GOTO L10
L10
GETSTATIC kotlin/Unit.INSTANCE : Lkotlin/Unit;
POP
L11
GOTO L3
L4
LINENUMBER 67 L4
GOTO L12
L12
L13
LINENUMBER 46 L13
GETSTATIC kotlin/Unit.INSTANCE : Lkotlin/Unit;
ARETURN
L14
LOCALVARIABLE it J L6 L10 7
LOCALVARIABLE $i$a$1$forEach I L6 L10 9
LOCALVARIABLE element$iv Ljava/lang/Object; L5 L11 6
LOCALVARIABLE $receiver$iv Ljava/lang/Iterable; L2 L12 4
LOCALVARIABLE $i$f$forEach I L2 L12 10
LOCALVARIABLE this Lcom/empowerops/jargon/model/PipeSchedulerFixture$FakeUUIDGenerator$Companion$otherUUIDS$1; L0 L14 0
LOCALVARIABLE data Ljava/lang/Object; L0 L14 1
LOCALVARIABLE throwable Ljava/lang/Throwable; L0 L14 2
MAXSTACK = 7
MAXLOCALS = 15
Cause: Back-end (JVM) Internal error: Couldn't transform method node: doResume (Ljava/lang/Object;Ljava/lang/Throwable;)Ljava/lang/Object;:
@Lorg/jetbrains/annotations/Nullable;() // invisible
@Lorg/jetbrains/annotations/Nullable;() // invisible, parameter 0
@Lorg/jetbrains/annotations/Nullable;() // invisible, parameter 1
L0
ALOAD 0
GETFIELD com/empowerops/jargon/model/PipeSchedulerFixture$FakeUUIDGenerator$Companion$otherUUIDS$1.p$ : Lkotlin/coroutines/experimental/SequenceBuilder;
ASTORE 3
L1
LINENUMBER 46 L1
LCONST_0
POP2
LDC 200
LSTORE 11
LSTORE 13
NEW kotlin/ranges/LongRange
DUP
LLOAD 13
LLOAD 11
INVOKESPECIAL kotlin/ranges/LongRange.<init> (JJ)V
CHECKCAST java/lang/Iterable
ASTORE 4
NOP
L2
LINENUMBER 66 L2
ALOAD 4
INVOKEINTERFACE java/lang/Iterable.iterator ()Ljava/util/Iterator;
ASTORE 5
L3
ALOAD 5
INVOKEINTERFACE java/util/Iterator.hasNext ()Z
IFEQ L4
ALOAD 5
INVOKEINTERFACE java/util/Iterator.next ()Ljava/lang/Object;
ASTORE 6
L5
ALOAD 6
CHECKCAST java/lang/Number
INVOKEVIRTUAL java/lang/Number.longValue ()J
LSTORE 7
L6
LINENUMBER 46 L6
ALOAD 3
NEW java/util/UUID
DUP
LCONST_0
LLOAD 7
INVOKESPECIAL java/util/UUID.<init> (JJ)V
ALOAD 0
INVOKESTATIC kotlin/coroutines/Markers.beforeSuspensionPoint ()V
INVOKEVIRTUAL kotlin/coroutines/experimental/SequenceBuilder.yield (Ljava/lang/Object;Lkotlin/coroutines/experimental/Continuation;)Ljava/lang/Object;
INVOKESTATIC kotlin/coroutines/Markers.afterSuspensionPoint ()V
L7
NOP
L8
POP
L9
GOTO L10
L10
GETSTATIC kotlin/Unit.INSTANCE : Lkotlin/Unit;
POP
L11
GOTO L3
L4
LINENUMBER 67 L4
GOTO L12
L12
L13
LINENUMBER 46 L13
GETSTATIC kotlin/Unit.INSTANCE : Lkotlin/Unit;
ARETURN
L14
LOCALVARIABLE it J L6 L10 7
LOCALVARIABLE $i$a$1$forEach I L6 L10 9
LOCALVARIABLE element$iv Ljava/lang/Object; L5 L11 6
LOCALVARIABLE $receiver$iv Ljava/lang/Iterable; L2 L12 4
LOCALVARIABLE $i$f$forEach I L2 L12 10
LOCALVARIABLE this Lcom/empowerops/jargon/model/PipeSchedulerFixture$FakeUUIDGenerator$Companion$otherUUIDS$1; L0 L14 0
LOCALVARIABLE data Ljava/lang/Object; L0 L14 1
LOCALVARIABLE throwable Ljava/lang/Throwable; L0 L14 2
MAXSTACK = 7
MAXLOCALS = 15
Cause: org.jetbrains.org.objectweb.asm.tree.analysis.AnalyzerException: Error at instruction 10: Cannot pop operand off an empty stack.
Element is unknownThe root cause was thrown at: MethodTransformer.java:34
File being compiled and position: (46,44) in C:/Users/Justin/Documents/GitHub/OASIS/Jargon/tests/com/empowerops/jargon/model/PipeSchedulerFixture.kt
PsiElement: { (0L..200L).forEach {yield(UUID(0,it))} }
The root cause was thrown at: TransformationMethodVisitor.java:86
at org.jetbrains.kotlin.codegen.FunctionCodegen.endVisit(FunctionCodegen.java:737)
at org.jetbrains.kotlin.codegen.FunctionCodegen.generateMethod(FunctionCodegen.java:267)
at org.jetbrains.kotlin.codegen.FunctionCodegen.generateMethod(FunctionCodegen.java:175)
at org.jetbrains.kotlin.codegen.coroutines.CoroutineCodegen.generateDoResume(CoroutineCodegen.kt:305)
at org.jetbrains.kotlin.codegen.coroutines.CoroutineCodegen.generateClosureBody(CoroutineCodegen.kt:126)
at org.jetbrains.kotlin.codegen.ClosureCodegen.generateBody(ClosureCodegen.java:177)
at org.jetbrains.kotlin.codegen.coroutines.CoroutineCodegen.generateBody(CoroutineCodegen.kt:135)
at org.jetbrains.kotlin.codegen.MemberCodegen.generate(MemberCodegen.java:128)
at org.jetbrains.kotlin.codegen.ExpressionCodegen.genClosure(ExpressionCodegen.java:1649)
at org.jetbrains.kotlin.codegen.ExpressionCodegen.genClosure(ExpressionCodegen.java:1623)
at org.jetbrains.kotlin.codegen.ExpressionCodegen.visitLambdaExpression(ExpressionCodegen.java:1614)
at org.jetbrains.kotlin.codegen.ExpressionCodegen.visitLambdaExpression(ExpressionCodegen.java:120)
at org.jetbrains.kotlin.psi.KtLambdaExpression.accept(KtLambdaExpression.java:37)
at org.jetbrains.kotlin.codegen.ExpressionCodegen.genQualified(ExpressionCodegen.java:305)
at org.jetbrains.kotlin.codegen.ExpressionCodegen.genQualified(ExpressionCodegen.java:287)
at org.jetbrains.kotlin.codegen.ExpressionCodegen.gen(ExpressionCodegen.java:330)
at org.jetbrains.kotlin.codegen.CallGenerator$DefaultCallGenerator.genValueAndPut(CallGenerator.kt:61)
at org.jetbrains.kotlin.codegen.CallBasedArgumentGenerator.generateExpression(CallBasedArgumentGenerator.java:77)
at org.jetbrains.kotlin.codegen.ArgumentGenerator.generate(ArgumentGenerator.kt:66)
at org.jetbrains.kotlin.codegen.CallBasedArgumentGenerator.generate(CallBasedArgumentGenerator.java:64)
at org.jetbrains.kotlin.codegen.ExpressionCodegen.invokeMethodWithArguments(ExpressionCodegen.java:2874)
at org.jetbrains.kotlin.codegen.ExpressionCodegen.invokeMethodWithArguments(ExpressionCodegen.java:2854)
at org.jetbrains.kotlin.codegen.Callable$invokeMethodWithArguments$1.invoke(Callable.kt:44)
at org.jetbrains.kotlin.codegen.Callable$invokeMethodWithArguments$1.invoke(Callable.kt:23)
at org.jetbrains.kotlin.codegen.OperationStackValue.putSelector(StackValue.kt:65)
at org.jetbrains.kotlin.codegen.StackValue.put(StackValue.java:109)
at org.jetbrains.kotlin.codegen.StackValue.put(StackValue.java:102)
at org.jetbrains.kotlin.codegen.StackValue$StackValueWithSimpleReceiver.store(StackValue.java:1671)
at org.jetbrains.kotlin.codegen.StackValue$Property.store(StackValue.java:1261)
at org.jetbrains.kotlin.codegen.StackValue.store(StackValue.java:131)
at org.jetbrains.kotlin.codegen.MemberCodegen.initializeProperty(MemberCodegen.java:498)
at org.jetbrains.kotlin.codegen.MemberCodegen.generateInitializers(MemberCodegen.java:471)
at org.jetbrains.kotlin.codegen.ImplementationBodyCodegen.generatePrimaryConstructorImpl(ImplementationBodyCodegen.java:1001)
at org.jetbrains.kotlin.codegen.ImplementationBodyCodegen.access$200(ImplementationBodyCodegen.java:94)
at org.jetbrains.kotlin.codegen.ImplementationBodyCodegen$3.doGenerateBody(ImplementationBodyCodegen.java:917)
at org.jetbrains.kotlin.codegen.FunctionGenerationStrategy$CodegenBased.generateBody(FunctionGenerationStrategy.java:69)
at org.jetbrains.kotlin.codegen.FunctionCodegen.generateMethodBody(FunctionCodegen.java:494)
at org.jetbrains.kotlin.codegen.FunctionCodegen.generateMethod(FunctionCodegen.java:254)
at org.jetbrains.kotlin.codegen.ImplementationBodyCodegen.generatePrimaryConstructor(ImplementationBodyCodegen.java:913)
at org.jetbrains.kotlin.codegen.ImplementationBodyCodegen.generateConstructors(ImplementationBodyCodegen.java:382)
at org.jetbrains.kotlin.codegen.ClassBodyCodegen.generateBody(ClassBodyCodegen.java:84)
at org.jetbrains.kotlin.codegen.MemberCodegen.generate(MemberCodegen.java:128)
at org.jetbrains.kotlin.codegen.MemberCodegen.genClassOrObject(MemberCodegen.java:295)
at org.jetbrains.kotlin.codegen.MemberCodegen.genClassOrObject(MemberCodegen.java:279)
at org.jetbrains.kotlin.codegen.MemberCodegen.genClassOrObject(MemberCodegen.java:305)
at org.jetbrains.kotlin.codegen.ClassBodyCodegen.generateBody(ClassBodyCodegen.java:90)
at org.jetbrains.kotlin.codegen.MemberCodegen.generate(MemberCodegen.java:128)
at org.jetbrains.kotlin.codegen.MemberCodegen.genClassOrObject(MemberCodegen.java:295)
at org.jetbrains.kotlin.codegen.MemberCodegen.genClassOrObject(MemberCodegen.java:279)
at org.jetbrains.kotlin.codegen.MemberCodegen.genClassOrObject(MemberCodegen.java:305)
at org.jetbrains.kotlin.codegen.ClassBodyCodegen.generateDeclaration(ClassBodyCodegen.java:158)
at org.jetbrains.kotlin.codegen.ClassBodyCodegen.generateBody(ClassBodyCodegen.java:68)
at org.jetbrains.kotlin.codegen.MemberCodegen.generate(MemberCodegen.java:128)
at org.jetbrains.kotlin.codegen.MemberCodegen.genClassOrObject(MemberCodegen.java:295)
at org.jetbrains.kotlin.codegen.MemberCodegen.genClassOrObject(MemberCodegen.java:279)
at org.jetbrains.kotlin.codegen.PackageCodegenImpl.generateClassOrObject(PackageCodegenImpl.java:162)
at org.jetbrains.kotlin.codegen.PackageCodegenImpl.generateClassesAndObjectsInFile(PackageCodegenImpl.java:86)
at org.jetbrains.kotlin.codegen.PackageCodegenImpl.generateFile(PackageCodegenImpl.java:124)
at org.jetbrains.kotlin.codegen.PackageCodegenImpl.generate(PackageCodegenImpl.java:66)
at org.jetbrains.kotlin.codegen.KotlinCodegenFacade.generatePackage(KotlinCodegenFacade.java:99)
at org.jetbrains.kotlin.codegen.KotlinCodegenFacade.doGenerateFiles(KotlinCodegenFacade.java:77)
at org.jetbrains.kotlin.codegen.KotlinCodegenFacade.compileCorrectFiles(KotlinCodegenFacade.java:44)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.generate(KotlinToJVMBytecodeCompiler.kt:417)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.compileModules(KotlinToJVMBytecodeCompiler.kt:151)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:165)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:54)
at org.jetbrains.kotlin.cli.common.CLICompiler.exec(CLICompiler.java:178)
at org.jetbrains.kotlin.daemon.CompileServiceImpl.execCompiler(CompileServiceImpl.kt:387)
at org.jetbrains.kotlin.daemon.CompileServiceImpl.access$execCompiler(CompileServiceImpl.kt:93)
at org.jetbrains.kotlin.daemon.CompileServiceImpl$compile$1$1.invoke(CompileServiceImpl.kt:350)
at org.jetbrains.kotlin.daemon.CompileServiceImpl$compile$1$1.invoke(CompileServiceImpl.kt:93)
at org.jetbrains.kotlin.daemon.CompileServiceImpl$doCompile$2$$special$$inlined$withValidClientOrSessionProxy$lambda$1.invoke(CompileServiceImpl.kt:784)
at org.jetbrains.kotlin.daemon.CompileServiceImpl$doCompile$2$$special$$inlined$withValidClientOrSessionProxy$lambda$1.invoke(CompileServiceImpl.kt:93)
at org.jetbrains.kotlin.daemon.common.DummyProfiler.withMeasure(PerfUtils.kt:137)
at org.jetbrains.kotlin.daemon.CompileServiceImpl.checkedCompile(CompileServiceImpl.kt:811)
at org.jetbrains.kotlin.daemon.CompileServiceImpl.access$checkedCompile(CompileServiceImpl.kt:93)
at org.jetbrains.kotlin.daemon.CompileServiceImpl$doCompile$2.invoke(CompileServiceImpl.kt:783)
at org.jetbrains.kotlin.daemon.CompileServiceImpl$doCompile$2.invoke(CompileServiceImpl.kt:93)
at org.jetbrains.kotlin.daemon.CompileServiceImpl.ifAlive(CompileServiceImpl.kt:971)
at org.jetbrains.kotlin.daemon.CompileServiceImpl.ifAlive$default(CompileServiceImpl.kt:851)
at org.jetbrains.kotlin.daemon.CompileServiceImpl.doCompile(CompileServiceImpl.kt:777)
at org.jetbrains.kotlin.daemon.CompileServiceImpl.access$doCompile(CompileServiceImpl.kt:93)
at org.jetbrains.kotlin.daemon.CompileServiceImpl$compile$1.invoke(CompileServiceImpl.kt:348)
at org.jetbrains.kotlin.daemon.CompileServiceImpl$compile$1.invoke(CompileServiceImpl.kt:93)
at org.jetbrains.kotlin.daemon.CompileServiceImpl.ifAlive(CompileServiceImpl.kt:971)
at org.jetbrains.kotlin.daemon.CompileServiceImpl.ifAlive$default(CompileServiceImpl.kt:851)
at org.jetbrains.kotlin.daemon.CompileServiceImpl.compile(CompileServiceImpl.kt:327)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:346)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: Couldn't transform method node: doResume (Ljava/lang/Object;Ljava/lang/Throwable;)Ljava/lang/Object;:
@Lorg/jetbrains/annotations/Nullable;() // invisible
@Lorg/jetbrains/annotations/Nullable;() // invisible, parameter 0
@Lorg/jetbrains/annotations/Nullable;() // invisible, parameter 1
L0
ALOAD 0
GETFIELD com/empowerops/jargon/model/PipeSchedulerFixture$FakeUUIDGenerator$Companion$otherUUIDS$1.p$ : Lkotlin/coroutines/experimental/SequenceBuilder;
ASTORE 3
L1
LINENUMBER 46 L1
LCONST_0
POP2
LDC 200
LSTORE 11
LSTORE 13
NEW kotlin/ranges/LongRange
DUP
LLOAD 13
LLOAD 11
INVOKESPECIAL kotlin/ranges/LongRange.<init> (JJ)V
CHECKCAST java/lang/Iterable
ASTORE 4
NOP
L2
LINENUMBER 66 L2
ALOAD 4
INVOKEINTERFACE java/lang/Iterable.iterator ()Ljava/util/Iterator;
ASTORE 5
L3
ALOAD 5
INVOKEINTERFACE java/util/Iterator.hasNext ()Z
IFEQ L4
ALOAD 5
INVOKEINTERFACE java/util/Iterator.next ()Ljava/lang/Object;
ASTORE 6
L5
ALOAD 6
CHECKCAST java/lang/Number
INVOKEVIRTUAL java/lang/Number.longValue ()J
LSTORE 7
L6
LINENUMBER 46 L6
ALOAD 3
NEW java/util/UUID
DUP
LCONST_0
LLOAD 7
INVOKESPECIAL java/util/UUID.<init> (JJ)V
ALOAD 0
INVOKESTATIC kotlin/coroutines/Markers.beforeSuspensionPoint ()V
INVOKEVIRTUAL kotlin/coroutines/experimental/SequenceBuilder.yield (Ljava/lang/Object;Lkotlin/coroutines/experimental/Continuation;)Ljava/lang/Object;
INVOKESTATIC kotlin/coroutines/Markers.afterSuspensionPoint ()V
L7
NOP
L8
POP
L9
GOTO L10
L10
GETSTATIC kotlin/Unit.INSTANCE : Lkotlin/Unit;
POP
L11
GOTO L3
L4
LINENUMBER 67 L4
GOTO L12
L12
L13
LINENUMBER 46 L13
GETSTATIC kotlin/Unit.INSTANCE : Lkotlin/Unit;
ARETURN
L14
LOCALVARIABLE it J L6 L10 7
LOCALVARIABLE $i$a$1$forEach I L6 L10 9
LOCALVARIABLE element$iv Ljava/lang/Object; L5 L11 6
LOCALVARIABLE $receiver$iv Ljava/lang/Iterable; L2 L12 4
LOCALVARIABLE $i$f$forEach I L2 L12 10
LOCALVARIABLE this Lcom/empowerops/jargon/model/PipeSchedulerFixture$FakeUUIDGenerator$Companion$otherUUIDS$1; L0 L14 0
LOCALVARIABLE data Ljava/lang/Object; L0 L14 1
LOCALVARIABLE throwable Ljava/lang/Throwable; L0 L14 2
MAXSTACK = 7
MAXLOCALS = 15
Cause: org.jetbrains.org.objectweb.asm.tree.analysis.AnalyzerException: Error at instruction 10: Cannot pop operand off an empty stack.
Element is unknownThe root cause was thrown at: MethodTransformer.java:34
at org.jetbrains.kotlin.codegen.TransformationMethodVisitor.visitEnd(TransformationMethodVisitor.java:86)
at org.jetbrains.kotlin.codegen.FunctionCodegen.endVisit(FunctionCodegen.java:725)
... 103 more
Caused by: java.lang.RuntimeException: org.jetbrains.org.objectweb.asm.tree.analysis.AnalyzerException: Error at instruction 10: Cannot pop operand off an empty stack.
at org.jetbrains.kotlin.codegen.optimization.transformer.MethodTransformer.runAnalyzer(MethodTransformer.java:34)
at org.jetbrains.kotlin.codegen.optimization.transformer.MethodTransformer.analyze(MethodTransformer.java:44)
at org.jetbrains.kotlin.codegen.coroutines.RefinedIntTypesAnalysisKt.performRefinedTypeAnalysis(refinedIntTypesAnalysis.kt:39)
at org.jetbrains.kotlin.codegen.coroutines.CoroutineTransformerMethodVisitor.spillVariables(CoroutineTransformationClassBuilder.kt:187)
at org.jetbrains.kotlin.codegen.coroutines.CoroutineTransformerMethodVisitor.performTransformations(CoroutineTransformationClassBuilder.kt:90)
at org.jetbrains.kotlin.codegen.TransformationMethodVisitor.visitEnd(TransformationMethodVisitor.java:63)
... 104 more
Caused by: org.jetbrains.org.objectweb.asm.tree.analysis.AnalyzerException: Error at instruction 10: Cannot pop operand off an empty stack.
at org.jetbrains.org.objectweb.asm.tree.analysis.Analyzer.analyze(Analyzer.java:298)
at org.jetbrains.kotlin.codegen.optimization.transformer.MethodTransformer.runAnalyzer(MethodTransformer.java:31)
... 109 more
Caused by: java.lang.IndexOutOfBoundsException: Cannot pop operand off an empty stack.
at org.jetbrains.org.objectweb.asm.tree.analysis.Frame.pop(Frame.java:221)
at org.jetbrains.org.objectweb.asm.tree.analysis.Frame.execute(Frame.java:297)
at org.jetbrains.org.objectweb.asm.tree.analysis.Analyzer.analyze(Analyzer.java:200)
... 110 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment