org.jf.util.ExceptionWithContext: Unsigned short value out of range: 65536

GitHub | kehugter | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 18#245922335

    GitHub | 7 months ago | kehugter
    org.jf.util.ExceptionWithContext: Unsigned short value out of range: 65536
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    GitHub comment 877#243755749

    GitHub | 7 months ago | sudam-chavan
    org.jf.util.ExceptionWithContext: Unsigned short value out of range: 65573
  4. 0

    Unable to patch Android 5.1 (Fairphone 2)

    GitHub | 6 months ago | Roboe
    org.jf.util.ExceptionWithContext: Unsigned short value out of range: 65536

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.jf.util.ExceptionWithContext

      Unsigned short value out of range: 65536

      at org.jf.dexlib2.writer.DexDataWriter.writeUshort()
    2. org.jf.dexlib2
      DexWriter.writeTo
      1. org.jf.dexlib2.writer.DexDataWriter.writeUshort(DexDataWriter.java:116)
      2. org.jf.dexlib2.writer.InstructionWriter.write(InstructionWriter.java:315)
      3. org.jf.dexlib2.writer.DexWriter.writeCodeItem(DexWriter.java:1025)
      4. org.jf.dexlib2.writer.DexWriter.writeDebugAndCodeItems(DexWriter.java:801)
      5. org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:250)
      6. org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:228)
      6 frames
    3. brut.androlib.src
      SmaliBuilder.build
      1. brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:57)
      2. brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
      2 frames
    4. Apktool
      Androlib.build
      1. brut.androlib.Androlib.buildSourcesSmali(Androlib.java:378)
      2. brut.androlib.Androlib.buildSources(Androlib.java:305)
      3. brut.androlib.Androlib.build(Androlib.java:288)
      4. brut.androlib.Androlib.build(Androlib.java:261)
      4 frames
    5. brut.apktool
      Main.main
      1. brut.apktool.Main.cmdBuild(Main.java:225)
      2. brut.apktool.Main.main(Main.java:84)
      2 frames