|
From: Peter W. <pw...@bl...> - 2006-11-12 14:54:06
|
I still can't get my QFJ acceptor to stay running! I have an associate = in Munich who is also trying to set up a QFJ acceptor and is getting = exactly the same problem as we are in London. I have already forwarded a detailed composite of message and event logs = to the mail list. No response to that.=20 However, I have now trawled through the source code and think I can see where the problem is arising (but not why). =20 I've looked through Session.java and the behaviour we see is consistent = with when a reset() is called. The reset() appears to be triggered by a false return from checkSessionTime(). This, in turn, looks like a failed return from SystemTime.getDate. =20 Does this help anyone point us to the problem? =20 Also, when our acceptor fires up, it creates a .seqnum file which is = zero length and obviously empty. This never seems to be initialised although = the incoming logon has its sequence number in it. (Perhaps, this is because = the reset() forces a logout and disconnect - so we never get started.) Should we set up a default start up .seqnum file with zeroes/ones in it? = If yes, where do we find the file format? =20 Please try to get us going on this one guys. =20 Peter Warder London =20 =20 |
|
From: Steve B. <st...@te...> - 2006-11-12 15:08:36
|
Hi Peter, Can you be more specific about the failed return from SystemTime.getDate()? If the time source is set correctly (which it is, by default) this is ultimately just a call to System.currentTimeMillis(). Is there a stack trace? I know you didn't like my suggestion to reproduce this behavior with Banzai and the Executor, but if you could reproduce it in that context I'd be able to investigate the problem in more depth by running it myself. If it really is an acceptor problem, then any client should be able to trigger it. Steve _____ From: qui...@li... [mailto:qui...@li...] On Behalf Of Peter Warder Sent: Sunday, November 12, 2006 9:54 AM To: qui...@li... Subject: [Quickfixj-users] One More Time I still can't get my QFJ acceptor to stay running! I have an associate in Munich who is also trying to set up a QFJ acceptor and is getting exactly the same problem as we are in London. I have already forwarded a detailed composite of message and event logs to the mail list. No response to that. However, I have now trawled through the source code and think I can see where the problem is arising (but not why). I've looked through Session.java and the behaviour we see is consistent with when a reset() is called. The reset() appears to be triggered by a false return from checkSessionTime(). This, in turn, looks like a failed return from SystemTime.getDate. Does this help anyone point us to the problem? Also, when our acceptor fires up, it creates a .seqnum file which is zero length and obviously empty. This never seems to be initialised although the incoming logon has its sequence number in it. (Perhaps, this is because the reset() forces a logout and disconnect - so we never get started.) Should we set up a default start up .seqnum file with zeroes/ones in it? If yes, where do we find the file format? Please try to get us going on this one guys. Peter Warder London |
|
From: Alvin W. <AW...@FF...> - 2006-11-13 15:17:55
|
Hi,
I got the following exception when I tried to run a toString() method on a
FIX44 Execution Report message.
Could you take a look? thanks
Alvin
java.lang.NullPointerException
at quickfix.FieldMap.calculateString(FieldMap.java:457)
at quickfix.Message$Header.calculateString(Message.java:323)
at quickfix.Message.toString(Message.java:132)
*******************************************************************************
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.
*******************************************************************************
|
|
From: Yazad G. <yaz...@ho...> - 2006-11-14 04:52:34
|
Hi Alvin, I am not very good at this and I have started working on quickfix recently. I used to get a similar error when I was creating a custom message. I was not creating the header then. So I did the following: - I create a message object => Message message = new quickfix.Message(); - then i create header and trailer objects => Message.Header header = message.getHeader(); //Similarly for trailer - I set the required fields of message => message.setField(........ - Then set all the required fields for header and then the footer => header.setField(.... - Only then can you use message.toString() I hope this helps you. Do let me know. Regards, Yazad. ----- Original Message ----- From: "Alvin Wang" <AW...@FF...> To: <qui...@li...> Cc: <qui...@li...>; <qui...@li...> Sent: Monday, November 13, 2006 8:47 PM Subject: [Quickfixj-users] quickfix.Message.toString() NullPointerException > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Hi, > > I got the following exception when I tried to run a toString() method on a > FIX44 Execution Report message. > Could you take a look? thanks > > Alvin > > java.lang.NullPointerException > > at quickfix.FieldMap.calculateString(FieldMap.java:457) > > at quickfix.Message$Header.calculateString(Message.java:323) > > at quickfix.Message.toString(Message.java:132) > > > > > ******************************************************************************* > 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. > ******************************************************************************* > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > |
|
From: Steve B. <st...@te...> - 2006-11-14 12:45:24
|
If you set a field value to null, that would cause this exception. Steve > -----Original Message----- > From: qui...@li... [mailto:quickfixj- > use...@li...] On Behalf Of Alvin Wang > Sent: Monday, November 13, 2006 10:18 AM > To: qui...@li... > Cc: qui...@li...; quickfixj-users- > bo...@li... > Subject: [Quickfixj-users] quickfix.Message.toString() > NullPointerException > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Hi, > > I got the following exception when I tried to run a toString() method on a > FIX44 Execution Report message. > Could you take a look? thanks > > Alvin > > java.lang.NullPointerException > > at quickfix.FieldMap.calculateString(FieldMap.java:457) > > at quickfix.Message$Header.calculateString(Message.java:323) > > at quickfix.Message.toString(Message.java:132) > > > > > ************************************************************************** > ***** > 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. > ************************************************************************** > ***** > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users |