java.lang.RuntimeException: Exception parsing classes

Stack Overflow | blackpanther | 4 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Error when using Spectrum in Android instrumented tests

    GitHub | 3 months ago | RoRoche
    java.lang.RuntimeException: Exception parsing classes
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Proguard flag dontobfuscate causes Translation has been interrupted exception

    Stack Overflow | 2 months ago | pixel
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':myTask:transformClassesWithDexForMyFlavor'.
  4. 0

    Compilation Error with 0.14.0

    GitHub | 5 months ago | bluef
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformClassesWithDexForChinaDebug'.

    9 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. com.android.dx.cf.iface.ParseException

      bad class file magic (cafebabe) or version (0034.0000)

      at com.android.dx.cf.direct.DirectClassFile.parse0()
    2. Android SDK's dx Tool
      Main.run
      1. com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:476)
      2. com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:406)
      3. com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:388)
      4. com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:251)
      5. com.android.dx.command.dexer.Main.parseClass(Main.java:787)
      6. com.android.dx.command.dexer.Main.access$1600(Main.java:88)
      7. com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1722)
      8. com.android.dx.command.dexer.Main.processClass(Main.java:773)
      9. com.android.dx.command.dexer.Main.processFileBytes(Main.java:741)
      10. com.android.dx.command.dexer.Main.access$1200(Main.java:88)
      11. com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1683)
      12. com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)
      13. com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
      14. com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
      15. com.android.dx.command.dexer.Main.processOne(Main.java:695)
      16. com.android.dx.command.dexer.Main.processAllFiles(Main.java:560)
      17. com.android.dx.command.dexer.Main.runMultiDex(Main.java:376)
      18. com.android.dx.command.dexer.Main.run(Main.java:290)
      18 frames
    3. com.android.tools.build.builder
      DexByteCodeConverter.lambda$dexInProcess$0
      1. com.android.builder.internal.compiler.DexWrapper.run(DexWrapper.java:54)
      2. com.android.builder.core.DexByteCodeConverter.lambda$dexInProcess$0(DexByteCodeConverter.java:173)
      2 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames