Buggy code:
public class FightListFragment extends Fragment { @ Inject RestClient restClient ; @ Inject ObscuredSharedPreferences prefs ; public static final int MASTER_FIGHT_LIST_INDEX = 0 ; public static final int UPCOMING_FIGHTS_INDEX = 1 ; public static final int MY_CARDS_INDEX = 2 ; public static final int RECENT_CARDS_INDEX = 3 ; public static final int REQUEST_TYPE = 456 ; public static final String SUBTEXT = "subtext" ; public static final String LEFT_FIGHTER = "leftFighter" ; public static final String RIGHT_FIGHTER = "rightFighter" ; public static final String ROUNDS = "rounds" ; public static final String FIGHT_DATE = "fightDate" ; public static final String CREATE_OR_REQUEST = "createOrRequest" ; private int fragmentPosition ; private PtrClassicFrameLayout refreshControl ; public Callback < JsonElement > callback ; public static HashMap < Integer , Boolean > serviceCallsMade = new HashMap < > ( ) ; final ArrayList < Fight > fights = new ArrayList < > ( ) ; ArrayList < Fight > filteredFights ; FightListAdapter adapter ; CreateRequestAdapter noResultsAdapter ; ListView listView ; @ Override public View onCreateView ( LayoutInflater inflater , ViewGroup container , Bundle savedInstanceState ) { ( ( com . rajohns . judgecardx . CustomApplication ) ( getActivity ( ) . getApplication ( ) ) ) . getObjectGraph ( ) . inject ( this ) ; setHasOptionsMenu ( true ) ; FightListFragment . serviceCallsMade . put ( FightListFragment . MASTER_FIGHT_LIST_INDEX , true ) ; FightListFragment . serviceCallsMade . put ( FightListFragment . UPCOMING_FIGHTS_INDEX , false ) ; FightListFragment . serviceCallsMade . put ( FightListFragment . MY_CARDS_INDEX , false ) ; FightListFragment . serviceCallsMade . put ( FightListFragment . RECENT_CARDS_INDEX , false ) ; if ( ( getArguments ( ) ) != null ) { fragmentPosition = getArguments ( ) . getInt ( REST_CALL_KEY ) ; } View rootView = inflater . inflate ( fragment_fight_list , container , false ) ; refreshControl = ( ( PtrClassicFrameLayout ) ( rootView . findViewById ( rotate_header_list_view_frame ) ) ) ; refreshControl . setPtrHandler ( new PtrDefaultHandler ( ) { @ Override public void onRefreshBegin ( PtrFrameLayout ptrFrameLayout ) { callAppropriateRestMethodFromIndex ( fragmentPosition ) ; } } ) ; listView = ( ( ListView ) ( rootView . findViewById ( listview ) ) ) ; adapter = new FightListAdapter ( getActivity ( ) , layout . row_fight , fights ) ; listView . setAdapter ( adapter ) ; if ( ( fragmentPosition ) != ( FightListFragment . UPCOMING_FIGHTS_INDEX ) ) { listView . setOnItemClickListener ( new AdapterView . OnItemClickListener ( ) { @ Override public void onItemClick ( AdapterView < ? > parent , View view , int position , long id ) { if ( ( listView . getAdapter ( ) ) instanceof CreateRequestAdapter ) { if ( position == 1 ) { Intent intent = new Intent ( getActivity ( ) , CreateOrRequestActivity . class ) ; getActivity ( ) . startActivityForResult ( intent , PRIVATE_SCORECARD_CREATED ) ; } else if ( position == 2 ) { Intent intent = new Intent ( getActivity ( ) , CreateOrRequestActivity . class ) ; intent . putExtra ( FightListFragment . CREATE_OR_REQUEST , FightListFragment . REQUEST_TYPE ) ; <START_BUG> getActivity ( ) . startActivityForResult ( intent , 0 ) ; <END_BUG> } } else { Fight fightTapped ; if ( ( filteredFights ) != null ) { fightTapped = filteredFights . get ( position ) ; } else { fightTapped = fights . get ( position ) ; } Intent intent = new Intent ( getActivity ( ) , ScorecardActivity . class ) ; intent . putExtra ( REST_CALL_KEY , fragmentPosition ) ; intent . putExtra ( FightListFragment . SUBTEXT , fightTapped . getSubtext ( ) ) ; intent . putExtra ( FightListFragment . LEFT_FIGHTER , fightTapped . getFighter1 ( ) ) ; intent . putExtra ( FightListFragment . RIGHT_FIGHTER , fightTapped . getFighter2 ( ) ) ; intent . putExtra ( FightListFragment . ROUNDS , fightTapped . getRounds ( ) ) ; intent . putExtra ( FightListFragment . FIGHT_DATE , fightTapped . getSubtext ( ) ) ; startActivity ( intent ) ; } } } ) ; } callback = new Callback < JsonElement > ( ) { @ Override public void success ( JsonElement jsonElement , Response response ) { NotifyHelper . hideLoading ( ) ; refreshControl . refreshComplete ( ) ; fights . clear ( ) ; for ( JsonElement je : jsonElement . getAsJsonArray ( ) ) { JsonObject object = je . getAsJsonObject ( ) ; String fighter1 = object . get ( "fighter1" ) . getAsString ( ) ; String fighter2 = object . get ( "fighter2" ) . getAsString ( ) ; String rounds = object . get ( "rounds" ) . getAsString ( ) ; String privateCard = "NO" ; if ( ( fragmentPosition ) == ( FightListFragment . MY_CARDS_INDEX ) ) { privateCard = object . get ( "private" ) . getAsString ( ) ; } int roundsNum = Integer . parseInt ( rounds ) ; String subtext ; if ( ( fragmentPosition ) == ( FightListFragment . RECENT_CARDS_INDEX ) ) { String username = object . get ( "username" ) . getAsString ( ) ; subtext = "User:<seq2seq4repair_space>" + username ; } else { subtext = object . get ( "date" ) . getAsString ( ) ; } Fight fight = new Fight ( fighter1 , fighter2 , subtext , roundsNum , privateCard ) ; fights . add ( fight ) ; } adapter . notifyDataSetChanged ( ) ; } @ Override public void failure ( RetrofitError error ) { NotifyHelper . hideLoading ( ) ; NotifyHelper . showGeneralErrorMsg ( getActivity ( ) ) ; refreshControl . refreshComplete ( ) ; } } ; if ( ( fragmentPosition ) == ( FightListFragment . MASTER_FIGHT_LIST_INDEX ) ) { callAppropriateRestMethodFromIndex ( fragmentPosition ) ; } return rootView ; } public void callAppropriateRestMethodFromIndex ( int index ) { } @ Override public void onCreateOptionsMenu ( Menu menu , MenuInflater inflater ) { } }

Fix:
getActivity ( ) . startActivityForResult ( intent , SCORECARD_JUST_REQUESTED ) ;