The exception is showing that at the position in the byte[] that jpos is trying to unpack field 62 the data it found present caused the code the fly off the end of the byte[] pulling out the field value.
This is a likely sign the the bytes and fields leading up to field 62 and the fields indicated by the bitmap were unpacked incorrectly - leaving the processing in the wrong place for 62.
Likely from a difference between the packager you are using and the message.
First check the packager matches the message specification for the fields you can see are present *before* 62.
Then check all the packager field definitions match the specification, which should have been the first job as you picked the packager to use.
I would bet money that you have a fixed length field that your packager that has a different length to the specification.
Googling this group would have found many similar examples and this same guidance, so do try a search next time, it will save you time if a similar question has been asked before - like this.
Have fun
--
Mark
--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jpos-users/59cc331f-5173-4c7a-9e8b-962717c5eae5n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jpos-users/5d7ae8a7-7f57-45e5-a084-8751ad5dea09n%40googlegroups.com.
Just noticed this was a private reply - sharing for info to the group, where all exchanges always go please!
--
Mark
Thank you for answering! found the error it was the field 48, thank you for the insight!
On Thursday, January 16, 2025 at 3:42:27 PM UTC+8 Mark Salter wrote:
Sorry Michael, this isn't helping you or us help you.
You are acting as an Issuer, but perhaps are able to trigger the send of the second message into your test setup?
Please describe the entire flow here fully.
Focus too on sharing in detail what you mean about Socket versus Channel as that makes the leastcsense so far.
A smart question will help us help you easily, google what that is a follow that guidance back here.
--
Mark
--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jpos-users/1f7b55c2-3910-4ffa-a80f-524583f95e79n%40googlegroups.com.