haco20292 / dex2jar

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

NullPointerException #141

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get a framework.jar file from a phone running (cyanogenmod) android 4.1.1
2. Unzip it to get classes.dex, META-INF/ and preloaded-clases
3. Run ./d2j-dex2jar.sh classes.dex

What is the expected output? What do you see instead?
Expected output is a classes-dex2jar.jar file.  This file is created but an 
error is thrown saying:
dex2jar classes.dex -> classes-dex2jar.jar
java.lang.NullPointerException
    at org.objectweb.asm.Type.getType(Unknown Source)
    at com.googlecode.dex2jar.v3.V3ClassAdapter.build(V3ClassAdapter.java:193)
    at com.googlecode.dex2jar.v3.V3ClassAdapter.visitField(V3ClassAdapter.java:247)
    at com.googlecode.dex2jar.reader.DexFileReader.acceptField(DexFileReader.java:607)
    at com.googlecode.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.java:442)
    at com.googlecode.dex2jar.reader.DexFileReader.accept(DexFileReader.java:333)
    at com.googlecode.dex2jar.v3.Dex2jar.doTranslate(Dex2jar.java:82)
    at com.googlecode.dex2jar.v3.Dex2jar.to(Dex2jar.java:219)
    at com.googlecode.dex2jar.v3.Dex2jar.to(Dex2jar.java:210)
    at com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:108)
    at com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:118)
    at com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:34)

What version of the product are you using? On what operating system?
dex2jar_0.0.9.9 on Ubuntu 12.04

Please upload the file which cause the issue if possible.

Please provide any additional information below.

Original issue reported on code.google.com by isten...@epitiro.com on 15 Oct 2012 at 1:04

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Yep, I can confirm that 9.11 works just fine.

Thanks for that && keep up the good work

Original comment by isten...@epitiro.com on 25 Oct 2012 at 1:59