[jpos-users] Problem in 120 field: org.jpos.iso.IFA_LLCHAR: Problem unpacking field 120

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jpos-users] Problem in 120 field: org.jpos.iso.IFA_LLCHAR: Problem unpacking field 120

Afnan Alam
I am getting this error after I changed in my bitmap i need 120 field in transaction kindly help me 


<log realm="channel/172.191.1.237:9021" at="Sat Jun 10 12:02:12 PKT 2017.235">
  <send>
    <isomsg direction="outgoing">
      <header>49534F30313130303030303030323030</header>
      <field id="0" value="0200"/>
      <field id="2" value="111111111111111111"/>
      <field id="3" value="480000"/>
      <field id="4" value="000000010000"/>
      <field id="7" value="0610120212"/>
      <field id="11" value="000002"/>
      <field id="12" value="120212"/>
      <field id="13" value="0610"/>
      <field id="15" value="0610"/>
      <field id="18" value="0033"/>
      <field id="22" value="021"/>
      <field id="32" value="62710000000"/>
      <field id="37" value="000000000978"/>
      <field id="38" value="000003"/>
      <field id="41" value="03212472460     "/>
      <field id="42" value="ind_mob_app"/>
      <field id="43" value="Fundamo BB                            PK"/>
      <field id="49" value="586"/>
      <field id="100" value="62710000000"/>
      <field id="102" value="02371002710018"/>
      <field id="103" value="1111111111111111"/>
      <field id="104" value="SILKDEV"/>
      <field id="120" value="1111111111111111                                  6271000000000000000000C"/>
    </isomsg>
  </send>
</log>
error unpacking field 120
org.jpos.iso.ISOException: org.jpos.iso.IFA_LLCHAR: Problem unpacking field 120 (java.lang.NegativeArraySizeException)
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:337)
at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:901)
at org.jpos.iso.BaseChannel.receive(BaseChannel.java:669)
at org.jpos.q2.iso.ChannelAdaptor$Receiver.run(ChannelAdaptor.java:295)
at java.lang.Thread.run(Thread.java:662)
Nested:java.lang.NegativeArraySizeException
at org.jpos.iso.AsciiInterpreter.uninterpret(AsciiInterpreter.java:53)
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:337)
at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:901)
at org.jpos.iso.BaseChannel.receive(BaseChannel.java:669)
at org.jpos.q2.iso.ChannelAdaptor$Receiver.run(ChannelAdaptor.java:295)
at java.lang.Thread.run(Thread.java:662)
<log realm="channel/172.191.1.237:9021" at="Sat Jun 10 12:02:12 PKT 2017.444">
  <receive>
    <iso-exception>
      org.jpos.iso.IFA_LLCHAR: Problem unpacking field 120
      <nested-exception>
      java.lang.NegativeArraySizeException
at org.jpos.iso.AsciiInterpreter.uninterpret(AsciiInterpreter.java:53)
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:337)
at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:901)
at org.jpos.iso.BaseChannel.receive(BaseChannel.java:669)
at org.jpos.q2.iso.ChannelAdaptor$Receiver.run(ChannelAdaptor.java:295)
at java.lang.Thread.run(Thread.java:662)
      </nested-exception>
      org.jpos.iso.ISOException: org.jpos.iso.IFA_LLCHAR: Problem unpacking field 120 (java.lang.NegativeArraySizeException)
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:337)
at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:901)
at org.jpos.iso.BaseChannel.receive(BaseChannel.java:669)
at org.jpos.q2.iso.ChannelAdaptor$Receiver.run(ChannelAdaptor.java:295)
at java.lang.Thread.run(Thread.java:662)
Nested:java.lang.NegativeArraySizeException
at org.jpos.iso.AsciiInterpreter.uninterpret(AsciiInterpreter.java:53)
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:337)
at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:901)
at org.jpos.iso.BaseChannel.receive(BaseChannel.java:669)
at org.jpos.q2.iso.ChannelAdaptor$Receiver.run(ChannelAdaptor.java:295)
at java.lang.Thread.run(Thread.java:662)
    </iso-exception>
    --- header ---
    0000  49 53 4F 30 31 31 30 30  30 30 30 30 30 32 30 30  ISO0110000000200

    --- data ---
    0000  30 32 31 30 46 32 33 41  34 34 30 31 30 45 45 30  0210F23A44010EE0
0010  38 30 30 30 30 30 30 30  30 30 30 30 31 37 30 30  8000000000001700
0020  30 31 30 30 31 38 31 31  31 31 31 31 31 31 31 31  0100181111111111
0030  31 31 31 31 31 31 31 31  34 38 30 30 30 30 30 30  1111111148000000
0040  30 30 30 30 30 31 30 30  30 30 30 36 31 30 31 32  0000010000061012
0050  30 32 31 32 30 30 30 30  30 32 31 32 30 32 31 32  0212000002120212
0060  30 36 31 30 30 36 31 30  30 30 33 33 30 32 31 31  0610061000330211
0070  31 36 32 37 31 30 30 30  30 30 30 30 30 30 30 30  1627100000000000
0080  30 30 30 30 30 39 37 38  34 38 30 30 30 30 30 30  0000097848000000
0090  20 30 33 32 31 32 34 37  32 34 36 30 20 20 20 20   03212472460    
00a0  20 69 6E 64 5F 6D 6F 62  5F 61 70 70 20 20 20 20   ind_mob_app    
00b0  46 75 6E 64 61 6D 6F 20  42 42 20 20 20 20 20 20  Fundamo BB      
00c0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20                  
00d0  20 20 20 20 20 20 50 4B  35 38 36 36 32 37 31 30        PK58662710
00e0  30 30 30 30 30 30 31 34  30 32 33 37 31 30 30 32  0000001402371002
00f0  37 31 30 30 31 38 F1 F6  F1 F1 F1 F1 F1 F1 F1 F1  710018..........
0100  F1 F1 F1 F1 F1 F1 F1 F1  30 37 53 49 4C 4B 44 45  ........07SILKDE
0110  56 37 33 31 31 31 31 31  31 31 31 31 31 31 31 31  V731111111111111
0120  31 31 31 20 20 20 20 20  20 20 20 20 20 20 20 20  111             
0130  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20                  
0140  20 20 20 20 20 36 32 37  31 30 30 30 30 30 30 30       62710000000
0150  30 30 30 30 30 30 30 30  30 30 30 43              00000000000C

  </receive>
</log>

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/5c383360-7a1b-46e3-9bdc-d0a2c6d22fc0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [jpos-users] Problem in 120 field: org.jpos.iso.IFA_LLCHAR: Problem unpacking field 120

Alejandro Revilla
That's certainly a mismatch in your packagers's field definition.

You need to carefully study your endpoint specs and verify field-by-field that you're using the proper field packager.

Adding a logger to your packager can help. Please search "add logger" in the jpos-users archives, this is certainly a FAQ.



On Sat, Jun 10, 2017 at 4:29 AM, Afnan Alam <[hidden email]> wrote:
I am getting this error after I changed in my bitmap i need 120 field in transaction kindly help me 


<log realm="channel/172.191.1.237:9021" at="Sat Jun 10 12:02:12 PKT 2017.235">
  <send>
    <isomsg direction="outgoing">
      <header>49534F30313130303030303030323030</header>
      <field id="0" value="0200"/>
      <field id="2" value="111111111111111111"/>
      <field id="3" value="480000"/>
      <field id="4" value="000000010000"/>
      <field id="7" value="0610120212"/>
      <field id="11" value="000002"/>
      <field id="12" value="120212"/>
      <field id="13" value="0610"/>
      <field id="15" value="0610"/>
      <field id="18" value="0033"/>
      <field id="22" value="021"/>
      <field id="32" value="62710000000"/>
      <field id="37" value="000000000978"/>
      <field id="38" value="000003"/>
      <field id="41" value="03212472460     "/>
      <field id="42" value="ind_mob_app"/>
      <field id="43" value="Fundamo BB                            PK"/>
      <field id="49" value="586"/>
      <field id="100" value="62710000000"/>
      <field id="102" value="02371002710018"/>
      <field id="103" value="1111111111111111"/>
      <field id="104" value="SILKDEV"/>
      <field id="120" value="1111111111111111                                  6271000000000000000000C"/>
    </isomsg>
  </send>
</log>
error unpacking field 120
org.jpos.iso.ISOException: org.jpos.iso.IFA_LLCHAR: Problem unpacking field 120 (java.lang.NegativeArraySizeException)
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:337)
at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:901)
at org.jpos.iso.BaseChannel.receive(BaseChannel.java:669)
at org.jpos.q2.iso.ChannelAdaptor$Receiver.run(ChannelAdaptor.java:295)
at java.lang.Thread.run(Thread.java:662)
Nested:java.lang.NegativeArraySizeException
at org.jpos.iso.AsciiInterpreter.uninterpret(AsciiInterpreter.java:53)
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:337)
at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:901)
at org.jpos.iso.BaseChannel.receive(BaseChannel.java:669)
at org.jpos.q2.iso.ChannelAdaptor$Receiver.run(ChannelAdaptor.java:295)
at java.lang.Thread.run(Thread.java:662)
<log realm="channel/172.191.1.237:9021" at="Sat Jun 10 12:02:12 PKT 2017.444">
  <receive>
    <iso-exception>
      org.jpos.iso.IFA_LLCHAR: Problem unpacking field 120
      <nested-exception>
      java.lang.NegativeArraySizeException
at org.jpos.iso.AsciiInterpreter.uninterpret(AsciiInterpreter.java:53)
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:337)
at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:901)
at org.jpos.iso.BaseChannel.receive(BaseChannel.java:669)
at org.jpos.q2.iso.ChannelAdaptor$Receiver.run(ChannelAdaptor.java:295)
at java.lang.Thread.run(Thread.java:662)
      </nested-exception>
      org.jpos.iso.ISOException: org.jpos.iso.IFA_LLCHAR: Problem unpacking field 120 (java.lang.NegativeArraySizeException)
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:337)
at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:901)
at org.jpos.iso.BaseChannel.receive(BaseChannel.java:669)
at org.jpos.q2.iso.ChannelAdaptor$Receiver.run(ChannelAdaptor.java:295)
at java.lang.Thread.run(Thread.java:662)
Nested:java.lang.NegativeArraySizeException
at org.jpos.iso.AsciiInterpreter.uninterpret(AsciiInterpreter.java:53)
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:337)
at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:901)
at org.jpos.iso.BaseChannel.receive(BaseChannel.java:669)
at org.jpos.q2.iso.ChannelAdaptor$Receiver.run(ChannelAdaptor.java:295)
at java.lang.Thread.run(Thread.java:662)
    </iso-exception>
    --- header ---
    0000  49 53 4F 30 31 31 30 30  30 30 30 30 30 32 30 30  ISO0110000000200

    --- data ---
    0000  30 32 31 30 46 32 33 41  34 34 30 31 30 45 45 30  0210F23A44010EE0
0010  38 30 30 30 30 30 30 30  30 30 30 30 31 37 30 30  8000000000001700
0020  30 31 30 30 31 38 31 31  31 31 31 31 31 31 31 31  0100181111111111
0030  31 31 31 31 31 31 31 31  34 38 30 30 30 30 30 30  1111111148000000
0040  30 30 30 30 30 31 30 30  30 30 30 36 31 30 31 32  0000010000061012
0050  30 32 31 32 30 30 30 30  30 32 31 32 30 32 31 32  0212000002120212
0060  30 36 31 30 30 36 31 30  30 30 33 33 30 32 31 31  0610061000330211
0070  31 36 32 37 31 30 30 30  30 30 30 30 30 30 30 30  1627100000000000
0080  30 30 30 30 30 39 37 38  34 38 30 30 30 30 30 30  0000097848000000
0090  20 30 33 32 31 32 34 37  32 34 36 30 20 20 20 20   03212472460    
00a0  20 69 6E 64 5F 6D 6F 62  5F 61 70 70 20 20 20 20   ind_mob_app    
00b0  46 75 6E 64 61 6D 6F 20  42 42 20 20 20 20 20 20  Fundamo BB      
00c0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20                  
00d0  20 20 20 20 20 20 50 4B  35 38 36 36 32 37 31 30        PK58662710
00e0  30 30 30 30 30 30 31 34  30 32 33 37 31 30 30 32  0000001402371002
00f0  37 31 30 30 31 38 F1 F6  F1 F1 F1 F1 F1 F1 F1 F1  710018..........
0100  F1 F1 F1 F1 F1 F1 F1 F1  30 37 53 49 4C 4B 44 45  ........07SILKDE
0110  56 37 33 31 31 31 31 31  31 31 31 31 31 31 31 31  V731111111111111
0120  31 31 31 20 20 20 20 20  20 20 20 20 20 20 20 20  111             
0130  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20                  
0140  20 20 20 20 20 36 32 37  31 30 30 30 30 30 30 30       62710000000
0150  30 30 30 30 30 30 30 30  30 30 30 43              00000000000C

  </receive>
</log>

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/5c383360-7a1b-46e3-9bdc-d0a2c6d22fc0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAAgSK%3DmLCxZKzun%2BW2dGJx%3DE-WFjwXcuAKZNXxXD5DMBE-%3DGQg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.