java.lang.RuntimeException: Required 4 but just got 1 bytes

Google Groups | Unknown author | 2 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

    org.jpos.iso.IFA_NUMERIC: Problem unpacking field 0

    Google Groups | 2 months ago | Unknown author
    java.lang.RuntimeException: Required 4 but just got 1 bytes
  2. 0

    Unable to unpack field 2 - Required 633 but just got 330 bytes

    Google Groups | 6 years ago | Henry Sampson
    java.lang.RuntimeException: Required 633 but just got 330 bytes
  3. 0

    MTI not available and unpacking field problems

    Google Groups | 3 years ago | Luis Alberto Velez
    java.lang.ArrayIndexOutOfBoundsException: 46
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    error unpacking field 48

    Google Groups | 6 years ago | raja
    java.lang.ArrayIndexOutOfBoundsException: 170

    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. java.lang.RuntimeException

      Required 4 but just got 1 bytes

      at org.jpos.iso.AsciiInterpreter.uninterpret()
    2. org.jpos.iso
      BaseChannel.receive
      1. org.jpos.iso.AsciiInterpreter.uninterpret(AsciiInterpreter.java:56)
      2. org.jpos.iso.AsciiInterpreter.uninterpret(AsciiInterpreter.java:56)
      3. org.jpos.iso.ISOStringFieldPackager.unpack(ISOStringFieldPackager.java:182)
      4. org.jpos.iso.ISOBasePackager.unpack(ISOBasePackager.java:267)
      5. org.jpos.iso.ISOMsg.unpack(ISOMsg.java:467)
      6. org.jpos.iso.BaseChannel.unpack(BaseChannel.java:968)
      7. org.jpos.iso.BaseChannel.receive(BaseChannel.java:738)
      7 frames
    3. com.device.ISOMessages
      ISOPurchase.doTransaction
      1. com.device.ISOMessages.ISOMessage.sendTransaction(ISOMessage.java:285)
      2. com.device.ISOMessages.ISOPurchase.doTransaction(ISOPurchase.java:46)
      2 frames
    4. devicePOS
      devicePOS.main
      1. devicePOS.devicePOS.doBillPayment(devicePOS.java:62)
      2. devicePOS.devicePOS.TestTransaction(devicePOS.java:67)
      3. devicePOS.devicePOS.main(devicePOS.java:29)
      3 frames