Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DexException: while accept method #228

Closed
GoogleCodeExporter opened this issue Apr 7, 2015 · 0 comments
Closed

DexException: while accept method #228

GoogleCodeExporter opened this issue Apr 7, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant