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. The problem is, its 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 "Source not found." and a button that says "Edit Source Lookup Path"
How can I setup 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.
I'm using android-sdk-linux_x86-1.5_r3 and my G1 for this project.
UPDATE: 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 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.