diff -r d508aa856878 -r d30183af6ca6 phonebookui/cnthistorymodel/src/cnthistorymodel_p.cpp --- a/phonebookui/cnthistorymodel/src/cnthistorymodel_p.cpp Wed Aug 11 09:06:35 2010 +0300 +++ b/phonebookui/cnthistorymodel/src/cnthistorymodel_p.cpp Mon Aug 23 16:06:28 2010 +0300 @@ -524,7 +524,7 @@ HItemPointer item = m_logsMap.value( i ); // Found item in the logs map - if ( !item.isNull() ) { + if ( !item.isNull() && event ) { int index = m_List.indexOf( item ); readLogEvent( event, *item ); indices.append( index );