diff -r 09d076ed0f23 -r 627793106ff9 profilesapplication/Profiles/ProfileApp/SettingsViewSrc/CProfileSettingsContainer.cpp --- a/profilesapplication/Profiles/ProfileApp/SettingsViewSrc/CProfileSettingsContainer.cpp Thu Jan 07 12:46:32 2010 +0200 +++ b/profilesapplication/Profiles/ProfileApp/SettingsViewSrc/CProfileSettingsContainer.cpp Mon Jan 18 20:19:40 2010 +0200 @@ -200,8 +200,11 @@ *( iAvkonAppUi->StatusPane() ), iEngineHandler ); MProfilesNamesArray* nameArray = iEngineHandler.IdArray(); - iNaviPaneContainer->SetNaviPaneTextL( - nameArray->MdcaPoint( iIndexHandler->CurrentProfileIndex() ) ); + if( iIndexHandler ) + { + iNaviPaneContainer->SetNaviPaneTextL( + nameArray->MdcaPoint( iIndexHandler->CurrentProfileIndex() ) ); + } } iNotifier = CProfileChangeNotifyHandler::NewL( this );