com.android.dx.cf.code.SimException: expected type float but found null

GitHub | GoogleCodeExporter | 2 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.

Root Cause Analysis

  1. com.android.dx.cf.code.SimException

    expected type float but found null

    at com.android.dx.cf.code.BaseMachine.popArgs()
  2. Android SDK's dx Tool
    Main.run
    1. com.android.dx.cf.code.BaseMachine.popArgs(BaseMachine.java:174)[2010-08-20 18:50:07 - AndroidHackTest]
    2. com.android.dx.cf.code.Simulator$SimVisitor.visitConstant(Simulator.java:566)[2010-08-20 18:50:07 - AndroidHackTest]
    3. com.android.dx.cf.code.BytecodeArray.parseInstruction(BytecodeArray.java:750)[2010-08-20 18:50:07 - AndroidHackTest]
    4. com.android.dx.cf.code.Simulator.simulate(Simulator.java:96)[2010-08-20 18:50:07 - AndroidHackTest]
    5. com.android.dx.cf.code.Ropper.processBlock(Ropper.java:681)[2010-08-20 18:50:07 - AndroidHackTest]
    6. com.android.dx.cf.code.Ropper.doit(Ropper.java:636)[2010-08-20 18:50:07 - AndroidHackTest]
    7. com.android.dx.cf.code.Ropper.convert(Ropper.java:253)[2010-08-20 18:50:07 - AndroidHackTest]
    8. com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:252)[2010-08-20 18:50:07 - AndroidHackTest]
    9. com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:131)[2010-08-20 18:50:07 - AndroidHackTest]
    10. com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:85)[2010-08-20 18:50:07 - AndroidHackTest]
    11. com.android.dx.command.dexer.Main.processClass(Main.java:297)[2010-08-20 18:50:07 - AndroidHackTest]
    12. com.android.dx.command.dexer.Main.processFileBytes(Main.java:276)[2010-08-20 18:50:07 - AndroidHackTest]
    13. com.android.dx.command.dexer.Main.access$100(Main.java:56)[2010-08-20 18:50:07 - AndroidHackTest]
    14. com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:228)[2010-08-20 18:50:07 - AndroidHackTest]
    15. com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245)[2010-08-20 18:50:07 - AndroidHackTest]
    16. com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:130)[2010-08-20 18:50:07 - AndroidHackTest]
    17. com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:108)[2010-08-20 18:50:07 - AndroidHackTest]
    18. com.android.dx.command.dexer.Main.processOne(Main.java:245)[2010-08-20 18:50:07 - AndroidHackTest]
    19. com.android.dx.command.dexer.Main.processAllFiles(Main.java:183)[2010-08-20 18:50:07 - AndroidHackTest]
    20. com.android.dx.command.dexer.Main.run(Main.java:139)[2010-08-20 18:50:07 - AndroidHackTest]
    20 frames
  3. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[2010-08-20 18:50:07 - AndroidHackTest]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[2010-08-20 18:50:07 - AndroidHackTest]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[2010-08-20 18:50:07 - AndroidHackTest]
    4. java.lang.reflect.Method.invoke(Unknown Source)[2010-08-20 18:50:07 - AndroidHackTest]
    4 frames
  4. com.android.ide
    ApkBuilder.build
    1. com.android.ide.eclipse.adt.internal.sdk.DexWrapper.run(Unknown Source)[2010-08-20 18:50:07 - AndroidHackTest]
    2. com.android.ide.eclipse.adt.internal.build.ApkBuilder.executeDx(Unknown Source)[2010-08-20 18:50:07 - AndroidHackTest]
    3. com.android.ide.eclipse.adt.internal.build.ApkBuilder.build(Unknown Source)[2010-08-20 18:50:07 - AndroidHackTest]
    3 frames
  5. Core Resource Management
    BuildManager$2.run
    1. org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627)[2010-08-20 18:50:07 - AndroidHackTest]
    1 frame
  6. Eclipse Core
    SafeRunner.run
    1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)[2010-08-20 18:50:07 - AndroidHackTest]
    1 frame
  7. Core Resource Management
    BuildManager$1.run
    1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)[2010-08-20 18:50:07 - AndroidHackTest]
    2. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)[2010-08-20 18:50:07 - AndroidHackTest]
    3. org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)[2010-08-20 18:50:07 - AndroidHackTest]
    3 frames
  8. Eclipse Core
    SafeRunner.run
    1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)[2010-08-20 18:50:07 - AndroidHackTest]
    1 frame
  9. Core Resource Management
    AutoBuildJob.run
    1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)[2010-08-20 18:50:07 - AndroidHackTest]
    2. org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)[2010-08-20 18:50:07 - AndroidHackTest]
    3. org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)[2010-08-20 18:50:07 - AndroidHackTest]
    4. org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)[2010-08-20 18:50:07 - AndroidHackTest]
    5. org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)[2010-08-20 18:50:07 - AndroidHackTest]
    5 frames
  10. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    1 frame