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 10:58:01.442: ERROR/AndroidRuntime(273):     at
> com.satloc.PeriodicUpdationService.<init>(PeriodicUpdationService.java:
> 31)

You are attempting to do something in an initializer that cannot be
done until onCreate().

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 2.8 Available!

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