java.lang.IllegalStateException: Unexpected remainder on the operand stack: -1

GitHub | orange-buffalo | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.IllegalStateException

    Unexpected remainder on the operand stack: -1

    at net.bytebuddy.utility.StackAwareMethodVisitor.drainStack()
  2. Byte Buddy (with dependencies)
    ExceptionTableSensitiveMethodVisitor.visitInsn
    1. net.bytebuddy.utility.StackAwareMethodVisitor.drainStack(StackAwareMethodVisitor.java:139)
    2. net.bytebuddy.asm.Advice$AdviceVisitor$WithExitAdvice.onVisitInsn(Advice.java:1704)
    3. net.bytebuddy.utility.ExceptionTableSensitiveMethodVisitor.visitInsn(ExceptionTableSensitiveMethodVisitor.java:288)
    3 frames
  3. net.bytebuddy.jar
    ClassReader.accept
    1. net.bytebuddy.jar.asm.ClassReader.a(Unknown Source)
    2. net.bytebuddy.jar.asm.ClassReader.b(Unknown Source)
    3. net.bytebuddy.jar.asm.ClassReader.accept(Unknown Source)
    4. net.bytebuddy.jar.asm.ClassReader.accept(Unknown Source)
    4 frames
  4. Byte Buddy (with dependencies)
    AgentBuilder$Default$Transformation$Simple$Resolution.apply
    1. net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:3018)
    2. net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:1617)
    3. net.bytebuddy.dynamic.scaffold.inline.RebaseDynamicTypeBuilder.make(RebaseDynamicTypeBuilder.java:198)
    4. net.bytebuddy.agent.builder.AgentBuilder$Default$Transformation$Simple$Resolution.apply(AgentBuilder.java:5945)
    4 frames