ChairmanC / dex2jar

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

Unable to convert android framework from API 17 #180

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Follow steps from 
http://forum.xda-developers.com/showpost.php?p=27433342&postcount=2 to convert 
Android Framework APIs into jar file
2. Step 5 is where this error occurs: 
Error:Landroid/net/VpnService;.protect(I)Z->null

What is the expected output? What do you see instead?
Expected either a success messages when conversion was done, or no message 
whatsoever.

What version of the product are you using? On what operating system?
version: reader-1.13, translator-0.0.9.12, ir-1.10; Ubuntu 12.10

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

Please provide any additional information below.

Original issue reported on code.google.com by paulberm...@gmail.com on 3 Jun 2013 at 7:03

Attachments:

GoogleCodeExporter commented 9 years ago
This error was reproduced on v0.0.9.12-a. I upgraded to 0.0.9.13 and 
translation is successful.

Now on 0.0.9.14 I get the following NPE in dex2jar:

java.lang.NullPointerException
    at org.objectweb.asm.Item.a(Unknown Source)
    at org.objectweb.asm.ClassWriter.newUTF8(Unknown Source)
    at org.objectweb.asm.AnnotationWriter.visitAnnotation(Unknown Source)
    at com.googlecode.dex2jar.v3.AnnotationNode.accept(AnnotationNode.java:60)
    at com.googlecode.dex2jar.v3.AnnotationNode.accept(AnnotationNode.java:70)
    at com.googlecode.dex2jar.v3.AnnotationNode.accept(AnnotationNode.java:90)
    at com.googlecode.dex2jar.v3.AnnotationNode.accept(AnnotationNode.java:155)
    at com.googlecode.dex2jar.v3.V3FieldAdapter.build(V3FieldAdapter.java:55)
    at com.googlecode.dex2jar.v3.V3FieldAdapter.visitEnd(V3FieldAdapter.java:94)
    at com.googlecode.dex2jar.reader.DexFileReader.acceptField(DexFileReader.java:611)
    at com.googlecode.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.java:432)
    at com.googlecode.dex2jar.reader.DexFileReader.accept(DexFileReader.java:323)
    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)

Original comment by paulberm...@gmail.com on 3 Jun 2013 at 7:13