error unpacking field 48

184 views
Skip to first unread message

rajasekhar

unread,
Jun 22, 2011, 4:23:15 AM6/22/11
to jpos-...@googlegroups.com
Hi All, I'm connecting to Base24 using ISO 8583 . I'm using BASE24Packager and ASCIIChannel. I am able to send a request in response am gettind an error saying that org.jpos.iso.IFA_LLLCHAR: Problem unpacking field 48 java.lang.ArrayIndexOutOfBoundsException: 170 at org.jpos.iso.AsciiInterpreter.uninterpret(AsciiInterpreter.java:55) at org.jpos.iso.ISOStringFieldPackager.unpack(ISOStringFieldPackager.java:173) at org.jpos.iso.ISOBasePackager.unpack(ISOBasePackager.java:233) at org.jpos.iso.ISOMsg.unpack(ISOMsg.java:344) at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:849) at org.jpos.iso.BaseChannel.receive(BaseChannel.java:620) org.jpos.iso.ISOException: org.jpos.iso.IFA_LLLCHAR: Problem unpacking field 48 (java.lang.ArrayIndexOutOfBoundsException: 170) at org.jpos.iso.ISOStringFieldPackager.unpack(ISOStringFieldPackager.java:178) at org.jpos.iso.ISOBasePackager.unpack(ISOBasePackager.java:233) at org.jpos.iso.ISOMsg.unpack(ISOMsg.java:344) at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:849) at org.jpos.iso.BaseChannel.receive(BaseChannel.java:620) --- data --- 0000 30 32 31 30 36 32 33 38 30 30 30 31 30 32 30 31 0210623800010201 0010 38 30 30 30 31 32 32 35 34 37 33 34 31 33 34 30 8000122547341340 0020 30 33 33 39 30 30 30 30 31 31 30 36 32 32 31 30 0339000011062210 0030 34 35 35 36 35 38 36 38 31 30 34 35 35 35 30 36 4556586810455506 0040 32 32 30 39 4B 45 53 31 31 31 31 31 31 30 30 37 2209KES111111007 0050 31 30 38 37 33 5E 31 31 30 30 30 39 38 36 36 36 10873^1100098666 0060 5E 4B 45 53 5E 4B 45 30 30 31 30 30 30 31 5E 42 ^KES^KE0010001^B 0070 45 4E 4A 41 4D 49 4E 20 50 41 54 52 49 43 4B 20 ENJAMIN PATRICK 0080 4B 55 42 4F 5E 34 35 30 32 5E 30 33 30 38 31 39 KUBO^4502^030819 0090 30 5E 36 30 30 31 5E 53 61 76 69 6E 67 73 20 41 0^6001^Savings A 00a0 63 63 6F 75 6E 74 5E 4B 45 53 ccount^KES Field 48 of the Base packager "new IFA_LLLCHAR (999, "Additional data - private")," Please can you tell me a way forward for the solution of this problem Thank you. Raja

View this message in context: error unpacking field 48
Sent from the jPOS - Users mailing list archive at Nabble.com.

rajasekhar

unread,
Jun 22, 2011, 4:23:53 AM6/22/11
to jpos-...@googlegroups.com
Hi All,

I'm connecting to Base24 using ISO 8583 . I'm using BASE24Packager
and ASCIIChannel. I am able to send a request in response am gettind an
error saying that

<log realm="test-channel/172.16.25.93:5008" at="Wed Jun 22 10:45:56 EAT
2011.443">
<receive>
<iso-exception>


org.jpos.iso.IFA_LLLCHAR: Problem unpacking field 48

<nested-exception>


java.lang.ArrayIndexOutOfBoundsException: 170
at org.jpos.iso.AsciiInterpreter.uninterpret(AsciiInterpreter.java:55)
at
org.jpos.iso.ISOStringFieldPackager.unpack(ISOStringFieldPackager.java:173)
at org.jpos.iso.ISOBasePackager.unpack(ISOBasePackager.java:233)
at org.jpos.iso.ISOMsg.unpack(ISOMsg.java:344)
at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:849)
at org.jpos.iso.BaseChannel.receive(BaseChannel.java:620)

</nested-exception>

org.jpos.iso.ISOException: org.jpos.iso.IFA_LLLCHAR: Problem unpacking
field 48 (java.lang.ArrayIndexOutOfBoundsException: 170)
at
org.jpos.iso.ISOStringFieldPackager.unpack(ISOStringFieldPackager.java:178)
at org.jpos.iso.ISOBasePackager.unpack(ISOBasePackager.java:233)
at org.jpos.iso.ISOMsg.unpack(ISOMsg.java:344)
at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:849)
at org.jpos.iso.BaseChannel.receive(BaseChannel.java:620)

</iso-exception>


--- data ---
0000 30 32 31 30 36 32 33 38 30 30 30 31 30 32 30 31 0210623800010201
0010 38 30 30 30 31 32 32 35 34 37 33 34 31 33 34 30 8000122547341340
0020 30 33 33 39 30 30 30 30 31 31 30 36 32 32 31 30 0339000011062210
0030 34 35 35 36 35 38 36 38 31 30 34 35 35 35 30 36 4556586810455506
0040 32 32 30 39 4B 45 53 31 31 31 31 31 31 30 30 37 2209KES111111007
0050 31 30 38 37 33 5E 31 31 30 30 30 39 38 36 36 36 10873^1100098666
0060 5E 4B 45 53 5E 4B 45 30 30 31 30 30 30 31 5E 42 ^KES^KE0010001^B
0070 45 4E 4A 41 4D 49 4E 20 50 41 54 52 49 43 4B 20 ENJAMIN PATRICK
0080 4B 55 42 4F 5E 34 35 30 32 5E 30 33 30 38 31 39 KUBO^4502^030819
0090 30 5E 36 30 30 31 5E 53 61 76 69 6E 67 73 20 41 0^6001^Savings A
00a0 63 63 6F 75 6E 74 5E 4B 45 53 ccount^KES

</receive>

Field 48 of the Base packager "new IFA_LLLCHAR (999, "Additional data -
private"),"


Please can you tell me a way forward for the solution of this problem

Thank you.
Raja


--
View this message in context: http://jpos.1045706.n5.nabble.com/error-unpacking-field-48-tp4513317p4513317.html

raja

unread,
Jun 22, 2011, 4:21:31 AM6/22/11
to jPOS Users

Alejandro Revilla

unread,
Jun 22, 2011, 7:56:43 AM6/22/11
to jpos-...@googlegroups.com
Hi Raja,

Sending your message three times won't help you get a faster response from us.

@apr

Mark Salter

unread,
Jun 22, 2011, 12:57:19 PM6/22/11
to jpos-...@googlegroups.com
On 22/06/2011 12:56, Alejandro Revilla wrote:
> Sending your message three times won't help you get a faster response from
> us.
In fact, perhaps surprisingly, it will have a logarithmic and inversely
proportional effect.

Search this mailing list to find your answer.

I do hope Mr Kubo isn't real, he might be really pissed off otherwise.

8)

--
RTFM
Mark

Emre Yılmaz

unread,
Jun 23, 2011, 6:36:25 AM6/23/11
to jPOS Users
As clearly mentioned in the exception message, you got the exception
at
org.jpos.iso.AsciiInterpreter.uninterpret(AsciiInterpreter.java:55).
Checking the method, you can only get this exception at
System.arraycopy(rawData, offset, ret, 0, length);
which means you get either the offset or length wrong from the
ISOStringFieldPackager.unpack method. Debugging and checking what is
send is
the way to go, but probably you are getting a wrong length from:
int lenLen = prefixer.getPackedLength();

rajasekhar

unread,
Jun 23, 2011, 3:14:56 AM6/23/11
to jpos-...@googlegroups.com
Is it so thank you for the feedback

-----
Thanks & Regards,
Raja Sekhar
--
View this message in context: http://jpos.1045706.n5.nabble.com/error-unpacking-field-48-tp4513317p4516555.html

rajasekhar

unread,
Jun 22, 2011, 8:25:13 AM6/22/11
to jpos-...@googlegroups.com
Hey Sorry for that please suggest me a way to solve the problem

--
View this message in context: http://jpos.1045706.n5.nabble.com/error-unpacking-field-48-tp4513317p4513861.html

Mark Salter

unread,
Jun 25, 2011, 4:30:34 AM6/25/11
to jpos-...@googlegroups.com
On 23/06/2011 08:14, rajasekhar wrote:
> Is it so thank you for the feedback
If that is real data that you posted, please inform the issuer that the
account/card might have been compromised?

Please take care to mask data (character and binary representations) as
needed.

Please confirm if this is a real person and real data and I will delete
the message from the google mailing list. I cannot affect this 100's of
version that might still be held in our member's mailboxes or trash though.

--
Mark

Mark Salter

unread,
Jun 25, 2011, 5:54:43 AM6/25/11
to jpos-...@googlegroups.com
On 22/06/2011 13:25, rajasekhar wrote:
> Hey Sorry for that please suggest me a way to solve the problem
Search this mailing list to find your answer.


--
Mark

Reply all
Reply to author
Forward
0 new messages