Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-857

quickfix.FieldNotFound: 555, index=1 while using TradeCaptureReport.fromString(fixMsg, dd, true)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Not a bug
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      We are developing an utility which will take fix message string as input to the MessageUtils.parse method to create a TradeCaptureReport Object. This object intern pass it to the downstream to process further to create a Deal in our system.
      Using below code, we are now able to process the fix messages for Normal Deals but the same is failing to process spread deals with the following error. while executing the
      message.getGroup(i, nolegs) on TradeCaptureReport Object

      quickfix.FieldNotFound: 555, index=1
      but the 555 has two legs in the fix message below.

      Java Code: We tried with the 2 methods the results into the same error.
      1)message = (TradeCaptureReport)MessageUtils.parse(new quickfix.fix44.MessageFactory(), dd, fixMsg);
      2) fixMsg is my String contains the below fix message.
      TradeCaptureReport message = new TradeCaptureReport();
      message.fromString(fixMsg, dd, true);

      Error is coming because message.frromString()// method is not populating the group by filed map for 555 though it present in the

      Fix messages:
      8=FIX.4.49=94635=AE49=ICE34=352=20150804-07:38:17.86156=1574657=26571=180487=0856=0568=474be469-5eab-4207-845a-9cfa4f88f6e9828=017=500013139=2570=N55=14209048=GWM FMX0015-GWM FMZ001522=8461=FXXXXX207=IFEU9064=0916=20151101917=2015123132=531=-1.3309018=59022=3075=2015080460=20150804-07:37:10.1439413=0762=999028=666003552=154=237=500012711=707335134453=6448=tpoint_gui1447=D452=11448=Triple Point Technology, Inc.447=D452=13448=15577447=D452=56448=15577447=D452=35448=U447=D452=54448=144447=D452=55*555=2600=141989602=GWM FMX0015!603=8608=FXXXXX616=IFEU624=2637=46.570687=5654=50001329019=59023=309020=201511019021=20151130539=3524=U525=D538=54524=144525=D538=55524=15577525=D538=35600=141975602=GWM FMZ0015!603=8608=FXXXXX616=IFEU624=1637=47.900687=5654=50001339019=59023=319020=201512019021=20151231539=3524=U525=D538=54524=144525=D538=55524=15577525=D538=35*10=250

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              balakrishna.billa@gmail.com balakrishna
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: