java.lang.RuntimeException: Internal compiler error: Inconsistent pop

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Unknown author, 10 months ago
via Google Groups by Unknown author, 5 months ago
java.lang.RuntimeException: Internal compiler error: Inconsistent pop
at org.mbte.groovypp.compiler.bytecode.BytecodeStack.pop(BytecodeStack.java:45)
at org.mbte.groovypp.compiler.bytecode.StackAwareMethodAdapter.popArgs(StackAwareMethodAdapter.java:679)
at org.mbte.groovypp.compiler.bytecode.StackAwareMethodAdapter.visitMethodInsn(StackAwareMethodAdapter.java:606)
at org.mbte.groovypp.compiler.asm.IcmpZeroImproverMethodAdapter.visitMethodInsn(IcmpZeroImproverMethodAdapter.java:84)
at org.mbte.groovypp.compiler.asm.I2LL2IRemoverMethodAdapter.visitMethodInsn(I2LL2IRemoverMethodAdapter.java:75)
at org.mbte.groovypp.compiler.asm.UnneededBoxingRemoverMethodAdapter.dropBoxing(UnneededBoxingRemoverMethodAdapter.java:38)
at org.mbte.groovypp.compiler.asm.UnneededBoxingRemoverMethodAdapter.visitInsn(UnneededBoxingRemoverMethodAdapter.java:48)
at org.mbte.groovypp.compiler.asm.UnneededDupStoreRemoverMethodAdapter.dropDupStore(UnneededDupStoreRemoverMethodAdapter.java:66)
at org.mbte.groovypp.compiler.asm.UnneededDupStoreRemoverMethodAdapter.visitJumpInsn(UnneededDupStoreRemoverMethodAdapter.java:148)
at org.mbte.groovypp.compiler.asm.UnneededDupXStoreRemoverMethodAdapter.visitJumpInsn(UnneededDupXStoreRemoverMethodAdapter.java:156)
at org.mbte.groovypp.compiler.asm.UnneededLoadPopRemoverMethodAdapter.visitJumpInsn(UnneededLoadPopRemoverMethodAdapter.java:220)
at org.mbte.groovypp.compiler.CompilerTransformer$6.compile(CompilerTransformer.java:628)
at org.mbte.groovypp.compiler.bytecode.BytecodeExpr.visit(BytecodeExpr.java:39)
at org.mbte.groovypp.compiler.transformers.CastExpressionTransformer$6.compile(CastExpressionTransformer.java:668)
at org.mbte.groovypp.compiler.bytecode.BytecodeExpr.visit(BytecodeExpr.java:39)
at org.mbte.groovypp.compiler.bytecode.ResolvedMethodBytecodeExpr.loadParams(ResolvedMethodBytecodeExpr.java:248)
at org.mbte.groovypp.compiler.bytecode.ResolvedMethodBytecodeExpr.compile(ResolvedMethodBytecodeExpr.java:237)
at org.mbte.groovypp.compiler.bytecode.BytecodeExpr.visit(BytecodeExpr.java:39)
at org.mbte.groovypp.compiler.bytecode.ResolvedArrayLikeBytecodeExpr$18.compile(ResolvedArrayLikeBytecodeExpr.java:287)
at org.mbte.groovypp.compiler.bytecode.BytecodeExpr.visit(BytecodeExpr.java:39)
at org.mbte.groovypp.compiler.StaticCompiler.visitReturnStatement(StaticCompiler.java:726)
at org.mbte.groovypp.compiler.StaticCompiler.visitBlockStatement(StaticCompiler.java:357)
at org.mbte.groovypp.compiler.StaticCompiler.visitBlockStatement(StaticCompiler.java:357)
at org.mbte.groovypp.compiler.StaticCompiler.execute(StaticCompiler.java:1212)
at org.mbte.groovypp.compiler.StaticMethodBytecode.(StaticMethodBytecode.java:73)
at org.mbte.groovypp.compiler.StaticMethodBytecode.replaceMethodCode(StaticMethodBytecode.java:106)
at org.mbte.groovypp.compiler.CompilerTransformer.replaceMethodCode(CompilerTransformer.java:175)
at org.mbte.groovypp.compiler.ClosureUtil.isMatch(ClosureUtil.java:182)
at org.mbte.groovypp.compiler.transformers.MethodCallExpressionTransformer.inferTypesForClosure(MethodCallExpressionTransformer.java:797)
at org.mbte.groovypp.compiler.transformers.MethodCallExpressionTransformer.foundMethodInference(MethodCallExpressionTransformer.java:729)
at org.mbte.groovypp.compiler.transformers.MethodCallExpressionTransformer.findMethodVariatingArgs(MethodCallExpressionTransformer.java:617)
at org.mbte.groovypp.compiler.transformers.MethodCallExpressionTransformer.findMethodWithClosureCoercion(MethodCallExpressionTransformer.java:832)
at org.mbte.groovypp.compiler.transformers.MethodCallExpressionTransformer.createNormalMethodCall(MethodCallExpressionTransformer.java:113)
at org.mbte.groovypp.compiler.transformers.MethodCallExpressionTransformer.transform(MethodCallExpressionTransformer.java:92)
at org.mbte.groovypp.compiler.transformers.MethodCallExpressionTransformer.transform(MethodCallExpressionTransformer.java:36)
at org.mbte.groovypp.compiler.transformers.ExprTransformer.transformExpression(ExprTransformer.groovy:103)
at org.mbte.groovypp.compiler.CompilerTransformer.transform(CompilerTransformer.java:114)
at org.mbte.groovypp.compiler.StaticCompiler.visitExpressionStatement(StaticCompiler.java:387)
at org.mbte.groovypp.compiler.StaticCompiler.visitBlockStatement(StaticCompiler.java:357)
at org.mbte.groovypp.compiler.StaticCompiler.visitBlockStatement(StaticCompiler.java:357)
at org.mbte.groovypp.compiler.StaticCompiler.execute(StaticCompiler.java:1212)
at org.mbte.groovypp.compiler.StaticMethodBytecode.(StaticMethodBytecode.java:73)
at org.mbte.groovypp.compiler.StaticMethodBytecode.replaceMethodCode(StaticMethodBytecode.java:106)
at org.mbte.groovypp.compiler.CompileASTTransform.visit(CompileASTTransform.java:125)
at org.codehaus.groovy.transform.ASTTransformationVisitor.visitClass(ASTTransformationVisitor.java:129)
at org.codehaus.groovy.transform.ASTTransformationVisitor$2.call(ASTTransformationVisitor.java:172)
at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:957)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:542)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:520)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:497)
at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:306)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:287)
at groovy.lang.GroovyShell.parseClass(GroovyShell.java:731)
at groovy.lang.GroovyShell.run(GroovyShell.java:516)
at groovy.lang.GroovyShell.run(GroovyShell.java:172)
at groovy.lang.GroovyShell$run.call(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:885)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:885)
at groovy.lang.Closure.call(Closure.java:405)
at groovy.lang.Closure.call(Closure.java:399)
at groovy.lang.Closure.run(Closure.java:483)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.