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

GitHub | orange-buffalo | 5 months ago
  1. 0

    Unexpected remainder on the operand stack: -1

    GitHub | 5 months ago | orange-buffalo
    java.lang.IllegalStateException: Unexpected remainder on the operand stack: -1
  2. 0
    You can solve this by using an actual Service instead of an IntentService
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0
    In cause your problem comes because of mediastore, you have to try changing Albums.ALBUM_ID, to Albums._ID
  5. 0
    In all ActiveAndroid tables there should be a primary key field with the name "Id" (with a capital "I").
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

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