|
From: Steve B. <st...@te...> - 2006-08-15 06:54:44
|
Hello Toli, It appears that somehow block() is processing a message and session object is null. I've looked at the code and I don't see how this would happen. Is it possible for you to send me your failing unit test failing (off list)? If not, is your application an acceptor or an initiator? Is there anything relevant in the log file? Thanks, Steve > -----Original Message----- > From: qui...@li... > [mailto:qui...@li...] On > Behalf Of Toli Kuznets > Sent: Tuesday, August 15, 2006 2:24 AM > Cc: qui...@li... > Subject: [Quickfixj-users] NullPointerException in QFJ 1.0.2 > that didn'tused to exist in 1.0.0-final > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Hi, > > I have a basic app that uses QFJ to communicate. I have a bunch of uni > tests running continiously, and they've been passing with the app > linked to 1.0.0-final of QuickFix/J. > > However, as soon as i tried switching to 1.0.2 i get the > following error: > Exception in thread "QFJ Socket Acceptor 126f75b" > java.lang.NullPointerException > at > quickfix.mina.SingleThreadedEventHandlingStrategy$SessionMessa geEvent.processMessage(SingleThreadedEventHandlingStrategy.java:131) > at > quickfix.mina.SingleThreadedEventHandlingStrategy.block(Single > ThreadedEventHandlingStrategy.java:70) > at > quickfix.mina.SingleThreadedEventHandlingStrategy$1.run(Single > ThreadedEventHandlingStrategy.java:86) > at java.lang.Thread.run(Unknown Source) > > There's no nested exception, and it's a thread created by QFJ > and not my app. > > Switching the code back to using 1.0.0-final fixes the problem. I > never used 1.0.1 so i can't tell if the problem manifests itself there > as well. > > Any ideas on what could be causing this? > This is happening both on Ubuntu Linux and MacOSX. Not even sure how > to debug this since the exception is coming from a QFJ/mina code. > > thanks > > -------------------------------------------------------------- > ----------- > 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 > |