mail-archives/mono-bugs/2010-October/104413.html

154 строки
5.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 643400] New: System.Threading.ThreadPool.QueueUserWorkItem Results in Java.Lang.NoClassDefFoundError
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20643400%5D%20New%3A%0A%20System.Threading.ThreadPool.QueueUserWorkItem%20Results%20in%0A%20Java.Lang.NoClassDefFoundError&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="104411.html">
<LINK REL="Next" HREF="104414.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 643400] New: System.Threading.ThreadPool.QueueUserWorkItem Results in Java.Lang.NoClassDefFoundError</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20643400%5D%20New%3A%0A%20System.Threading.ThreadPool.QueueUserWorkItem%20Results%20in%0A%20Java.Lang.NoClassDefFoundError&In-Reply-To="
TITLE="[Mono-bugs] [Bug 643400] New: System.Threading.ThreadPool.QueueUserWorkItem Results in Java.Lang.NoClassDefFoundError">bugzilla_noreply at novell.com
</A><BR>
<I>Sun Oct 3 22:27:51 EDT 2010</I>
<P><UL>
<LI>Previous message: <A HREF="104411.html">[Mono-bugs] [Bug 643399] New: Issue referred by closed defect:([Bug 565847] - ItemGroup inside Target is not supported) still does not work
</A></li>
<LI>Next message: <A HREF="104414.html">[Mono-bugs] [Bug 643400] System.Threading.ThreadPool.QueueUserWorkItem Results in Java.Lang.NoClassDefFoundError
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#104413">[ date ]</a>
<a href="thread.html#104413">[ thread ]</a>
<a href="subject.html#104413">[ subject ]</a>
<a href="author.html#104413">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=643400">https://bugzilla.novell.com/show_bug.cgi?id=643400</A>
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=643400#c0">https://bugzilla.novell.com/show_bug.cgi?id=643400#c0</A>
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: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mkestner at novell.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">pdbarnett at gmail.com</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
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
e
xception was thrown by the type initializer for Java.Lang.IRunnableAdapter ---&gt;
Java.Lang.NoClassDefFoundError: Exception of type
'Java.Lang.NoClassDefFoundErro
r' was thrown.
E/mono ( 903): at Android.Runtime.JNIEnv.FindClass (System.String
classnam
e) [0x00022] in
/home/jpobst/Desktop/mondroid/Mono.Android/src/Runtime/JNIEnv.cs
:<i>139
</I>E/mono ( 903): at Java.Lang.IRunnableAdapter..cctor () [0x00000] in
&lt;filen
ame unknown&gt;:0
E/mono ( 903): --- End of inner exception stack trace ---
E/mono ( 903): at Java.Lang.Thread+RunnableImplementor..ctor
(System.Actio
n handler, Boolean removable) [0x00000] in &lt;filename unknown&gt;:0
E/mono ( 903): at Android.OS.Handler.Post (System.Action action)
[0x00000]
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) =&gt; {
CallSomeMethod(); }));
2. Run the code.
3. Observe the exception.
Actual Results:
Java.Lang.NoClassDefFoundError
Expected Results:
No exception
--
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="104411.html">[Mono-bugs] [Bug 643399] New: Issue referred by closed defect:([Bug 565847] - ItemGroup inside Target is not supported) still does not work
</A></li>
<LI>Next message: <A HREF="104414.html">[Mono-bugs] [Bug 643400] System.Threading.ThreadPool.QueueUserWorkItem Results in Java.Lang.NoClassDefFoundError
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#104413">[ date ]</a>
<a href="thread.html#104413">[ thread ]</a>
<a href="subject.html#104413">[ subject ]</a>
<a href="author.html#104413">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>