|
From: Shepheard, T. \(London\) <Tob...@ml...> - 2007-02-21 13:08:06
|
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.=20 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D quickfix.InvalidMessage: Actual body length=3D452, Expected body length=3D518 at quickfix.Message.validate(Message.java:404) at quickfix.Message.fromString(Message.java:395) at quickfix.Message.<init>(Message.java:90) =20 ************************************************************************ ******* This e-mail message is intended solely for the use of the addressee. The message may contain information that is privileged and=20 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=3Djoin.php&p=3Dsourceforge&CID=3D= 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/ -------------------------------------------------------- |