Re: [android-developers] Re: Problem using android services

2010-07-07 Thread Mark Murphy
On Wed, Jul 7, 2010 at 1:46 AM, Abhi abishe...@gmail.com wrote: 07-07 10:58:01.442: ERROR/AndroidRuntime(273): Caused by: java.lang.NullPointerException 07-07 10:58:01.442: ERROR/AndroidRuntime(273):     at android.content.ContextWrapper.getApplicationContext(ContextWrapper.java: 100) 07-07

[android-developers] Re: Problem using android services

2010-07-07 Thread Abhi
Thanks a lot Mark. I managed to solve the problem based on your pointers. I was doing a global initialization of Application Context using getApplicationContext. Thanks and Regards, Abhijeeth On Jul 7, 5:03 pm, Mark Murphy mmur...@commonsware.com wrote: On Wed, Jul 7, 2010 at 1:46 AM, Abhi

[android-developers] Re: Problem using android services

2010-07-06 Thread Abhi
Hi I checked the debug log. This is the error i got. 07-07 10:58:00.210: ERROR/AndroidRuntime(273): Uncaught handler: thread main exiting due to uncaught exception 07-07 10:58:01.442: ERROR/AndroidRuntime(273): java.lang.RuntimeException: Unable to instantiate service