DO NOT SUBMIT HELP REQUESTS TO JIRA.  INSTEAD USE THE MAILING LIST TO ASK FOR HELP.

QuickFIX/J

keep getting quickfix.FieldNotFound: 268, eventhough it's set in the message

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Not a bug
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
  • Environment:
    quickfix.fix50

Description

I keep getting quickfix.FieldNotFound: 268, index=1.
As you can see from the message bellow 268 is set. Bellow is the sample code that is used to read the message. Please, advise

Message:

8=FIXT.1.19=36935=W49=ICAPServer56=FXDD34=452=20111021-15:09:16.535262=131920975731621021=255=EUR/USD461=RCSXX=0268=8269=0270=1.38898271=2000000269=0270=1.38897271=8000000269=0270=1.38854271=2000000269=1270=1.38855271=6000000269=1270=1.38856271=7000000269=1270=1.38857271=3000000269=1270=1.38858271=9000000269=1270=1.38859271=10000000010=128


Sample Code:

 MarketDataSnapshotFullRefresh message= (MarketDataSnapshotFullRefresh) message;
 MarketDataSnapshotFullRefresh.NoMDEntries group= new MarketDataSnapshotFullRefresh.NoMDEntries();
 message.getGroup(1, group); // Throws the error above, quickfix.FieldNotFound: 268, index=1.


Activity

Hide
Laurent Danesi added a comment - 15/Nov/11 11:42 AM

Hi,

I tried to reproduce your problem but I was able to.
Can you provide me a TestCase showing the problem or modify the attached test, please?

Regards,

Laurent

Show
Laurent Danesi added a comment - 15/Nov/11 11:42 AM Hi, I tried to reproduce your problem but I was able to. Can you provide me a TestCase showing the problem or modify the attached test, please? Regards, Laurent
Hide
Christoph John added a comment - 02/Dec/11 2:07 PM

Robert,

you need to use a valid data dictionary if you want to correctly parse messages with repeating groups. The attached test case by Laurent also works for me. But if I do not pass the data dictionary into the Message(String, DataDictionary, boolean) I keep getting the same error as you: "quickfix.FieldNotFound: 268, index=1".

Regards,
Chris.

Show
Christoph John added a comment - 02/Dec/11 2:07 PM Robert, you need to use a valid data dictionary if you want to correctly parse messages with repeating groups. The attached test case by Laurent also works for me. But if I do not pass the data dictionary into the Message(String, DataDictionary, boolean) I keep getting the same error as you: "quickfix.FieldNotFound: 268, index=1". Regards, Chris.

People

Vote (0)
Watch (1)

Dates

  • Created:
    21/Oct/11 6:19 PM
    Updated:
    15/Nov/12 10:14 AM
    Resolved:
    02/Dec/11 2:09 PM