guiyu / dex2jar

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

DexException: while accept method #228

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.d2j-dex2jar.sh  -d -f classes.dex
2.
3.

What is the expected output? What do you see instead?

dex2jar classes.dex -> classes-dex2jar.jar
com.googlecode.dex2jar.DexException: while accept 
method:[La/a/a;.bc()Ljava/lang/String;]
        at com.googlecode.dex2jar.reader.DexFileReader.acceptMethod(DexFileReader.java:701)
        at com.googlecode.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.java:448)
        at com.googlecode.dex2jar.reader.DexFileReader.accept(DexFileReader.java:330)
        at com.googlecode.dex2jar.v3.Dex2jar.doTranslate(Dex2jar.java:84)
        at com.googlecode.dex2jar.v3.Dex2jar.to(Dex2jar.java:239)
        at com.googlecode.dex2jar.v3.Dex2jar.to(Dex2jar.java:230)
        at com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:109)
        at com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:168)
        at com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:34)
Caused by: com.googlecode.dex2jar.DexException: while accept code in 
method:[La/a/a;.bc()Ljava/lang/String;]
        at com.googlecode.dex2jar.reader.DexFileReader.acceptMethod(DexFileReader.java:691)
        ... 8 more
Caused by: java.lang.IllegalArgumentException: Id out of bound
        at com.googlecode.dex2jar.reader.DexFileReader.getType(DexFileReader.java:563)
        at com.googlecode.dex2jar.reader.DexOpcodeAdapter.x2c(DexOpcodeAdapter.java:356)
        at com.googlecode.dex2jar.reader.DexCodeReader.acceptInsn(DexCodeReader.java:656)
        at com.googlecode.dex2jar.reader.DexCodeReader.accept(DexCodeReader.java:337)
        at com.googlecode.dex2jar.reader.DexFileReader.acceptMethod(DexFileReader.java:689)
        ... 8 more
What version of the product are you using? On what operating system?

dex2jar-0.0.9.15.zip, Linux
Please upload the file which cause the issue if possible.

Please provide any additional information below.

Original issue reported on code.google.com by demotehe...@gmail.com on 19 Jun 2014 at 1:54

Attachments: