diff -r e8a69c93c830 -r ecf6a73a9186 messagingapp/msgutils/unidatautils/unidatamodelplugins/unibiomessagedataplugin/src/unibiomessagedataplugin_p.cpp --- a/messagingapp/msgutils/unidatautils/unidatamodelplugins/unibiomessagedataplugin/src/unibiomessagedataplugin_p.cpp Fri Sep 17 20:16:33 2010 +0530 +++ b/messagingapp/msgutils/unidatautils/unidatamodelplugins/unibiomessagedataplugin/src/unibiomessagedataplugin_p.cpp Tue Oct 05 13:58:47 2010 +0530 @@ -50,7 +50,7 @@ { q_ptr = NULL; - if(attachmentProcessed == EFalse && iAttachmentCount == 1) + if(attachmentProcessed == EFalse && iAttachmentCount == 1 && iMsvEntry) { TRAP_IGNORE( CMsvStore* store = iMsvEntry->EditStoreL(); CleanupStack::PushL(store);