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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Unknown author, 9 months ago
via Google Groups by hsampson, 2 years ago
java.lang.RuntimeException: Required 4 but just got 1 bytes
at org.jpos.iso.AsciiInterpreter.uninterpret(AsciiInterpreter.java:56)
at org.jpos.iso.AsciiInterpreter.uninterpret(AsciiInterpreter.java:56)
at org.jpos.iso.ISOStringFieldPackager.unpack(ISOStringFieldPackager.java:182)
at org.jpos.iso.ISOBasePackager.unpack(ISOBasePackager.java:267)
at org.jpos.iso.ISOMsg.unpack(ISOMsg.java:467)
at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:968)
at org.jpos.iso.BaseChannel.receive(BaseChannel.java:738)
at com.device.ISOMessages.ISOMessage.sendTransaction(ISOMessage.java:285)
at com.device.ISOMessages.ISOPurchase.doTransaction(ISOPurchase.java:46)
at devicePOS.devicePOS.doBillPayment(devicePOS.java:62)
at devicePOS.devicePOS.TestTransaction(devicePOS.java:67)
at devicePOS.devicePOS.main(devicePOS.java:29)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.