NullPointerException is so common and so general that you can't know anything from "I got a NullPointerException". One this I can tell you, you're new to Java programming(or a lousy programmer) if you don't know what it means.
On 2 фев, 10:13, Robin Talwar <r.o.b.i.n.abhis...@gmail.com> wrote: > the same kind of error is the one which i get when i downgrade my app from > 2.2 to 2.1 and i am not using any specific library. > I have done all the changes like in manifest file and project properties > then cleaned the project and still it gives the error. > I dont knw much how to debug but all i can give you the information is that > the splash screen comes up in 2.1 and when it disappears then i get force > close due to null pointer while all this work fine in 2.2 > > On Wed, Feb 2, 2011 at 1:25 PM, Thomas <thomasjakw...@gmail.com> wrote: > > You tried to access an object you haven't constructed yet, meaning > > you're using only a reference. > > The reference has to be constructed or point to an object somewhere, > > should look like this: > > > Foo f = new Foo(); > > f.func(); > > > if you just have: > > > Foo f; > > f.func(); > > > You're trying to access memory that isn't there. > > The line: > > > new Foo(); > > > Allocates memory and points the reference 'f' to it. f can then be > > used to access that memory. > > > Its called a nullpointerexception because currently your reference is > > pointing to a null memory address (invalid). > > > On Feb 1, 9:16 pm, subhashini alaguchokku > > <subhashini.andr...@gmail.com> wrote: > > > Hi, > > > > I get following compile time error, pls give any solutions > > > > [2011-02-02 10:37:46 - Mcatalog] Unknown error: > > > java.lang.NullPointerException > > > > Thanks and regards, > > > subha > > > -- > > 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<android-developers%2bunsubscr...@googlegroups.com> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en -- 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