I found it. I learned that with Run->Add Java Exception Breakpoint you can 
actually catch the exception
  ----- Original Message ----- 
  From: Hendrik Greving 
  To: Android Developers 
  Sent: Sunday, February 27, 2011 3:03 PM
  Subject: NullPointer Exception


  Hi I am getting a NullPointerException but no real log where it occurs. How 
can I debug this? It crashes when it returns from onCreate from the first 
Activity

  ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord, Intent) 
line: 2496 
  ActivityThread.handleLaunchActivity(ActivityThread$ActivityRecord, Intent) 
line: 2512 
  ActivityThread.access$2200(ActivityThread, ActivityThread$ActivityRecord, 
Intent) line: 119 
  ActivityThread$H.handleMessage(Message) line: 1863 
  ActivityThread$H(Handler).dispatchMessage(Message) line: 99 
  Looper.loop() line: 123 
  ActivityThread.main(String[]) line: 4363 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to