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
Your assumption should be the NPE is caused by you, not Android. The NPE may pop at ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord) line: 2268
, but that means you passed a null pointer to something and it kept on getting passed around until performLaunchActivity
actually tried using it and crashed when it found a null pointer.
If we can see the full LogCat, particularly everything in red in the Eclipse LogCat it would help for debugging. I've turned myself inside out looking for an NPE only for someone else to find a very subtle resource initializing line out of place.