Displaying RSS Feed on a fragment [duplicate]
问题 This question already has answers here : What is a NullPointerException, and how do I fix it? (12 answers) Closed 2 years ago . I've created an app with a drawer menu that opens a new fragment for each menu option. Within those fragments i'm attempting run several functions. I've parsed an RSS feed, and want to display the information I've parsed on a ListView inside a specific fragment. My main activity navigates to the fragment no problem but gets stuck with a Null Pointer exception. This