NullPointerException in SendToTarget

5 messages Options
Embed this post
Permalink
Chris1985

NullPointerException in SendToTarget

Reply Threaded More More options
Print post
Permalink
Could anyone kindly suggest what is causing the following error to occur? The FIX engine is working fine for several hours then this occurs:

Exception in thread "main" quickfix.SessionException: java.lang.NullPointerExcep
tion
        at quickfix.Session.sendToTarget(Session.java:448)
        at quickfix.Session.sendToTarget(Session.java:405)
        at quickfix.Session.sendToTarget(Session.java:388)
        at MyClass.marketDataRequest(test.java:354)
        at MyClass.main(test.java:278)
Caused by: java.lang.NullPointerException
        at org.apache.mina.common.support.DefaultWriteFuture.isWritten(DefaultWr
iteFuture.java:65)
        at quickfix.mina.IoSessionResponder.send(IoSessionResponder.java:38)
        at quickfix.Session.send(Session.java:1786)
        at quickfix.Session.sendRaw(Session.java:1729)
        at quickfix.Session.send(Session.java:1775)
        at quickfix.Session.sendToTarget(Session.java:466)
        at quickfix.Session.sendToTarget(Session.java:443)
        ... 4 more

C:\fix\quickfixj\bin>
Stephen Bate

Re: NullPointerException in SendToTarget

Reply Threaded More More options
Print post
Permalink
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


Which version of QFJ are you using?

> -----Original Message-----
> From: Chris1985 [mailto:[hidden email]]
> Sent: Wednesday, April 15, 2009 12:39 PM
>
> Could anyone kindly suggest what is causing the following
> error to occur? The FIX engine is working fine for several
> hours then this occurs:
>
> Exception in thread "main" quickfix.SessionException:
> java.lang.NullPointerExcep tion
>         at quickfix.Session.sendToTarget(Session.java:448)


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Chris1985

Re: NullPointerException in SendToTarget

Reply Threaded More More options
Print post
Permalink
Version 1.3.2
csc5a2g

Re: NullPointerException in SendToTarget

Reply Threaded More More options
Print post
Permalink
Chris1985 wrote:
Version 1.3.2

Hi,

Did this issue ever get resolved ? I'm suffering from the same issue, my level of urgency is high as we are firing thousand of orders per minute and this is type of outage can cause serious headaches.


Any help would be great.

Thanks
Grant Birchmeier

Re: NullPointerException in SendToTarget

Reply Threaded More More options
Print post
Permalink
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


Are you seeing this in 1.4.0?

If you're still using 1.3.2, I think the first step in investigating
it should be to upgrade to 1.4.0 and try to reproduce.  If you still
see it, by all means, submit a bug report!

-Grant

On Thu, Sep 24, 2009 at 3:51 AM, csc5a2g <[hidden email]> wrote:

> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
>
>
>
>
> Chris1985 wrote:
>>
>> Version 1.3.2
>>
>
>
> Hi,
>
> Did this issue ever get resolved ? I'm suffering from the same issue, my
> level of urgency is high as we are firing thousand of orders per minute and
> this is type of outage can cause serious headaches.
>
>
> Any help would be great.
>
> Thanks
> --
> View this message in context: http://n2.nabble.com/NullPointerException-in-SendToTarget-tp2639908p3704944.html
> Sent from the QuickFIX/J mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Quickfixj-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users