Null Pointer Exception Sending Bundle Data From Activity to Fragment

view story

http://stackoverflow.com – I am trying to send the bundle data from the activity class to the fragment class, but I have been getting the NPE error. I've researched a bit on Stackoverflow and tried a few different things, but none seemed to work. I have another activity class sending the intent to the MainActivity class. So the bundle from the MainActivity.java is definitely not null when it is sent to the MyFragment class. Please help! Thank you! :D MainActivity.java public class MainActivity extends FragmentActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(save (HowTos)