[QFJ-42] quickfix.InvalidMessage: Actual body length=115, Expected body length=675 - I can replicate Created: 31/Jul/06  Updated: 15/Nov/12  Resolved: 01/Aug/06

Status: Closed
Project: QuickFIX/J
Component/s: None
Affects Version/s: 1.0.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Richard Pike Assignee: Steve Bate
Resolution: Not a bug Votes: 0
Labels: None
Environment:

Windoze XP Pro, Netbeans 5.0


Attachments: Text File message.txt    

 Description   

I have replicated the problem with the following code and message, I have been using a dictionary,

String messageString = "8=FIX.4.29=67535=X49=HSFX-FIX-BRIDGE56=UAT_MD_TUDO ... see attached file
String beginString = messageString.substring(2, 9);
String messageType = MessageUtils.getMessageType(messageString);
quickfix.Message message = messageFactory.create(beginString, messageType);
message.fromString(messageString, dataDictionary,dataDictionary != null);



 Comments   
Comment by Richard Pike [ 31/Jul/06 ]

I create the dictionary (for the sample)

DataDictionary dataDictionary = new DataDictionary("E:\\libs\\quickfixj\\etc
FIX42.xml");

I have attached a file with the message

Comment by Steve Bate [ 31/Jul/06 ]

Richard, are you sure that field 5071 is defined in your FIX42.xml for MarketDataIncrementalRefresh? I was able to reproduce the problem before adding the field. We should validate the group count in this case and give a better error message.

Comment by Richard Pike [ 01/Aug/06 ]

Steve, this must be the issue, how do I add the field ?

Comment by Richard Pike [ 01/Aug/06 ]

You're on the money, Thanks!!!!!!!!

Comment by Steve Bate [ 01/Aug/06 ]

OK, great.

Generated at Sat Nov 23 10:44:13 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.