sky201503 / dex2jar

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

dex2jar NullPointerException.. help me~~~ #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.get the framework.jar from android-2.2 emulator. then compress this. get 
classes.dex
2.run dex2jar.
3.Dumps out some Null Pointer Exceptions

What is the expected output? What do you see instead?
9511 [main] ERROR com.googlecode.dex2jar.reader.DexFileReader - dex2jar got an 
Exception, but will continue.
9511 [main] ERROR com.googlecode.dex2jar.reader.DexFileReader - . while accept 
class id:[1956],name:[Landroid/server/BluetoothService$BondState;]
9511 [main] ERROR com.googlecode.dex2jar.reader.DexFileReader - .. while accept 
method:[Landroid/server/BluetoothService$BondState;.readAutoPairingData()V]
9511 [main] ERROR com.googlecode.dex2jar.reader.DexFileReader - ... while exec 
insn at 210
9511 [main] ERROR com.googlecode.dex2jar.reader.DexFileReader - .... ROOT cause:
java.lang.NullPointerException
    at com.googlecode.dex2jar.optimize.TypeDetectTransformer.req(TypeDetectTransformer.java:355)
    at com.googlecode.dex2jar.optimize.TypeDetectTransformer.exec(TypeDetectTransformer.java:431)
    at com.googlecode.dex2jar.optimize.TypeDetectTransformer.transform(TypeDetectTransformer.java:191)
    at com.googlecode.dex2jar.v3.V3MethodAdapter.visitEnd(V3MethodAdapter.java:168)
    at com.googlecode.dex2jar.reader.DexFileReader.acceptMethod(DexFileReader.java:547)
    at com.googlecode.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.java:323)
    at com.googlecode.dex2jar.reader.DexFileReader.accept(DexFileReader.java:205)
    at com.googlecode.dex2jar.v3.Main.doData(Main.java:52)
    at com.googlecode.dex2jar.v3.Main.doFile(Main.java:85)
    at com.googlecode.dex2jar.v3.Main.main(Main.java:113)
14009 [main] INFO com.googlecode.dex2jar.v3.Main - Done.

[--->Sometimes there is sometimes no<--- i don't know why. When I use 
non-Exception jar, It's also missing some packages]

What version of the product are you using? On what operating system?
Debian 5 with jdk 6 (sun version)

Please provide any additional information below.
no

Original issue reported on code.google.com by bin.liu...@gmail.com on 28 Oct 2011 at 6:33