Buggy code:
public class ManageEventFragment extends Fragment { private static final String TAG = "EditEventFragement" ; TextView orgNameText ; TextView startDateText ; TextView startTimeText ; TextView endDateText ; TextView endTimeText ; TextView dollarSignText ; AutoCompleteTextView eventLocationText ; EditText eventNameText ; EditText eventDescriptionText ; EditText costText ; RadioGroup admissionRadioGroup ; RadioButton freeButton ; RadioButton paidButton ; Button saveButton ; String currentOrganization ; ArrayList < String > buildingNames ; private EventObject mEvent ; private Calendar myCalendar = Calendar . getInstance ( ) ; private LinearLayout rootView ; private FragmentActivity fragAct ; private Intent mIntent ; private int mYear = myCalendar . get ( Calendar . YEAR ) ; private int mMonth = myCalendar . get ( Calendar . MONTH ) ; private int mDay = myCalendar . get ( Calendar . DAY_OF_MONTH ) ; private int mHour = myCalendar . get ( Calendar . HOUR_OF_DAY ) ; private int mMinute = myCalendar . get ( Calendar . MINUTE ) ; private boolean isNewEvent ; public View onCreateView ( LayoutInflater inflater , ViewGroup container , Bundle savedInstanceState ) { fragAct = super . getActivity ( ) ; rootView = ( ( LinearLayout ) ( inflater . inflate ( fragment_manage_event , container , false ) ) ) ; mIntent = fragAct . getIntent ( ) ; cacheWidgets ( ) ; queryAndFillAutoCompleteView ( ) ; setViewListeners ( ) ; setSubmitButtonListener ( ) ; currentOrganization = mIntent . getStringExtra ( admin_org_name ) ; orgNameText . setText ( currentOrganization ) ; <START_BUG> isNewEvent = mIntent . getBooleanExtra ( "isNew" , false ) ; <END_BUG> if ( isNewEvent ) { Log . i ( ManageEventFragment . TAG , ( "Adding<seq2seq4repair_space>event<seq2seq4repair_space>as:" + ( currentOrganization ) ) ) ; mEvent = new EventObject ( ) ; } else { Log . i ( ManageEventFragment . TAG , ( "Editing<seq2seq4repair_space>event<seq2seq4repair_space>as:" + ( currentOrganization ) ) ) ; String id = mIntent . getStringExtra ( event_object_id ) ; try { ParseQuery < EventObject > eventsQuery = ParseQuery . getQuery ( EventObject . class ) ; mEvent = eventsQuery . get ( id ) ; } catch ( ParseException e1 ) { e1 . printStackTrace ( ) ; } loadEventData ( ) ; } return rootView ; } public ManageEventFragment ( ) { } public ManageEventFragment ( EventObject event , boolean readOnly , Intent intent ) { } private void cacheWidgets ( ) { } private void queryAndFillAutoCompleteView ( ) { } class Validator implements AutoCompleteTextView . Validator { @ Override public boolean isValid ( CharSequence text ) { } @ Override public CharSequence fixText ( CharSequence invalidText ) { } } class FocusListener implements View . OnFocusChangeListener { @ Override public void onFocusChange ( View v , boolean hasFocus ) { } } private void setViewListeners ( ) { } private void setSubmitButtonListener ( ) { } OnDateSetListener mStartDateListener = new DatePickerDialog . OnDateSetListener ( ) { @ Override public void onDateSet ( DatePicker view , int year , int monthOfYear , int dayOfMonth ) { } } ; OnDateSetListener mEndDateListener = new DatePickerDialog . OnDateSetListener ( ) { @ Override public void onDateSet ( DatePicker view , int year , int monthOfYear , int dayOfMonth ) { } } ; OnTimeSetListener mStartTimeListener = new TimePickerDialog . OnTimeSetListener ( ) { @ Override public void onTimeSet ( TimePicker view , int hourOfDay , int minute ) { } } ; OnTimeSetListener mEndTimeListener = new TimePickerDialog . OnTimeSetListener ( ) { @ Override public void onTimeSet ( TimePicker view , int hourOfDay , int minute ) { } } ; private void updateDateLabel ( TextView tv ) { } private void updateTimeLabel ( TextView tv ) { } private void loadEventData ( ) { } }

Fix:
isNewEvent = mIntent . getBooleanExtra ( "isNewEvent" , false ) ;