On Thursday, August 18, 2011 2:30:43 AM UTC-4, perumal316 wrote:
>
> I checked the logcat, it is showing: 
>
> ERROR/AndroidRuntime(10335): FATAL EXCEPTION: main 
> ERROR/AndroidRuntime(10335): java.lang.NullPointerException 
>

You need to look through the next series of lines for a "Caused by" after 
which there will be a second series of "at" lines.  Find the first one that 
refers to a file that is part of your project and look at what you are doing 
on that line number in the file.  Something on that line of source code is 
something that is unexpectedly null.  Figure out why it is null, and/or add 
a check to see if it is null, and if so handle that intelligently.

 

-- 
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