We are facing issue with ExtensibleSocketConnectorAssertion-1.0.0 assertion while reading incoming messages.
Issue: When we pass any message on port with length range from 128 to 255 it fails with an exception in the ssg log .
Message processed successfully if range in not in between as defined below..
Failure Message length Ranges..
128 to 255 length Range
384 to 511 length Range
640 to 767 length Range
N The pattern goes on..
Exception:
com.l7tech.external.assertions.extensiblesocketconnectorassertion.server.InboundIoHandlerAdapter: Error communicating with client: org.apache.mina.filter.codec.ProtocolDecoderException: java.lang.NegativeArraySizeException (Hexdump: 00 00 00 FF 3C 6C 6F 67 5F 72 65 63 6F 72 64 3E 0D 0A 20 20 20 20 3C 63 6F 6D 6D 65 6E 74 3E 57 61 6B 65 20 55 70 4D 65 73 73 61 67 65 3C 2F 63 6F 6D 6D 65 6E 74 3E 0D 0A 20 20 20 20 3C 74 79 70 65 5F 63 6F 64 65 3E 30 30 30 33 3C 2F 74 79 70 65 5F 63 6F 64 65 3E 0D 0A 20 20 20 20 3C 70 72 69 5F 74 72 61 6E 5F 63 6F 64 65 3E 57 41 4B 45 3C 2F 70 72 69 5F 74 72 61 6E 5F 63 6F 64 65 3E 0D 0A 09 3C 73 65 63 5F 74 72 61 6E 5F 63 6F 64 65 3E 55 50 21 20 3C 2F 73 65 63 5F 74 72 61 6E 5F 63 6F 64 65 3E 0D 0A 09 3C 74 72 61 6E 5F 64 61 74 65 74 69 6D 65 3E 30 30 30 30 30 30 30 30 30 3C 2F 74 72 61 6E 5F 64 61 74 65 74 69 6D 65 3E 0D 0A 09 3C 72 65 74 75 72 6E 5F 66 69 65 6C 64 73 3E 3C 2F 72 65 74 75 72 6E 5F 66 69 65 6C 64 73 3E 0D 0A 3C 2F 6C 6F 67 5F 72 65 63 6F 72 64 3E)
Release : 9.4
Component : API GATEWAY
Please raise a support case to request ExtensibleSocketConnectorAssertion-1.1.0 which will resolve the problem .