<log realm="channel/XX.X.XX.XX:XXXX" at="Sat Sep 12 15:39:49.472 CST 2015">
<send>
<isomsg direction="outgoing">
<!-- org.jpos.iso.packager.GenericPackager[cfg\packager\vapvip.xml] -->
<header>160102011F0000000000000000000000000000000000</header>
<field id="0" value="0100"/>
<field id="2" value="4055984015443261"/>
<field id="3" value="000000"/>
<field id="4" value="000000012300"/>
<field id="7" value="0910163536"/>
<field id="11" value="001976"/>
<field id="14" value="2203"/>
<field id="18" value="5411"/>
<field id="19" value="608"/>
<field id="22" value="0510"/>
<field id="23" value="001"/>
<field id="25" value="00"/>
<field id="32" value="12345678"/>
<field id="35" value="4055984015443261=2203201166454610000"/>
<field id="37" value="524516000976"/>
<field id="41" value="TERMID01"/>
<field id="42" value="CARD ACCEPTOR "/>
<field id="43" value="ACQUIRER NAME CITY NAME US"/>
<field id="49" value="608"/>
<field id="55" value="9F3303204000950580000100009F37049BADBCAB9F1E08F9F9F9F9F9F9F9F99F100C0B010A03A0B00000000000009F26082817FBDE2430E3AD9F36020001820200009C01009F1A0206089A030101019F02060000000123005F2A0206089F03060000000000000405000810080000000000000000" type="binary"/>
</isomsg>
</send>
</log>
<log realm="channel/ XX.X.XX.XX:XXXX " at="Sat Sep 12 15:39:49.565 CST 2015" lifespan="5616ms">
<receive>
<iso-exception>
org.jpos.iso.IFB_LLHBINARY: Problem unpacking field 55 (java.lang.ArrayIndexOutOfBoundsException) unpacking field=55, consumed=82
org.jpos.iso.ISOException: org.jpos.iso.IFB_LLHBINARY: Problem unpacking field 55 (java.lang.ArrayIndexOutOfBoundsException) unpacking field=55, consumed=82
at org.jpos.iso.ISOBasePackager.unpack(ISOBasePackager.java:276)
at org.jpos.iso.ISOMsg.unpack(ISOMsg.java:454)
at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:964)
at org.jpos.iso.BaseChannel.receive(BaseChannel.java:734)
at org.jpos.iso.ISOServer$Session.run(ISOServer.java:156)
at org.jpos.util.ThreadPool$PooledThread.run(ThreadPool.java:76)
</iso-exception>
--- header ---
0000 16 01 02 00 F2 00 00 00 29 63 23 00 00 00 00 00 ........)c#.....
0010 00 00 00 00 00 00 ......
--- data ---
0000 01 10 F2 20 22 81 0A C0 82 00 80 00 00 00 00 00 ... "...........
0010 00 00 00 80 00 00 00 00 00 00 10 40 55 98 40 15 ...........@U.@.
0020 44 32 61 00 00 00 00 00 00 01 23 00 09 10 16 35 D2a.......#....5
0030 36 00 19 76 06 08 00 01 00 08 12 34 56 78 F5 F2 6..v.......4Vx..
0040 F4 F5 F1 F6 F0 F0 F0 F9 F7 F6 F0 F5 E3 C5 D9 D4 ................
0050 C9 C4 F0 F1 C3 C1 D9 C4 40 C1 C3 C3 C5 D7 E3 D6 ........@.......
0060 D9 40 40 06 08 74 9F 33 03 20 40 00 95 05 80 00 .@@..t.3. @.....
0070 01 00 00 9F 37 04 9B AD BC AB 9F 1E 08 F9 F9 F9 ....7...........
0080 F9 F9 F9 F9 F9 9F 10 0C 0B 01 0A 03 A0 B0 00 00 ................
0090 00 00 00 00 9F 26 08 28 17 FB DE 24 30 E3 AD 9F .....&.(...$0...
00a0 36 02 00 01 82 02 00 00 9C 01 00 9F 1A 02 06 08 6...............
00b0 9A 03 01 01 01 9F 02 06 00 00 00 01 23 00 5F 2A ............#._*
00c0 02 06 08 9F 03 06 00 00 00 00 00 00 04 05 00 08 ................
00d0 10 08 00 00 00 00 00 00 00 00 00 01 ............
</receive>
I am using VAP Channel to communicate with the server and XML packager is vapvip.xml
Can you please advice on what needs to be done.
Thanks,
Alex
--
--
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
Join us in IRC at http://webchat.freenode.net/?channels=jpos
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jpos-users
---
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 on the web visit https://groups.google.com/d/msgid/jpos-users/07e27e29-f801-432b-b931-2ec86be7866e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Please fix your packager where fields can are of type IFB_LLCHAR, they can have a max of 99. Please replace appropriately.
You have a IFA_LLHBINARY which I dont think exists in jpos.
In a previous response I had provided a snippet of code to unpack data from a raw message. Please use the “data” part of your raw data to get some insight into unpacked message till the exception gets thrown. Your field packagers are not correct much before field 55 and that probably causes your field 55 parsing to fail.
You need to improve your debugging skills to figure some of this out.
<isomsg direction="none">
org.jpos.iso.ISOException: org.jpos.iso.IFB_LLHBINARY: Problem unpacking field 55 (java.lang.ArrayIndexOutOfBoundsException) unpacking field=55, consumed=82
at org.jpos.iso.ISOBasePackager.unpack(ISOBasePackager.java:284)
at org.jpos.iso.ISOMsg.unpack(ISOMsg.java:460)
at Test.main(Test.java:37)
<!-- org.jpos.iso.packager.GenericPackager[cfg/vapvip.xml] -->
<field id="0" value="0110"/>
<field id="2" value=""/>
<field id="3" value="800000"/>
<field id="4" value="000000001040"/>
<field id="7" value="5598401544"/>
<field id="11" value="326100"/>
<field id="19" value="000"/>
<field id="23" value="000"/>
<field id="25" value="00"/>
<field id="32" value="3"/>
<field id="37" value="�???�Î??�"/>
<field id="39" value="�"/>
<field id="41" value="??îÌ524"/>
<field id="42" value="51600097605TERM"/>
<field id="49" value="9C4"/>
</isomsg>
If you are seeing funny character or empty fields there is an issue.
If someone can verify if the definition of 127 is correct or not at https://github.com/jpos/jPOS/blob/master/jpos/src/dist/cfg/packager/vapvip.xml
I have a visa interface that defines 127 as IFB_LLHBINARY.
-chhil
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CALK1SyxbCG3AH%3DRLOU9pZthrHypTdB36CX%3DR6Ft%2BAP8PXKyqCw%40mail.gmail.com.