1

使用 ISORequestListener 从客户端侦听 ISOMessage 时出错。请为此问题提出合适的解决方案 Channel - org.jpos.iso.channel.BASE24TCPChannel 和 Packager - org.jpos.iso.packager.BASE24Packager

    <receive>

    <iso-exception>

    org.jpos.iso.IFA_NUMERIC: Problem unpacking field 70 (java.lang.RuntimeException: Required 3 but just got 2 bytes) unpacking field=70, consumed=52

    org.jpos.iso.ISOException: org.jpos.iso.IFA_NUMERIC: Problem unpacking field 70 (java.lang.RuntimeException: Required 3 but just got 2 bytes) unpacking field=70, consumed=52

    at org.jpos.iso.ISOBasePackager.unpack(ISOBasePackager.java:265)

    at org.jpos.iso.ISOMsg.unpack(ISOMsg.java:420)

    at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:923)

    at org.jpos.iso.BaseChannel.receive(BaseChannel.java:691)

    at org.jpos.iso.ISOServer$Session.run(ISOServer.java:131)

    at org.jpos.util.ThreadPool$PooledThread.run(ThreadPool.java:72)

    </iso-exception>

    --- header ---

    0000 49 53 4F 30 30 36 30 30 30 30 36 30 ISO006000060

    --- data ---

    0000 30 38 30 30 38 32 32 30 30 30 30 30 30 30 30 30 0800822000000000

    0010 30 30 30 30 30 34 30 30 30 30 30 30 30 30 30 30 0000040000000000

    0020 30 30 30 30 31 30 33 30 31 30 31 34 33 31 30 30 0000103010143100

    0030 30 33 30 33 33 30 030330

    </receive>

    </log>
4

1 回答 1

1

您的频道似乎存在问题,无法正确获取消息长度。可能涉及一个预告片(你在最后看到的“03”)。

于 2015-11-04T15:36:09.833 回答