[Mono-bugs] [Bug 655342] System.InvalidOperationException When Inheriting From IntentService

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jan 21 17:41:32 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=655342

https://bugzilla.novell.com/show_bug.cgi?id=655342#c10


Jonathan Dick <jondick at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jondick at gmail.com

--- Comment #10 from Jonathan Dick <jondick at gmail.com> 2011-01-21 22:41:30 UTC ---
Not sure this is the problem I'm running into here.  My stack trace is:


E/AndroidRuntime(21590): FATAL EXCEPTION: main
E/AndroidRuntime(21590): java.lang.RuntimeException: Unable to instantiate
service c2dmsharp.client.sample.SampleService:
java.lang.InstantiationException: c2dmsharp.client.sample.SampleService
E/AndroidRuntime(21590):     at
android.app.ActivityThread.handleCreateService(ActivityThread.java:2943)
E/AndroidRuntime(21590):     at
android.app.ActivityThread.access$3300(ActivityThread.java:125)
E/AndroidRuntime(21590):     at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2087)
E/AndroidRuntime(21590):     at
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(21590):     at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(21590):     at
android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime(21590):     at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime(21590):     at
java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(21590):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
E/AndroidRuntime(21590):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E/AndroidRuntime(21590):     at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(21590): Caused by: java.lang.InstantiationException:
c2dmsharp.client.sample.SampleService
E/AndroidRuntime(21590):     at java.lang.Class.newInstanceImpl(Native Method)
E/AndroidRuntime(21590):     at java.lang.Class.newInstance(Class.java:1429)
E/AndroidRuntime(21590):     at
android.app.ActivityThread.handleCreateService(ActivityThread.java:2940)
E/AndroidRuntime(21590):     ... 10 more
W/ActivityManager( 3188):   Force finishing activity
c2dmsharp.client.sample/.DefaultActivity
I/        ( 3188): dumpmesg > /data/log/dumpstate_app_error.log

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list