have u checked the value of noConnectionAlert.. as it is a null pointer exception it is possible that the value is null..
On Sun, Oct 3, 2010 at 1:10 PM, tarek attia <[email protected]> wrote: > > > On Sun, Oct 3, 2010 at 9:14 PM, fernando <[email protected]> wrote: > >> It seems that you might have problems somewhere on onResume or onPause >> or onNewIntent. Do you have logcats showing the stack trace of the >> exception? >> >> > The LogCat as follow :- > > > 10-02 16:18:17.067: ERROR/AndroidRuntime(511): Uncaught handler: thread > Background exiting due to uncaught exception > 10-02 16:18:17.077: ERROR/AndroidRuntime(511): > java.lang.NullPointerException > 10-02 16:18:17.077: ERROR/AndroidRuntime(511): at > hello.world.Example.Test$2.run(Test.java:144) > 10-02 16:18:17.077: ERROR/AndroidRuntime(511): at > java.lang.Thread.run(Thread.java:1060) > > > Line 144 contains call for the thread handler to handle gui operation as > follow :- > > guiHandler.post(noConnectionAlert); > > What could be the issue,however if i waited then reopened it again it will > work fine . > > > On Oct 2, 3:56 pm, tarek attia <[email protected]> wrote: >> > Hi all, >> > >> > I have a weird behaviour on T-mobile ,as I made an application,then >> > after closing it and reopen it immediately after closing ,a message >> > box telling me that the application had to stop and fatal error >> > occurred,then I reopen it again after this,it opens normally >> > >> > Any Idea ? Do I miss something ? >> > >> > Regards, >> > -- >> > tarek >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected]<android-developers%[email protected]> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> > > > > -- > tarek > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

