java.lang.IllegalArgumentException: Stacks have different current sizes [0] and [1]

proguard | jhirsh | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Getting crash on optimization - Null Pointer Exception and then Stack error

    proguard | 3 years ago | jhirsh
    java.lang.IllegalArgumentException: Stacks have different current sizes [0] and [1]
  2. 0

    Proguard: IllegalArgumentException: Stacks have different current sizes

    Stack Overflow | 5 years ago | cottonBallPaws
    java.lang.IllegalArgumentException: Stacks have different current sizes [0] and [1]
  3. 0

    ProGuard Java Optimizer and Obfuscator / Bugs / #437 IllegalArgumentException: Stacks have different current size

    sourceforge.net | 2 years ago
    java.lang.IllegalArgumentException: Stacks have different current sizes [0] and [1]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ProGuard Java Optimizer and Obfuscator / Bugs / #437 IllegalArgumentException: Stacks have different current size

    sourceforge.net | 7 months ago
    java.lang.IllegalArgumentException: Stacks have different current sizes [0] and [1]
  6. 0

    Proguard error while generating Secure Signed APK

    Stack Overflow | 4 years ago | GrIsHu
    java.lang.IllegalArgumentException: Can't find any super classes of [android/support/v4/view/AccessibilityDelegateCompatIcs$1] (not even immediate super class [android/view/View$AccessibilityDelegate])

    1 unregistered visitors
    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.IllegalArgumentException

      Stacks have different current sizes [0] and [1]

      at proguard.evaluation.Stack.generalize()
    2. [${project.groupId}] ${project.artifactId}
      ProGuard.main
      1. proguard.evaluation.Stack.generalize(Stack.java:125)
      2. proguard.evaluation.TracedStack.generalize(TracedStack.java:148)
      3. proguard.optimize.evaluation.PartialEvaluator.evaluateSingleInstructionBlock(PartialEvaluator.java:683)
      4. proguard.optimize.evaluation.PartialEvaluator.evaluateInstructionBlock(PartialEvaluator.java:602)
      5. proguard.optimize.evaluation.PartialEvaluator.evaluateInstructionBlockAndExceptionHandlers(PartialEvaluator.java:560)
      6. proguard.optimize.evaluation.PartialEvaluator.visitCodeAttribute0(PartialEvaluator.java:264)
      7. proguard.optimize.evaluation.PartialEvaluator.visitCodeAttribute(PartialEvaluator.java:181)
      8. proguard.optimize.evaluation.LivenessAnalyzer.visitCodeAttribute(LivenessAnalyzer.java:205)
      9. proguard.optimize.evaluation.VariableOptimizer.visitCodeAttribute(VariableOptimizer.java:105)
      10. proguard.classfile.attribute.CodeAttribute.accept(CodeAttribute.java:101)
      11. proguard.classfile.ProgramMethod.attributesAccept(ProgramMethod.java:79)
      12. proguard.classfile.attribute.visitor.AllAttributeVisitor.visitProgramMember(AllAttributeVisitor.java:95)
      13. proguard.classfile.util.SimplifiedVisitor.visitProgramMethod(SimplifiedVisitor.java:91)
      14. proguard.classfile.ProgramMethod.accept(ProgramMethod.java:71)
      15. proguard.classfile.ProgramClass.methodsAccept(ProgramClass.java:504)
      16. proguard.classfile.visitor.AllMethodVisitor.visitProgramClass(AllMethodVisitor.java:47)
      17. proguard.classfile.ProgramClass.accept(ProgramClass.java:346)
      18. proguard.classfile.ClassPool.classesAccept(ClassPool.java:124)
      19. proguard.optimize.Optimizer.execute(Optimizer.java:926)
      20. proguard.ProGuard.optimize(ProGuard.java:306)
      21. proguard.ProGuard.execute(ProGuard.java:115)
      22. proguard.ProGuard.main(ProGuard.java:483)
      22 frames