|
From: Alvin W. <AW...@FF...> - 2007-02-22 20:14:40
|
Basically, I received the message from counterparty via FIX as a string,
then I use "new Message(String str)". It is correct that that message
string contains some repeating group, but that should not be relevant as
the message is not built by my code, instead it was received as a string.
I am using QuickFIX/J 1.0.5, I just wonder if there is any change in
FieldMap.java from 1.0.4 to 1.0.5?
Thanks.
Alvin
"Shepheard, Toby
(London)"
<Toby_Shepheard@m To
l.com> <qui...@li....
Sent by: net>
quickfixj-users-b cc
ou...@li...
ceforge.net Subject
Re: [Quickfixj-users]
InvalidMessage exception
02/21/2007 08:07
AM
Please respond to
quickfixj-users@l
ists.sourceforge.
net
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/
In general terms it's simply saying that your FIX message isn't
constructed properly.
I think this can happen when you don't build a group properly, for
example adding fields to the body directly rather than as part of a
group. Another possibility is that you have a RawData field without a
RawDataLength preceding it.
It would help to see the code that's building the message header and
body, including construction of any groups, if the above doesn't help
you fix the problem.
Regards,
Toby
-----Original Message-----
From: qui...@li...
[mailto:qui...@li...] On Behalf Of
Alvin Wang
Sent: 20 February 2007 18:13
To: qui...@li...
Subject: [Quickfixj-users] InvalidMessage exception
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/
Hi I got the following exception when calling a Message constructor.
Could
anyone explain what does this mean? and how to fix it? thanks
Alvin
============================================================
quickfix.InvalidMessage: Actual body length=452, Expected body
length=518
at quickfix.Message.validate(Message.java:404)
at quickfix.Message.fromString(Message.java:395)
at quickfix.Message.<init>(Message.java:90)
************************************************************************
*******
This e-mail message is intended solely for the use of the addressee.
The message may contain information that is privileged and
confidential.
Disclosure to anyone other than the intended recipient is prohibited.
If you are not the intended recipient, please do not disseminate,
distribute or copy this communication, by e-mail or otherwise. Instead,
please notify us immediately by return e-mail(including the original
message with your reply) and then delete and discard all copies of the
message. We have taken precautions to minimize the risk of transmitting
software viruses but nevertheless advise you to carry out your own
virus checks on any attachment to this message. We accept
no liability for any loss or damage caused by software viruses.
************************************************************************
*******
------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Quickfixj-users mailing list
Qui...@li...
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
--------------------------------------------------------
If you are not an intended recipient of this e-mail, please notify the
sender, delete it and do not read, act upon, print, disclose, copy, retain
or redistribute it. Click here for important additional terms relating to
this e-mail. http://www.ml.com/email_terms/
--------------------------------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Quickfixj-users mailing list
Qui...@li...
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
|