roycezhc / dex2jar

Automatically exported from code.google.com/p/dex2jar
0 stars 0 forks source link

d2j-jar-remap fails with java.lang.IllegalStateException #151

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use d2j-init-deobf to produce init.txt
2. Use d2j-jar-remap.bat to process jar file

What is the expected output? What do you see instead?
I see an exception

java.lang.IllegalStateException: ClassReader.accept() should be called with 
EXPAND_FRAMES flag
        at org.objectweb.asm.commons.LocalVariablesSorter.visitFrame(Unknown Source)
        at org.objectweb.asm.commons.RemappingMethodAdapter.visitFrame(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at p.rn.name.Renamer$2.handle(Renamer.java:176)
        at p.rn.util.FileWalker.walk(FileWalker.java:79)
        at p.rn.name.Renamer.doRename(Renamer.java:168)
        at p.rn.name.Renamer.to(Renamer.java:195)
        at com.googlecode.dex2jar.tools.JarRemap.doCommandLine(JarRemap.java:70)

        at com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:123)
        at com.googlecode.dex2jar.tools.JarRemap.main(JarRemap.java:27)

What version of the product are you using? On what operating system?
version: dex2jar dex-tool-0.0.9.11, Apache-2.0 on Windows 7 (x64),
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
Java HotSpot(TM) Client VM (build 20.12-b01, mixed mode, sharing)

Please upload the file which cause the issue if possible.
Attached

Please provide any additional information below.

Original issue reported on code.google.com by iarspider@gmail.com on 29 Nov 2012 at 6:53

Attachments: