arshidkv12 / android-apktool

Automatically exported from code.google.com/p/android-apktool
0 stars 1 forks source link

org.jf.dexlib.Util.ExceptionWithContext with com_tmall_wireless_v2_0_6.apk #507

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
apk is here
http://www.yingyong.so/download.aspx?id=8426&tid=1&file=com_tmall_wireless_v2_0_
6.apk

run:
apktool.bat d com_tmall_wireless_v2_0_6.apk
in 
win7-x64-jdk6.0u45

with 

Exception in thread "main" org.jf.dexlib.Util.ExceptionWithContext: Index: 
18493021, Size: 4811
        at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithContext.java:54)
        at org.jf.dexlib.IndexedSection.getItemByIndex(IndexedSection.java:77)
        at org.jf.dexlib.Code.InstructionWithReference.lookupReferencedItem(InstructionWithReference.java:85)
        at org.jf.dexlib.Code.InstructionWithReference.<init>(InstructionWithReference.java:57)
        at org.jf.dexlib.Code.Format.InstructionWithJumboReference.<init>(InstructionWithJumboReference.java:51
        at org.jf.dexlib.Code.Format.Instruction52c.<init>(Instruction52c.java:63)
        at org.jf.dexlib.Code.Format.Instruction52c.<init>(Instruction52c.java:42)
        at org.jf.dexlib.Code.Format.Instruction52c$Factory.makeInstruction(Instruction52c.java:91)
        at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(InstructionIterator.java:82)
        at org.jf.dexlib.CodeItem.readItem(CodeItem.java:154)
        at org.jf.dexlib.Item.readFrom(Item.java:77)
        at org.jf.dexlib.OffsettedSection.readItems(OffsettedSection.java:48)
        at org.jf.dexlib.Section.readFrom(Section.java:143)
        at org.jf.dexlib.DexFile.<init>(DexFile.java:431)
        at org.jf.dexlib.DexFile.<init>(DexFile.java:267)
        at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:49)
        at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:34)
        at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:74)
        at brut.androlib.ApkDecoder.decode(ApkDecoder.java:89)
        at brut.apktool.Main.cmdDecode(Main.java:146)
        at brut.apktool.Main.main(Main.java:77)
Caused by: java.lang.IndexOutOfBoundsException: Index: 18493021, Size: 4811
        at java.util.ArrayList.RangeCheck(ArrayList.java:547)
        at java.util.ArrayList.get(ArrayList.java:322)
        at org.jf.dexlib.IndexedSection.getItemByIndex(IndexedSection.java:75)
        ... 19 more
Error occured while retrieving the type_id_item item at index 18493021
Error occured at code address 0
code_item @0xa8438

Original issue reported on code.google.com by xiongjy2...@gmail.com on 24 Aug 2013 at 1:11

GoogleCodeExporter commented 9 years ago

Original comment by connor.tumbleson on 24 Aug 2013 at 1:13