[Quickfix-developers] problem with MySQLLogFactory
Brought to you by:
orenmnero
From: Robert Z. <rob...@ya...> - 2005-03-06 08:43:47
|
I want to use MySQL to store all the log information. I changed the examples with LogFactory logFactory = new MySQLLogFactory(settings); instead of the ScreenLogFactory(True, True, True) in the examples. But I got the following error: D:\quickfixSrc\bin>executor_vbnet cfg\executor.cfg System.NullReferenceException: Object reference not set to an instance of an obj ect. at QuickFix.CPPLog.onEvent(String s) at Log.onEvent(Log* , basic_string<char,std::char_traits<char>,std::allocator <char> >* string) at FIX.SocketAcceptor.__ctor(SocketAcceptor* , Application* , MessageStoreFac tory* , SessionSettings* , LogFactory* ) at QuickFix.SocketAcceptor..ctor(Application application, MessageStoreFactory factory, SessionSettings settings, LogFactory logFactory, MessageFactory messag eFactory) at executor_vbnet.Executor.Main(String[] CmdArgs) in D:\quickfixSrc\exam ples\executor\vbnet\Executor.vb:line 21. My system is winXP. I can use MessageStoreFactory messageStoreFactory = new MySQLStoreFactory(settings); without any problem. It stored the session/message information to my MySQL database. So I think my configuration should be fine. Any help? Thanks Robert --------------------------------- Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web |