its a runtime error . use Log.i or anything similar and try to print your variables values to check which variable is null while running the program
On Friday, June 15, 2012 7:53:32 AM UTC+5:30, DiEla Arianto wrote: > > how to anticipate > unknown error : java.lang.nullpointerexception -- 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