Program: 178342
Project: 178342
Buggy source:
@Override public void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  coreServiceIntent=new Intent(this,org.servalproject.maps.services.CoreService.class);
  startService(coreServiceIntent);
  Bundle mBundle=this.getIntent().getExtras();
  String mMapFileName=mBundle.getString("String_Node_Str");
  mapView=new MapView(this);
  mapView.setClickable(true);
  mapView.setBuiltInZoomControls(true);
  if (mMapFileName != null) {
    mapView.setMapFile(mMapFileName);
  }
  setContentView(mapView);
  peerLocationMarker=ItemizedOverlay.boundCenterBottom(getResources().getDrawable(R.drawable.peer_location));
  selfLocationMarker=ItemizedOverlay.boundCenterBottom(getResources().getDrawable(R.drawable.peer_location_self));
  poiLocationMarker=ItemizedOverlay.boundCenterBottom(getResources().getDrawable(R.drawable.incident_marker));
  overlayList=new OverlayList(poiLocationMarker,this);
  mapView.getOverlays().add(overlayList);
  mapView.getOverlays().add(new NewPoiOverlay(this));
  preferences=PreferenceManager.getDefaultSharedPreferences(getBaseContext());
  String mPreference=preferences.getString("String_Node_Str",null);
  if (mPreference == null) {
    updateDelay=defaultUpdateDelay;
  }
 else {
    updateDelay=Integer.parseInt(mPreference);
  }
  mPreference=preferences.getString("String_Node_Str",null);
  if (mPreference != null) {
    poiMaxAge=Long.parseLong(mPreference) * 1000;
  }
  mPreference=preferences.getString("String_Node_Str",null);
  if (mPreference != null) {
    locationMaxAge=Long.parseLong(mPreference) * 1000;
  }
  keepCentered=preferences.getBoolean("String_Node_Str",false);
  if (preferences.getBoolean("String_Node_Str",false)) {
    Paint mDefaultFill=null;
    Paint mDefaultLine=new Paint(Paint.ANTI_ALIAS_FLAG);
    mDefaultLine.setARGB(255,85,140,248);
    mDefaultLine.setStyle(Paint.Style.STROKE);
    mDefaultLine.setStrokeWidth(2);
    arrayWayOverlay=new ArrayWayOverlay(mDefaultFill,mDefaultLine);
    mapView.getOverlays().add(arrayWayOverlay);
  }
  preferences.registerOnSharedPreferenceChangeListener(sharedPreferenceChangeListener);
  ServalMaps mApplication=(ServalMaps)getApplication();
  meshPhoneNumber=mApplication.getPhoneNumber();
  mApplication=null;
  updateHandler.post(updateMapTask);
  if (V_LOG) {
    Log.v(TAG,"String_Node_Str");
  }
}

Fixed version (ground truth):
@Override public void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  coreServiceIntent=new Intent(this,org.servalproject.maps.services.CoreService.class);
  startService(coreServiceIntent);
  Bundle mBundle=this.getIntent().getExtras();
  String mMapFileName=mBundle.getString("String_Node_Str");
  mapView=new MapView(this);
  mapView.setClickable(true);
  mapView.setBuiltInZoomControls(true);
  if (mMapFileName != null) {
    String mMapDataPath=Environment.getExternalStorageDirectory().getPath();
    mMapDataPath+=getString(R.string.system_path_map_data);
    mapView.setMapFile(mMapDataPath + mMapFileName);
  }
  setContentView(mapView);
  peerLocationMarker=ItemizedOverlay.boundCenterBottom(getResources().getDrawable(R.drawable.peer_location));
  selfLocationMarker=ItemizedOverlay.boundCenterBottom(getResources().getDrawable(R.drawable.peer_location_self));
  poiLocationMarker=ItemizedOverlay.boundCenterBottom(getResources().getDrawable(R.drawable.incident_marker));
  overlayList=new OverlayList(poiLocationMarker,this);
  mapView.getOverlays().add(overlayList);
  mapView.getOverlays().add(new NewPoiOverlay(this));
  preferences=PreferenceManager.getDefaultSharedPreferences(getBaseContext());
  String mPreference=preferences.getString("String_Node_Str",null);
  if (mPreference == null) {
    updateDelay=defaultUpdateDelay;
  }
 else {
    updateDelay=Integer.parseInt(mPreference);
  }
  mPreference=preferences.getString("String_Node_Str",null);
  if (mPreference != null) {
    poiMaxAge=Long.parseLong(mPreference) * 1000;
  }
  mPreference=preferences.getString("String_Node_Str",null);
  if (mPreference != null) {
    locationMaxAge=Long.parseLong(mPreference) * 1000;
  }
  keepCentered=preferences.getBoolean("String_Node_Str",false);
  if (preferences.getBoolean("String_Node_Str",false)) {
    Paint mDefaultFill=null;
    Paint mDefaultLine=new Paint(Paint.ANTI_ALIAS_FLAG);
    mDefaultLine.setARGB(255,85,140,248);
    mDefaultLine.setStyle(Paint.Style.STROKE);
    mDefaultLine.setStrokeWidth(2);
    arrayWayOverlay=new ArrayWayOverlay(mDefaultFill,mDefaultLine);
    mapView.getOverlays().add(arrayWayOverlay);
  }
  preferences.registerOnSharedPreferenceChangeListener(sharedPreferenceChangeListener);
  ServalMaps mApplication=(ServalMaps)getApplication();
  meshPhoneNumber=mApplication.getPhoneNumber();
  mApplication=null;
  updateHandler.post(updateMapTask);
  if (V_LOG) {
    Log.v(TAG,"String_Node_Str");
  }
}