title: How can I debug this NullPointer exception?
body: <p>I'm trying to write an application for Android and when I launch my new activity, I've set break points and found that it runs through my onCreate without any errors, but after that function returns, the debugger says there is a NullPointer Exception (NPE). The problem is, it's not in my code, it says its in ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord) line: 2268 and where the source normally would be (if it were my code) I just get &quot;Source not found.&quot; and a button that says &quot;Edit Source Lookup Path&quot;.</p>
  <p>How can I set up Eclipse so I can debug this problem? I'm sure I'm doing something wrong in my code, but because the exception originates in code I can't see, I have no idea how to figure out where the problem is.</p>
  <p>I'm using android-sdk-linux_x86-1.5_r3 and my G1 for this project.</p>
  <p>I think my question really has more to do with Android development than using Eclipse. I'm not sure where to find the source for the code that is throwing the exception. Maybe there is a way I can debug it without having that file, but I'm not sure what it would be.</p>