Program: 3037
Project: 3037
Buggy source:
/** 
 * Called when the activity is first created. 
 */
@Override public void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.timelinescreen);
  selectedEvent=null;
  detector=new SimpleGestureFilter(this,this);
  setupZoom();
  myLocation=MyLocation.getInstance(this);
  createNewDatabaseIfTimeLineIsNew();
  contentAdder=new ContentAdder(getApplicationContext());
  contentUpdater=new ContentUpdater(getApplicationContext());
  contentDeleter=new ContentDeleter(getApplicationContext());
  databaseName=getIntent().getExtras().getString(Utilities.DATABASENAME_REQUEST);
  experienceID=getIntent().getExtras().getString(Utilities.EXPERIENCEID_REQUEST);
  experienceCreator=getIntent().getExtras().getString(Utilities.EXPERIENCECREATOR_REQUEST);
  sharedExperience=getIntent().getExtras().getBoolean(Utilities.SHARED_REQUEST);
  Log.i(this.getClass().getSimpleName(),"String_Node_Str" + databaseName + "String_Node_Str");
  Log.i(this.getClass().getSimpleName(),"String_Node_Str" + experienceID);
  Log.i(this.getClass().getSimpleName(),"String_Node_Str" + experienceCreator);
  Log.i(this.getClass().getSimpleName(),"String_Node_Str" + sharedExperience);
  Log.i(this.getClass().getSimpleName(),"String_Node_Str");
  new DatabaseHelper(this,databaseName);
  loadedEvents=loadEventItemsFromDatabase();
  timeline=new Experience(experienceID,databaseName,sharedExperience,new Account(experienceCreator,"String_Node_Str"));
  timeline.setEvents(loadedEvents);
  setupViews();
  setupMoodButtonQuickAction();
  if (getIntent().getAction().equals(Utilities.INTENT_ACTION_ADD_TO_TIMELINE)) {
    if (getIntent().getType().contains("String_Node_Str")) {
      imageUri=(Uri)getIntent().getExtras().get(Intent.EXTRA_STREAM);
      String filename=(Utilities.getUserAccount(this).name + new Date().getTime()).hashCode() + "String_Node_Str";
      Utilities.copyFile(Utilities.getRealPathFromURI(imageUri,this),Utilities.IMAGE_STORAGE_FILEPATH,filename);
      addPictureToTimeline(filename);
    }
 else     if (getIntent().getType().contains("String_Node_Str")) {
      videoUri=(Uri)getIntent().getExtras().get(Intent.EXTRA_STREAM);
      addVideoToTimeline();
    }
 else     if (getIntent().getType().contains("String_Node_Str")) {
      audioUri=(Uri)getIntent().getExtras().get(Intent.EXTRA_STREAM);
      addAudioToTimeline();
    }
 else     if (getIntent().getType().contains("String_Node_Str")) {
      addNoteToTimeline(getIntent());
    }
  }
}

Fixed version (ground truth):
/** 
 * Called when the activity is first created. 
 */
@Override public void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.timelinescreen);
  selectedEvent=null;
  detector=new SimpleGestureFilter(this,this);
  setupZoom();
  myLocation=MyLocation.getInstance(this);
  createNewDatabaseIfTimeLineIsNew();
  contentAdder=new ContentAdder(getApplicationContext());
  contentUpdater=new ContentUpdater(getApplicationContext());
  contentDeleter=new ContentDeleter(getApplicationContext());
  databaseName=getIntent().getExtras().getString(Utilities.DATABASENAME_REQUEST);
  experienceID=getIntent().getExtras().getString(Utilities.EXPERIENCEID_REQUEST);
  experienceCreator=getIntent().getExtras().getString(Utilities.EXPERIENCECREATOR_REQUEST);
  sharedExperience=getIntent().getExtras().getBoolean(Utilities.SHARED_REQUEST);
  Log.i(this.getClass().getSimpleName(),"String_Node_Str" + databaseName + "String_Node_Str");
  Log.i(this.getClass().getSimpleName(),"String_Node_Str" + experienceID);
  Log.i(this.getClass().getSimpleName(),"String_Node_Str" + experienceCreator);
  Log.i(this.getClass().getSimpleName(),"String_Node_Str" + sharedExperience);
  Log.i(this.getClass().getSimpleName(),"String_Node_Str");
  new DatabaseHelper(this,databaseName);
  loadedEvents=loadEventItemsFromDatabase();
  timeline=new Experience(experienceID,databaseName,sharedExperience,new Account(experienceCreator,"String_Node_Str"));
  timeline.setEvents(loadedEvents);
  System.out.println("String_Node_Str" + timeline.getEvents().size());
  setupViews();
  setupMoodButtonQuickAction();
  if (getIntent().getAction().equals(Utilities.INTENT_ACTION_ADD_TO_TIMELINE)) {
    if (getIntent().getType().contains("String_Node_Str")) {
      imageUri=(Uri)getIntent().getExtras().get(Intent.EXTRA_STREAM);
      String filename=(Utilities.getUserAccount(this).name + new Date().getTime()).hashCode() + "String_Node_Str";
      Utilities.copyFile(Utilities.getRealPathFromURI(imageUri,this),Utilities.IMAGE_STORAGE_FILEPATH,filename);
      addPictureToTimeline(filename);
    }
 else     if (getIntent().getType().contains("String_Node_Str")) {
      videoUri=(Uri)getIntent().getExtras().get(Intent.EXTRA_STREAM);
      addVideoToTimeline();
    }
 else     if (getIntent().getType().contains("String_Node_Str")) {
      audioUri=(Uri)getIntent().getExtras().get(Intent.EXTRA_STREAM);
      addAudioToTimeline();
    }
 else     if (getIntent().getType().contains("String_Node_Str")) {
      addNoteToTimeline(getIntent());
    }
  }
}