36
Possible Duplicate:
Android RuntimeException: Unable to instantiate the service
I have been trying to fix the following problem all day but nothing seems to work.
I have a widget which gets it's views updated via an IntentService. But i keep getting an InstantiationException when trying to start this service. Below is the stack trace of the error and the code i use to launch the service. I don't believe i need to post the code of the service as it is never even started, but if someone thinks otherwise i will of course do so.
STACKTRACE
05-30 13:58:47.150: ERROR/AndroidRuntime(1163): FATAL EXCEPTION: main
05-30 13:58:47.150: ERROR/AndroidRuntime(1163): java.lang.RuntimeException: Unable to instantiate service syrligt.cashtrack.widgets.StatisticsWidgetUpdateService: java.lang.InstantiationException: syrligt.cashtrack.widgets.StatisticsWidgetUpdateService
05-30 13:58:47.150: ERROR/AndroidRuntime(1163): at android.app.ActivityThread.handleCreateService(ActivityThread.java:1904)
05-30 13:58:47.150: ERROR/AndroidRuntime(1163): at android.app.ActivityThread.access$2500(ActivityThread.java:117)
05-30 13:58:47.150: ERROR/AndroidRuntime(1163): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:982)
05-30 13:58:47.150: ERROR/AndroidRuntime(1163): at android.os.Handler.dispatchMessage(Handler.java:99)
05-30 13:58:47.150: ERROR/AndroidRuntime(1163): at android.os.Looper.loop(Looper.java:123)
05-30 13:58:47.150: ERROR/AndroidRuntime(1163): at android.app.ActivityThread.main(ActivityThread.java:3647)
05-30 13:58:47.150: ERROR/AndroidRuntime(1163): at java.lang.reflect.Method.invokeNative(Native Method)
05-30 13:58:47.150: ERROR/AndroidRuntime(1163): at java.lang.reflect.Method.invoke(Method.java:507)
05-3