[Mono-bugs] [Bug 640657] Crash when using RunOnUiThread with a button - Build 7947

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Oct 2 17:36:42 EDT 2010


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

https://bugzilla.novell.com/show_bug.cgi?id=640657#c1


Steve Nimeitz <steveniemitz at gmail.com> changed:

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

--- Comment #1 from Steve Nimeitz <steveniemitz at gmail.com> 2010-10-02 21:36:41 UTC ---
Here's a very simple repro case:

http://pastebin.com/Lq7ZLUvS

Clicking the button gives this error:


10-02 21:35:54.416: ERROR/mono(1380): Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type
initializer for Java.Lang.IRunnableAdapter ---> Java.Lang.NoClassDefFoundError:
Exception of type 'Java.Lang.NoClassDefFoundError' was thrown.
10-02 21:35:54.416: ERROR/mono(1380):   at Android.Runtime.JNIEnv.FindClass
(System.String classname) [0x00000] in <filename unknown>:0 
10-02 21:35:54.416: ERROR/mono(1380):   at Java.Lang.IRunnableAdapter..cctor ()
[0x00000] in <filename unknown>:0 
10-02 21:35:54.416: ERROR/mono(1380):   --- End of inner exception stack trace
---
10-02 21:35:54.416: ERROR/mono(1380):   at
Java.Lang.Thread+RunnableImplementor..ctor (System.Action handler, Boolean
removable) [0x00000] in <filename unknown>:0 
10-02 21:35:54.416: ERROR/mono(1380):   at
Java.Lang.Thread+RunnableImplementor..ctor (System.Action handler) [0x00000] in
<filename unknown>:0 
10-02 21:35:54.416: ERROR/mono(1380):   at Android.App.Activity.RunOnUiThread
(System.Action action) [0x00000] in <filename unknown>:0 
10-02 21:35:54.416: ERROR/mono(1380):   at RunOnUI.Activity1.<button_Click>b__0
(System.Object o) [0x00000] in <filename unknown>:0

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