|
Loading...
|
nunit-discuss@googlegroups.com
[Prev] Thread [Next] | [Prev] Date [Next]
RE: [nunit-discuss] Threading Problem Need Help!! Charlie Poole Mon Nov 23 14:00:26 2009
The event pump is an internal object in NUnit, which serializes the sending of events using a separate thread. That thread is not executing any of your code, so the problem is either a bug in NUnit or in a custom type of your own, which is being embedded in the events. The most common cause of this would be the use of a custom exception, which NUnit cannot deal with because it doesn't have a reference to its definition. Charlie > -----Original Message----- > From: Calvin [mailto:[EMAIL PROTECTED] > Sent: Sunday, November 22, 2009 12:10 AM > To: NUnit-Discuss > Subject: [nunit-discuss] Threading Problem Need Help!! > > Hello Everyone! > > I joined the group, well for one Im interested in the power > of NUnit, two my project is dependent on it. About a month > ago I looked into using NUnit events and to do this I built > an NUnit Addin. The events seem to fire exactly how they > should but every once in a while ill run a series of tests > and it throws me a threading error. I do not use any extra > threads in my code and I have repeadly checked my code for > errors and cannot find anything. The fact that the crashes > are random, not all time, and the error says it happened in > the pump thread makes me believe it has something to do with > the events being fired. > > Copy of the error being thrown > > at NUnit.Core.EventPump.PumpThreadProc() > at System.Threading.ThreadHelper.ThreadStart_Context(Object > state) at System.Threading.ExecutionContext.Run(ExecutionContext > executionContext, ContextCallback callback, Object state) at > System.Threading.ThreadHelper.ThreadStart() > > If anyone has information on this or has any ideas I would > love to hear them. My project is dependent on the events and > due date is very soon. Need help!! Thank you for your time. > > -Calvin > > -- > > You received this message because you are subscribed to the > Google Groups "NUnit-Discuss" group. > To post to this group, send email to [EMAIL PROTECTED] > To unsubscribe from this group, send email to > [EMAIL PROTECTED] > For more options, visit this group at > http://groups.google.com/group/nunit-discuss?hl=. > > > -- You received this message because you are subscribed to the Google Groups "NUnit-Discuss" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/nunit-discuss?hl=.
- [nunit-discuss] Threading Problem Need Help!! Calvin 2009/11/22
- RE: [nunit-discuss] Threading Problem Need Help!! Charlie Poole 2009/11/23 <=