hi I am using Client/Server framework to send and receive data between two applications. Releated part is shown below



Client

Code:
void SendStop()
{
SendReceive( EStopServ, TIpcArgs(NULL) );	
}

server

Code:
RMessage2* iMessage;

void ServiceL(const RMessage2& aMessage)
{
	switch ( aMessage.Function() )
	{
  	case EAnyOther:
		{
		iMessage = (RMessage2 *)(&aMessage);
		break;
		}

        case EStopServ:	
  		{	
		if(iMessage)
  			{	
  			iMessage->Complete(KErrCancel);   // complete previous stored message
  			iMessage = NULL;
  			}

 	 	aMessage.Complete(KErrNone);    // USER 70 panic
  		break;
  		}

	}
}
As stated in documentation the reason for USER 70 is "This panic is raised when attempting to complete a client/server request and the RMessagePtr is null."

So how this could be in above code? thanks