Program: 95085
Project: 95085
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);
  mSplineToggleContainer=findViewById(R.id.editorSplineToggleContainer);
  mSplineToggleContainer.setVisibility(View.VISIBLE);
  mLocationButtonsContainer=findViewById(R.id.location_button_container);
  ImageButton 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;
    }
  }
);
  ImageButton 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);
  mSplineToggleContainer=findViewById(R.id.editorSplineToggleContainer);
  mSplineToggleContainer.setVisibility(View.VISIBLE);
  mLocationButtonsContainer=findViewById(R.id.location_button_container);
  final ImageButton resetMapBearing=(ImageButton)findViewById(R.id.map_orientation_button);
  resetMapBearing.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      if (planningMapFragment != null) {
        planningMapFragment.updateMapBearing(0);
      }
    }
  }
);
  ImageButton 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;
    }
  }
);
  ImageButton 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);
}