pombreda / smali

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

Error running baksmail agains Mail.apk #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem? Cannot baksmali Mail.apk application from
Android 2.1 running on HTC Hero (Eris Leak):
http://forum.xda-developers.com/showthread.php?t=644079

What is the exact smali/baksmali command that you ran?

java -Xmx512m -jar c:\temp\android\sdk\tools\baksmali-1.2.1.jar -x
Mail.odex -o Mail_out -d ../origi_frame -c
:com.htc.framework.jar:com.google.android.maps.jar:com.htc.android.pimlib.jar:ja
vax.obex.jar

What version are you using?

baksmali-1.2.1
java version "1.6.0_18"

Please provide any additional information below: error messages, symptoms,
etc.

Receive the following error message when attempting to baksmail:

UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.NullPointerException
        at java.util.regex.Matcher.getTextLength(Unknown Source)
        at java.util.regex.Matcher.reset(Unknown Source)
        at java.util.regex.Matcher.<init>(Unknown Source)
        at java.util.regex.Pattern.matcher(Unknown Source)
        at
org.jf.dexlib.Code.Analysis.DeodexUtil.lookupVirtualMethod(DeodexUtil
.java:87)
        at
org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(
MethodAnalyzer.java:3488)
        at
org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodA
nalyzer.java:1047)
        at
org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.jav
a:202)
        at
org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:284)
        at
org.jf.baksmali.Adaptors.MethodDefinition.createTemplate(MethodDefini
tion.java:126)
        at
org.jf.baksmali.Adaptors.ClassDefinition.getTemplatesForMethods(Class
Definition.java:279)
        at
org.jf.baksmali.Adaptors.ClassDefinition.getDirectMethods(ClassDefini
tion.java:259)
        at
org.jf.baksmali.Adaptors.ClassDefinition.createTemplate(ClassDefiniti
on.java:75)
        at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:137)
        at org.jf.baksmali.main.main(main.java:268)

Original issue reported on code.google.com by jsort...@gmail.com on 23 Mar 2010 at 11:27

Attachments:

GoogleCodeExporter commented 9 years ago
See my comments for issue 21

Original comment by JesusFr...@gmail.com on 24 Mar 2010 at 12:18

GoogleCodeExporter commented 9 years ago
Also fixed in 1.2.2

Original comment by JesusFr...@gmail.com on 3 Apr 2010 at 11:28