This would be caused because no checks were made on the iterator to see
if it was valid or not.
intiter = GeopositionListPrefPtr->find(GeopositionListIndex);
intiter = GeopositionListPrefPtr->find(GeopositionListIndex);
- if (intiter->first == GeopositionListIndex && intiter->second > 0){
+ if (intiter->first == GeopositionListIndex && intiter->second > 0 &&
+ intiter != GeopositionListPrefPtr->end()){
sliPriority->SetValue(intiter->second);
sliPriority->Enable();
sliPriority->SetValue(intiter->second);
sliPriority->Enable();