[Quickfix-developers] Newbie question...getting exception for sending an app method
Brought to you by:
orenmnero
|
From: Victor <vis...@ya...> - 2006-06-18 22:05:21
|
I am geting this below exception in Fix.4.2-x-y.event file.
What I am trying to do is to send an app metod by calling a function (which inturn creates the app method and calls Session.sendToTarget(message,sessionID) ) in onCreate method.
NOthing big I am doing here, just trying to send a an app message through onCreate method of Application class.
It seems it throws a null pointer exception while processig a resend request. Worth mentioning over here, is the intiator is sending the app method.
Do I need to do something in config file ?
20060618-21:53:19: Initiated logon request
20060618-21:53:19: Received logon response
20060618-21:53:19: Received ResendRequest FROM: 1 TO: 0
20060618-21:53:19: null
java.lang.NullPointerException
at quickfix.Message.parseGroup(Message.java:603)
at quickfix.Message.parseBody(Message.java:572)
at quickfix.Message.fromString(Message.java:488)
at quickfix.Message.<init>(Message.java:94)
at quickfix.Session.nextResendRequest(Session.java:651)
at quickfix.Session.next(Session.java:551)
at quickfix.mina.SingleThreadedEventHandlingStrategy$SessionMessageEvent.processMessage(SingleThreadedEventHandlingStrategy.java:125)
at quickfix.mina.SingleThreadedEventHandlingStrategy.block(SingleThreadedEventHandlingStrategy.java:67)
at quickfix.mina.SingleThreadedEventHandlingStrategy$1.run(SingleThreadedEventHandlingStrategy.java:83)
at java.lang.Thread.run(Thread.java:595)
20060618-21:53:49: MsgSeqNum too high, expecting 2 but received 3
20060618-21:53:49: Sent ResendRequest FROM: 2 TO: 0
20060618-21:53:49: ResendRequest for messages FROM: 2 TO: 2 has been satisfied.
20060618-21:53:49: Received SequenceReset FROM: 2 TO: 4
---------------------------------
Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better. |