cancel
Showing results for 
Search instead for 
Did you mean: 

UDS: Exception when reading in asynchronous mode

Former Member
0 Kudos

Hi all,

currently we have a problem where we get NullPointer exceptions when reading items in asynchronous mode. Asynchronous mode and advies for group works (see debug file). Contrary to this a test with matricon explorer on same machine works in asynchronous mode without problems.

Any Ideas?


*
********** Start of Exception Stack Trace **********
    1)  [10/13/2009-11:48:39.428] TTT [P:5232, T:1628,       UDS, ] 0x0 HRESULT: 0x800706f4 [A null reference pointer was passed to the stub.]  [core/lhdsFwkThrowHelpers.h @ 111, lhds::_lhds_rethrow_helper]
    2)  [10/13/2009-11:48:39.428] TTT [P:5232, T:1628,       UDS, RETHROW] 0x0  Rethrowing exception.   [tagUtil/lhds2TagMode.h @ 109, lhds::LHDSTagModeImpl<class CLHOpcDaDSCurrent>::ExecuteMode]
    3)  [10/13/2009-11:48:39.428] TTT [P:5232, T:1628,       UDS, RETHROW] 0x0  Rethrowing exception over COM.  [core/lhdsMode.h @ 133, lhds::LHDSModeImpl<class CLHOpcDaDSCurrent,struct ILHDSModeEx>::Execute]
    4)  [10/13/2009-11:48:39.428] TTT [P:5232, T:1628,       UDS, RETHROW] 0x0  Rethrowing exception.   [core/lhdsMode.h @ 174, lhds::LHDSModeImpl<class CLHOpcDaDSCurrent,struct ILHDSModeEx>::Execute]
    5)  [10/13/2009-11:48:39.444] TTT [P:5232, T:1628, Framework, RETHROW] 0x0  Rethrowing exception over COM.  [LHDSDispatcherEx.cpp @ 370, CLHDSDispatcherEx::CallMode]
    6)  [10/13/2009-11:48:39.444] TTT [P:5232, T:1628,       UDS, RETHROW] 0x0  Rethrowing exception over COM.  [tagUtil/lhds2BrowseDs.h @ 385, lhds::LHBrowsingDataServerImpl<class CLHOpcDaDataServer>::Execute]
    7)  [10/13/2009-11:48:39.444] TTT [P:5232, T:1628, Framework, ] 0x0 Caught exception over a COM boundry.    [LHDSChannelHandler.cpp @ 601, CLHDSChannelHandler::OnExecute]
    😎  [10/13/2009-11:48:39.444] TTT [P:5232, T:1628, Framework, RETHROW] 0x0  Rethrowing exception.   [LHDSChannelHandler.cpp @ 609, CLHDSChannelHandler::OnExecute]
    9)  [10/13/2009-11:48:39.444] TTT [P:5232, T:1628, Framework, RETHROW] 0x0  Rethrowing exception.   [LHDSChannelHandler.cpp @ 537, CLHDSChannelHandler::ExecuteIOCP]
    10) [10/13/2009-11:48:39.444] TTT [P:5232, T:1628, Framework, RETHROW] 0x0  Rethrowing exception over COM.  [LHDSChannelHandler.cpp @ 191, CLHDSChannelHandler::Execute]
    11) [10/13/2009-11:48:39.444] TTT [P:5232, T:1628,      Host, HANDLED] 0x0  Handled exception.  [ThreadPool.cpp @ 460, ThreadPool::ThreadProc]
************** End of Exception Trace **************
*

Edited by: Matthias Wald on Oct 13, 2009 3:04 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Can you check the event viewer and post the message displayed over there?

-Suresh

Former Member
0 Kudos

Sorry, but I am not able to get the debug lines correctly into this thread. Although the preview looked good.

Some more information:

UDS: 4.0 SP3

OS: Windows Server 2003

OPC-Server: Winows 2000

Edited by: Matthias Wald on Oct 13, 2009 3:30 PM