diff -r 7237db0d9fca -r 1b9ee3c7442d satengine/SatServer/Engine/src/CSatCommandContainer.cpp --- a/satengine/SatServer/Engine/src/CSatCommandContainer.cpp Fri Mar 12 15:45:50 2010 +0200 +++ b/satengine/SatServer/Engine/src/CSatCommandContainer.cpp Mon Mar 15 12:42:43 2010 +0200 @@ -318,7 +318,10 @@ // to handle client responses. If SAT UI / Proactive command is executing // while Bluetooth SAP is enabled, SAT UI sends ClientResponse and that must // be preveted - iServiceReqs->Reset(); + if ( iServiceReqs ) + { + iServiceReqs->Reset(); + } // Close all reserved BIP Data channels if ( iBipUtils ) @@ -338,7 +341,10 @@ #ifdef SAT_USE_DUMMY_TSY // Close ATSY. This is needed when testin BT SAP in emulator - iUSatAPI->Close(); + if ( iUSatAPI ) + { + iUSatAPI->Close(); + } #endif LOG( NORMAL,