Program: 95192
Project: 95192
Buggy source:
@Override public void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.activity_editor);
  fragmentManager=getSupportFragmentManager();
  planningMapFragment=((EditorMapFragment)fragmentManager.findFragmentById(R.id.mapFragment));
  gestureMapFragment=((GestureMapFragment)fragmentManager.findFragmentById(R.id.gestureMapFragment));
  editorToolsFragment=(EditorToolsFragment)fragmentManager.findFragmentById(R.id.editorToolsFragment);
  missionListFragment=(EditorListFragment)fragmentManager.findFragmentById(R.id.missionFragment1);
  infoView=(TextView)findViewById(R.id.editorInfoWindow);
  mSplineToggleContainer=findViewById(R.id.editorSplineToggleContainer);
  mSplineToggleContainer.setVisibility(View.VISIBLE);
  mGoToMyLocation=(ImageButton)findViewById(R.id.my_location_button);
  mGoToMyLocation.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      planningMapFragment.goToMyLocation();
    }
  }
);
  mGoToMyLocation.setOnLongClickListener(new View.OnLongClickListener(){
    @Override public boolean onLongClick(    View v){
      planningMapFragment.setAutoPanMode(AutoPanMode.USER);
      return true;
    }
  }
);
  mGoToDroneLocation=(ImageButton)findViewById(R.id.drone_location_button);
  mGoToDroneLocation.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      planningMapFragment.goToDroneLocation();
    }
  }
);
  mGoToDroneLocation.setOnLongClickListener(new View.OnLongClickListener(){
    @Override public boolean onLongClick(    View v){
      planningMapFragment.setAutoPanMode(AutoPanMode.DRONE);
      return true;
    }
  }
);
  final RadioButton normalToggle=(RadioButton)findViewById(R.id.normalWpToggle);
  normalToggle.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      mIsSplineEnabled=!normalToggle.isChecked();
    }
  }
);
  final RadioButton splineToggle=(RadioButton)findViewById(R.id.splineWpToggle);
  splineToggle.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      mIsSplineEnabled=splineToggle.isChecked();
    }
  }
);
  itemDetailFragment=(MissionDetailFragment)fragmentManager.findFragmentByTag(ITEM_DETAIL_TAG);
  mContainerItemDetail=findViewById(R.id.containerItemDetail);
  missionProxy=((DroidPlannerApp)getApplication()).missionProxy;
  gestureMapFragment.setOnPathFinishedListener(this);
}

Fixed version (ground truth):
@Override public void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.activity_editor);
  fragmentManager=getSupportFragmentManager();
  planningMapFragment=((EditorMapFragment)fragmentManager.findFragmentById(R.id.mapFragment));
  gestureMapFragment=((GestureMapFragment)fragmentManager.findFragmentById(R.id.gestureMapFragment));
  editorToolsFragment=(EditorToolsFragment)fragmentManager.findFragmentById(R.id.editorToolsFragment);
  missionListFragment=(EditorListFragment)fragmentManager.findFragmentById(R.id.missionFragment1);
  infoView=(TextView)findViewById(R.id.editorInfoWindow);
  mSplineToggleContainer=findViewById(R.id.editorSplineToggleContainer);
  mSplineToggleContainer.setVisibility(View.VISIBLE);
  mLocationButtonsContainer=findViewById(R.id.location_button_container);
  mGoToMyLocation=(ImageButton)findViewById(R.id.my_location_button);
  mGoToMyLocation.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      planningMapFragment.goToMyLocation();
    }
  }
);
  mGoToMyLocation.setOnLongClickListener(new View.OnLongClickListener(){
    @Override public boolean onLongClick(    View v){
      planningMapFragment.setAutoPanMode(AutoPanMode.USER);
      return true;
    }
  }
);
  mGoToDroneLocation=(ImageButton)findViewById(R.id.drone_location_button);
  mGoToDroneLocation.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      planningMapFragment.goToDroneLocation();
    }
  }
);
  mGoToDroneLocation.setOnLongClickListener(new View.OnLongClickListener(){
    @Override public boolean onLongClick(    View v){
      planningMapFragment.setAutoPanMode(AutoPanMode.DRONE);
      return true;
    }
  }
);
  final RadioButton normalToggle=(RadioButton)findViewById(R.id.normalWpToggle);
  normalToggle.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      mIsSplineEnabled=!normalToggle.isChecked();
    }
  }
);
  final RadioButton splineToggle=(RadioButton)findViewById(R.id.splineWpToggle);
  splineToggle.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      mIsSplineEnabled=splineToggle.isChecked();
    }
  }
);
  itemDetailFragment=(MissionDetailFragment)fragmentManager.findFragmentByTag(ITEM_DETAIL_TAG);
  mContainerItemDetail=findViewById(R.id.containerItemDetail);
  missionProxy=((DroidPlannerApp)getApplication()).missionProxy;
  gestureMapFragment.setOnPathFinishedListener(this);
}