java.lang.IllegalArgumentException: Stacks have different curr ent sizes and

sourceforge.net | 7 months 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

    Error with Proguard optimization and Android

    proguard | 6 years ago | *anonymous
    java.lang.IllegalArgumentException: Value is not a reference value
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    IllegalArgumentException: Stacks have different current size

    proguard | 5 years ago | dudemanmax
    java.lang.IllegalArgumentException: Stacks have different curr ent sizes [0] and [2]
  4. 0

    Why ant build fails with proguard enabled?

    Stack Overflow | 3 years ago | Minas
    java.lang.IllegalArgumentException: Value is not a reference value [proguard.evaluation.value.Instru ctionOffsetValue]

    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 curr ent sizes and

      at proguard.evaluation.Stack.generalize()
    2. [${project.groupId}] ${project.artifactId}
      ProGuard.execute
      1. proguard.evaluation.Stack.generalize(Stack.java:125)
      2. proguard.evaluation.TracedStack.generalize(TracedStack.java:140)
      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.info.ParameterUsageMarker.visitCodeAttribute(ParameterUsageMarker.java:176)
      9. proguard.classfile.attribute.CodeAttribute.accept(CodeAttribute.java:101)
      10. proguard.classfile.ProgramMethod.attributesAccept(ProgramMethod.java:79)
      11. proguard.optimize.info.ParameterUsageMarker.visitProgramMethod(ParameterUsageMarker.java:136)
      12. proguard.optimize.OptimizationInfoMemberFilter.visitProgramMethod(OptimizationInfoMemberFilter.java:81)
      13. proguard.classfile.ProgramMethod.accept(ProgramMethod.java:71)
      14. proguard.classfile.ProgramClass.methodsAccept(ProgramClass.java:504)
      15. proguard.classfile.visitor.AllMethodVisitor.visitProgramClass(AllMethodVisitor.java:47)
      16. proguard.classfile.ProgramClass.accept(ProgramClass.java:346)
      17. proguard.classfile.ClassPool.classesAccept(ClassPool.java:125)
      18. proguard.optimize.Optimizer.execute(Optimizer.java:341)
      19. proguard.ProGuard.optimize(ProGuard.java:307)
      20. proguard.ProGuard.execute(ProGuard.java:116)
      20 frames
    3. proguard.ant
      ProGuardTask.execute
      1. proguard.ant.ProGuardTask.execute(ProGuardTask.java:316)
      1 frame
    4. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    6. Ant
      Sequential.execute
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
      3 frames
    7. com.android.ant
      IfElseTask.execute
      1. com.android.ant.IfElseTask.execute(IfElseTask.java:120)
      1 frame
    8. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    10. Ant
      Main.startAnt
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:392)
      4. org.apache.tools.ant.Target.performTasks(Target.java:413)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
      6. org.apache.tools.ant.Project.executeTarget(Project.java:1368)
      7. org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      8. org.apache.tools.ant.Project.executeTargets(Project.java:1251)
      9. org.apache.tools.ant.Main.runBuild(Main.java:811)
      10. org.apache.tools.ant.Main.startAnt(Main.java:217)
      10 frames
    11. Apache Ant Launcher
      Launcher.main
      1. org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
      2. org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
      2 frames