[Mono-bugs] [Bug 643400] New: System.Threading.ThreadPool.QueueUserWorkItem Results in Java.Lang.NoClassDefFoundError

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Oct 3 22:27:51 EDT 2010



           Summary: System.Threading.ThreadPool.QueueUserWorkItem Results
                    in Java.Lang.NoClassDefFoundError
    Classification: Mono
           Product: MonoDroid
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Runtime
        AssignedTo: mkestner at novell.com
        ReportedBy: pdbarnett at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.10 (KHTML, like Gecko) Chrome/7.0.540.0 Safari/534.10

When using ThreadPool.QueueUserWorkItem, it fails with the following exceptions

E/mono    (  903): Unhandled Exception: System.TypeInitializationException: An
xception was thrown by the type initializer for Java.Lang.IRunnableAdapter --->
Java.Lang.NoClassDefFoundError: Exception of type
r' was thrown.
E/mono    (  903):   at Android.Runtime.JNIEnv.FindClass (System.String
e) [0x00022] in
E/mono    (  903):   at Java.Lang.IRunnableAdapter..cctor () [0x00000] in
ame unknown>:0
E/mono    (  903):   --- End of inner exception stack trace ---
E/mono    (  903):   at Java.Lang.Thread+RunnableImplementor..ctor
n handler, Boolean removable) [0x00000] in <filename unknown>:0
E/mono    (  903):   at Android.OS.Handler.Post (System.Action action)
in /home/jpobst/Desktop/mondroid/Mono.Android/src/Android.OS/Handler.cs:10

Reproducible: Always

Steps to Reproduce:
1. Call ThreadPool.QueueUserWorkItem(new WaitCallback((state) => {
CallSomeMethod(); }));
2. Run the code.
3.  Observe the exception.
Actual Results:  

Expected Results:  
No exception

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