Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.2.0, 1.2.1, 1.3.0
-
Fix Version/s: None
-
Component/s: Engine
-
Labels:None
Description
This issue arise when the group data is set incorrectly by users. Sometimes users leave the group tags empty(mainly the group count) with no value.
Below is the case where the test fail with NullPointerException. The exception is not caught in AbstractIOHandler.java and is never sent to client app causing the error to be ignored.
We should catch the exception and send reject to clients.
- @testcase 14i
- @Receive a message with repeating groups in which the "count" field value for a repeating group is incorrect.
iCONNECT
- logon message and response
I8=FIX.4.235=A34=149=TW52=<TIME>56=ISLD98=0108=2
E8=FIX.4.29=6035=A34=149=ISLD52=00000000-00:00:00.00056=TW98=0108=210=0
#------------------------
- begin message exchange
#------------------------
#New order message with incorrect repeating group "count". NoTradingSessions (386)
I8=FIX.4.235=D34=249=TW52=<TIME>56=ISLD11=ID21=140=154=138=200.0055=INTC386=336=PRE-OPEN336=AFTER-HOURS60=<TIME>
- expect a reject
E8=FIX.4.29=11835=334=249=ISLD52=00000000-00:00:00.00056=TW45=258=Incorrect NumInGroup count for repeating group371=386372=D10=0