Re: Exception in Pump Thread
"Charlie Poole" <[email protected]> Tue, 9 Sep 2008 21:42:54 -0700
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <004301c912ff$b316b4e0$6401a8c0@ferrari> |
This is a multi-part message in MIME format. --===============1761380599== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0044_01C912C5.06B7DCE0" This is a multi-part message in MIME format. ------=_NextPart_000_0044_01C912C5.06B7DCE0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit ok, lets get back to basic. Can you run the NUnit tests? _____ From: [email protected] [mailto:[email protected]] On Behalf Of Nicholas Bronson Sent: Tuesday, September 09, 2008 9:37 PM To: Charlie Poole Cc: [email protected] Subject: Re: [Nunit-users] Exception in Pump Thread No, running it through the gui I can get it to give this message: FIND.Spike.Application.Framework.Controls.FormattedTextBox.FormattedTextBoxT est.PasteTest_NoFormatString: An unhandled System.ApplicationException was thrown while executing this test : Exception in pump thread 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() Though now its started crashing outright with no message at all through the console (Nunit-console has encountered an error and must close). The inconsistency of it all is maddening. _____ From: Charlie Poole [mailto:[email protected]] Sent: Wednesday, 10 September 2008 2:24 PM To: Nicholas Bronson; [email protected] Subject: RE: [Nunit-users] Exception in Pump Thread There's a line in your stack trace: at NUnit.Core.EventListener.RunFinished(TestResult result) Is that always where the error occurs? Charlie _____ From: [email protected] [mailto:[email protected]] On Behalf Of Nicholas Bronson Sent: Tuesday, September 09, 2008 9:03 PM To: [email protected] Subject: [Nunit-users] Exception in Pump Thread Hey Everyone, I have come across problem using NUnit that is driving me batty and I'm hoping someone here might be able to help me. We use NUnit on a continuous build server to run tests against a .Net 1.1 client application for a major project. recently I've been upgrading the project to .Net 2.0 using Visual Studio 2008 and for the most part it's gone smoothly - everything except the build and tests. We use a number of extra libraries in testing, such as EasyMock .Net and NUnitForms. During the upgrade we had to ditch EasyMock (hasn't been updated since 2004 and doesn't support anything > 1.1) and I've recompiled NUnitForms once again to link to the correct NUnit dll. I replaced EasyMock with NMock 2 and most everything works, the tests all pass, everything is hunky dory. Except that if I run the test in the gui or the console, I get a series of intermittent errors. Which one I get seems to depend on how I run (the entire build process, just the unit tests, the unit tests minus some of them etc). One of the main ones I get is this: Unhandled exceptions: 1) : System.ApplicationException: Exception in pump thread ---> System.Runtime.Serialization.SerializationException: The object with ID 3 was referenced in a fixup but does not exist. Server stack trace: at System.Runtime.Serialization.ObjectManager.GetCompletionInfo(FixupHolder fixup, ObjectHolder& holder, Object& member, Boolean bThrowIfMissing) at System.Runtime.Serialization.ObjectManager.CompleteObject(ObjectHolder holder, Boolean bObjectFullyComplete) at System.Runtime.Serialization.ObjectManager.DoFixups() at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(Head erHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(S tream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeObject( MemoryStream stm) at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeMessage Parts(MemoryStream stm) at System.Runtime.Remoting.Messaging.SmuggledMethodCallMessage.FixupForNewAppDo main() at System.Runtime.Remoting.Channels.CrossAppDomainSink.DoDispatch(Byte[] reqStmBuff, SmuggledMethodCallMessage smuggledMcm, SmuggledMethodReturnMessage& smuggledMrm) at System.Runtime.Remoting.Channels.CrossAppDomainSink.DoTransitionDispatchCall back(Object[] args) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at NUnit.Core.EventListener.RunFinished(TestResult result) at NUnit.Core.RunFinishedEvent.Send(EventListener listener) at NUnit.Core.EventPump.PumpThreadProc() --- End of inner exception stack trace --- at NUnit.Core.EventPump.PumpThreadProc() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) I get it both at the console and in the gui runner. The strange thing is it's not actually an error in any of the tests - if I run it in the gui all tests show green, and this exception is thrown as the last thing that happens. The same thing happens in the console. A really odd behaviour is if I run a small subset of the tests, in this case ones running tests on certain custom controls. If I run each control fixture separately, they all pass green. If I run them all together, they all pass green but throw this error after running. It's also intermittent. I thought it have gone away a while ago when I ran the tests and they all worked fine, but the error came back on the next pass. I originally upgraded to 2.4.8, but as I was getting this error (as well as "Out of memory" occasionally, and sometimes just a straight crash with no explanation), I upgraded again to 2.5 alpha 3. It hasn't made any difference or change. I've got this week to evaluate how much effort it will take to migrate this app to 2.0, it seems strange that the main thing holding us back should be the test interface. I'd hate to have to shut off all the tests completely to make this upgrade happen, but it's looking like that might be the only option. I'm fervently hoping someone on this list has come across this problem before. Thanks for your time, all. Nicholas Bronson (BComp, MCPD: Enterprise Apps) Senior Software Programmer UXC Applications Development <mailto:[email protected]> [email protected] <http://www.appsdev.uxc.com.au/> http://www.appsdev.uxc.com.au/ L2 25 Argyle St Hobart TAS 7000 4a Whyalla St Fyshwick ACT 2609 L29 580 George St Sydney NSW 2000 L3 350 Collins St Melbourne VIC 3000 CONFIDENTIALITY - The information contained in this electronic mail message is confidential and is intended solely for the addressee(s). If you are not an authorised recipient of this message please contact UXC Limited immediately by reply email or by phone + 61 3 9224 5777 and destroy/delete this message from your computer. Any unauthorised form of reproduction of this message, or part thereof, is strictly prohibited. DISCLAIMER - Unless specifically indicated otherwise, the views and opinions expressed in this email are those of the sender and not UXC Limited. While we endeavour to protect our network from computer viruses, UXC Limited does not warrant that this email or any attachments are free of viruses or any other defects or errors. It is the duty of the recipient to virus scan and otherwise test any information contained in this email before loading onto any computer system. ------=_NextPart_000_0044_01C912C5.06B7DCE0 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:v =3D=20 "urn:schemas-microsoft-com:vml" xmlns:o =3D=20 "urn:schemas-microsoft-com:office:office" xmlns:w =3D=20 "urn:schemas-microsoft-com:office:word" xmlns:st1 =3D=20 "urn:schemas-microsoft-com:office:smarttags"><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <META content=3D"MSHTML 6.00.6000.16705" name=3DGENERATOR><!--[if !mso]> <STYLE>v\:* { BEHAVIOR: url(#default#VML) } o\:* { BEHAVIOR: url(#default#VML) } w\:* { BEHAVIOR: url(#default#VML) } .shape { BEHAVIOR: url(#default#VML) } </STYLE> <![endif]--><o:SmartTagType name=3D"Street"=20 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"></o:SmartTagT= ype><o:SmartTagType=20 name=3D"address"=20 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"></o:SmartTagT= ype><o:SmartTagType=20 name=3D"City"=20 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"></o:SmartTagT= ype><o:SmartTagType=20 name=3D"place"=20 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"></o:SmartTagT= ype><!--[if !mso]> <STYLE>st1\:* { BEHAVIOR: url(#default#ieooui) } </STYLE> <![endif]--> <STYLE>@font-face { font-family: Tahoma; } @page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 90.0pt 72.0pt = 90.0pt; } P.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman" } LI.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman" } DIV.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman" } A:link { COLOR: blue; TEXT-DECORATION: underline } SPAN.MsoHyperlink { COLOR: blue; TEXT-DECORATION: underline } A:visited { COLOR: purple; TEXT-DECORATION: underline } SPAN.MsoHyperlinkFollowed { COLOR: purple; TEXT-DECORATION: underline } P { FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: = "Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto } SPAN.EmailStyle18 { COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal } SPAN.EmailStyle19 { COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply } DIV.Section1 { page: Section1 } </STYLE> </HEAD> <BODY lang=3DEN-US vLink=3Dpurple link=3Dblue> <DIV><SPAN class=3D078294204-10092008><FONT face=3DArial color=3D#0000ff = size=3D2>ok,=20 lets get back to basic. Can you run the NUnit = tests?</FONT></SPAN></DIV><BR> <BLOCKQUOTE dir=3Dltr=20 style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px = solid; MARGIN-RIGHT: 0px"> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft> <HR tabIndex=3D-1> <FONT face=3DTahoma size=3D2><B>From:</B>=20 [email protected]=20 [mailto:[email protected]] <B>On Behalf Of=20 </B>Nicholas Bronson<BR><B>Sent:</B> Tuesday, September 09, 2008 9:37=20 PM<BR><B>To:</B> Charlie Poole<BR><B>Cc:</B>=20 [email protected]<BR><B>Subject:</B> Re: [Nunit-users] = Exception in Pump Thread<BR></FONT><BR></DIV> <DIV></DIV> <DIV class=3DSection1> <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">No, running = it=20 through the gui I can get it to give this=20 message:<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: = Arial">FIND.Spike.Application.Framework.Controls.FormattedTextBox.Formatt= edTextBoxTest.PasteTest_NoFormatString:<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">An = unhandled=20 System.ApplicationException was thrown while executing this test : = Exception=20 in pump thread<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">at=20 NUnit.Core.EventPump.PumpThreadProc()<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">at=20 System.Threading.ThreadHelper.ThreadStart_Context(Object=20 state)<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">at=20 System.Threading.ExecutionContext.Run(ExecutionContext = executionContext,=20 ContextCallback callback, Object state)<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">at=20 = System.Threading.ThreadHelper.ThreadStart()<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Though now = its=20 started crashing outright with no message at all through the console=20 (Nunit-console has encountered an error and must=20 close).<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">The = inconsistency of=20 it all is maddening.<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <DIV> <DIV class=3DMsoNormal style=3D"TEXT-ALIGN: center" = align=3Dcenter><FONT=20 face=3D"Times New Roman" size=3D3><SPAN style=3D"FONT-SIZE: 12pt"> <HR tabIndex=3D-1 align=3Dcenter width=3D"100%" SIZE=3D2> </SPAN></FONT></DIV> <P class=3DMsoNormal><B><FONT face=3DTahoma size=3D2><SPAN=20 style=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: = Tahoma">From:</SPAN></FONT></B><FONT=20 face=3DTahoma size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Tahoma"> Charlie=20 Poole [mailto:[email protected]] <BR><B><SPAN=20 style=3D"FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, 10 September = 2008 2:24=20 PM<BR><B><SPAN style=3D"FONT-WEIGHT: bold">To:</SPAN></B> Nicholas = Bronson;=20 [email protected]<BR><B><SPAN=20 style=3D"FONT-WEIGHT: bold">Subject:</SPAN></B> RE: [Nunit-users] = Exception in=20 Pump Thread</SPAN></FONT><o:p></o:p></P></DIV> <P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20 style=3D"FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P> <DIV> <P class=3DMsoNormal><FONT face=3DArial color=3Dblue size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">There's a = line in=20 your stack trace:</SPAN></FONT><o:p></o:p></P></DIV> <DIV> <P class=3DMsoNormal><FONT face=3DArial color=3Dblue size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: = Arial"> </SPAN></FONT><o:p></o:p></P></DIV> <DIV> <P class=3DMsoNormal><FONT face=3DArial color=3Dblue size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: = Arial"> at=20 NUnit.Core.EventListener.RunFinished(TestResult=20 result)</SPAN></FONT><o:p></o:p></P> <P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20 style=3D"FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial color=3Dblue size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Is that = always where=20 the error occurs?<o:p></o:p></SPAN></FONT></P></DIV> <DIV> <P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20 style=3D"FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV> <DIV> <P class=3DMsoNormal><FONT face=3DArial color=3Dblue size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: = Arial">Charlie</SPAN></FONT><o:p></o:p></P></DIV> <BLOCKQUOTE=20 style=3D"BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: = medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; MARGIN: 5pt 0cm 5pt = 3.75pt; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: = medium none"> <P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20 style=3D"FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P> <DIV class=3DMsoNormal style=3D"TEXT-ALIGN: center" = align=3Dcenter><FONT=20 face=3D"Times New Roman" size=3D3><SPAN style=3D"FONT-SIZE: 12pt"> <HR tabIndex=3D-1 align=3Dcenter width=3D"100%" SIZE=3D2> </SPAN></FONT></DIV> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 12pt"><B><FONT = face=3DTahoma=20 size=3D2><SPAN=20 style=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: = Tahoma">From:</SPAN></FONT></B><FONT=20 face=3DTahoma size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Tahoma">=20 [email protected]=20 [mailto:[email protected]] <B><SPAN=20 style=3D"FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Nicholas=20 Bronson<BR><B><SPAN style=3D"FONT-WEIGHT: bold">Sent:</SPAN></B> = Tuesday,=20 September 09, 2008 9:03 PM<BR><B><SPAN=20 style=3D"FONT-WEIGHT: bold">To:</SPAN></B>=20 [email protected]<BR><B><SPAN=20 style=3D"FONT-WEIGHT: bold">Subject:</SPAN></B> [Nunit-users] = Exception in=20 Pump Thread</SPAN></FONT><o:p></o:p></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hey=20 Everyone,<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have come across = problem using=20 NUnit that is driving me batty and I’m hoping someone here = might be able to=20 help me.<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">We use NUnit on a = continuous=20 build server to run tests against a .Net 1.1 client application for = a major=20 project… recently I’ve been upgrading the project to = .Net 2.0 using Visual=20 Studio 2008 and for the most part it’s gone smoothly – = everything except the=20 build and tests.<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">We use a number of = extra=20 libraries in testing, such as EasyMock .Net and NUnitForms. = During the=20 upgrade we had to ditch EasyMock (hasn’t been updated since = 2004 and doesn’t=20 support anything > 1.1) and I’ve recompiled NUnitForms once = again to link=20 to the correct NUnit dll. I replaced EasyMock with NMock 2 and = most=20 everything works, the tests all pass, everything is hunky = dory…=20 <o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Except that if I run = the test in=20 the gui or the console, I get a series of intermittent errors. = Which=20 one I get seems to depend on how I run (the entire build process, = just the=20 unit tests, the unit tests minus some of them etc). =20 <o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">One of the main ones I = get is=20 this: <o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Unhandled=20 exceptions:<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">1) :=20 System.ApplicationException: Exception in pump thread --->=20 System.Runtime.Serialization.SerializationException: The object with = ID 3=20 was referenced in a fixup but does not = exist.<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Server stack=20 trace:<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> at=20 = System.Runtime.Serialization.ObjectManager.GetCompletionInfo(FixupHolder = fixup, ObjectHolder& holder, Object& member, Boolean=20 bThrowIfMissing)<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> at=20 = System.Runtime.Serialization.ObjectManager.CompleteObject(ObjectHolder=20 holder, Boolean bObjectFullyComplete)<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> at=20 = System.Runtime.Serialization.ObjectManager.DoFixups()<o:p></o:p></SPAN></= FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> at=20 = System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(H= eaderHandler=20 handler, __BinaryParser serParser, Boolean fCheck, Boolean = isCrossAppDomain,=20 IMethodCallMessage methodCallMessage)<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> at=20 = System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserializ= e(Stream=20 serializationStream, HeaderHandler handler, Boolean fCheck, Boolean=20 isCrossAppDomain, IMethodCallMessage=20 methodCallMessage)<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> at=20 = System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeObje= ct(MemoryStream=20 stm)<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> at=20 = System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeMess= ageParts(MemoryStream=20 stm)<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> at=20 = System.Runtime.Remoting.Messaging.SmuggledMethodCallMessage.FixupForNewAp= pDomain()<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> at=20 = System.Runtime.Remoting.Channels.CrossAppDomainSink.DoDispatch(Byte[]=20 reqStmBuff, SmuggledMethodCallMessage smuggledMcm,=20 SmuggledMethodReturnMessage& = smuggledMrm)<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> at=20 = System.Runtime.Remoting.Channels.CrossAppDomainSink.DoTransitionDispatchC= allback(Object[]=20 args)<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Exception rethrown at=20 [0]:<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> at=20 = System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage=20 reqMsg, IMessage retMsg)<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> at=20 = System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& = msgData, Int32 type)<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> at=20 NUnit.Core.EventListener.RunFinished(TestResult=20 result)<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> at=20 NUnit.Core.RunFinishedEvent.Send(EventListener=20 listener)<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> at=20 NUnit.Core.EventPump.PumpThreadProc()<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> --- End = of inner=20 exception stack trace ---<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> at=20 NUnit.Core.EventPump.PumpThreadProc()<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> at=20 System.Threading.ThreadHelper.ThreadStart_Context(Object=20 state)<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> at=20 System.Threading.ExecutionContext.Run(ExecutionContext = executionContext,=20 ContextCallback callback, Object state)<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">I get it both at the = console and=20 in the gui runner. The strange thing is it’s not = actually an error in=20 any of the tests – if I run it in the gui all tests show = green, and this=20 exception is thrown as the last thing that happens. The same = thing=20 happens in the console.<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">A really odd behaviour = is if I=20 run a small subset of the tests, in this case ones running tests on = certain=20 custom controls. If I run each control fixture separately, = they all=20 pass green. If I run them all together, they all pass green = but throw=20 this error after running. <o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">It’s also = intermittent. I=20 thought it have gone away a while ago when I ran the tests and they = all=20 worked fine, but the error came back on the next=20 pass.<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">I originally upgraded = to 2.4.8,=20 but as I was getting this error (as well as “Out of = memory” occasionally,=20 and sometimes just a straight crash with no explanation), I upgraded = again=20 to 2.5 alpha 3. It hasn’t made any difference or=20 change.<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">I’ve got this = week to evaluate=20 how much effort it will take to migrate this app to 2.0, it seems = strange=20 that the main thing holding us back should be the test = interface. I’d=20 hate to have to shut off all the tests completely to make this = upgrade=20 happen, but it’s looking like that might be the only = option. I’m=20 fervently hoping someone on this list has come across this problem=20 before.<o:p></o:p></SPAN></FONT></P> <P><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks for your time,=20 all.<o:p></o:p></SPAN></FONT></P> <P><B><FONT face=3DTahoma color=3D#004e61 size=3D2><SPAN = lang=3DEN-AU=20 style=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #004e61; = FONT-FAMILY: Tahoma">Nicholas=20 Bronson (BComp, MCPD: <st1:place w:st=3D"on"><st1:City=20 w:st=3D"on">Enterprise</st1:City></st1:place> Apps)<BR>Senior = Software=20 Programmer<BR></SPAN></FONT></B><B><FONT face=3DTahoma = color=3D#004e61=20 size=3D5><SPAN lang=3DEN-AU=20 style=3D"FONT-WEIGHT: bold; FONT-SIZE: 18pt; COLOR: #004e61; = FONT-FAMILY: Tahoma">U</SPAN></FONT></B><B><FONT=20 face=3DTahoma color=3D#ba9800 size=3D5><SPAN lang=3DEN-AU=20 style=3D"FONT-WEIGHT: bold; FONT-SIZE: 18pt; COLOR: #ba9800; = FONT-FAMILY: Tahoma">X</SPAN></FONT></B><B><FONT=20 face=3DTahoma color=3D#004e61 size=3D5><SPAN lang=3DEN-AU=20 style=3D"FONT-WEIGHT: bold; FONT-SIZE: 18pt; COLOR: #004e61; = FONT-FAMILY: Tahoma">C<BR></SPAN></FONT></B><B><FONT=20 face=3DTahoma color=3D#004e61 size=3D1><SPAN lang=3DEN-AU=20 style=3D"FONT-WEIGHT: bold; FONT-SIZE: 7.5pt; COLOR: #004e61; = FONT-FAMILY: Tahoma">Applications=20 Development</SPAN></FONT></B><B><FONT face=3DTahoma color=3D#7f7f7f = size=3D2><SPAN=20 lang=3DEN-AU=20 style=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #7f7f7f; = FONT-FAMILY: Tahoma"><BR></SPAN></FONT></B><A=20 href=3D"mailto:[email protected]"><FONT = face=3DTahoma=20 color=3D#595959 size=3D2><SPAN lang=3DEN-AU=20 style=3D"FONT-SIZE: 10pt; COLOR: #595959; FONT-FAMILY: = Tahoma">[email protected]</SPAN></FONT></A><BR><A=20 href=3D"http://www.appsdev.uxc.com.au/"><FONT face=3DTahoma = color=3D#595959=20 size=3D2><SPAN lang=3DEN-AU=20 style=3D"FONT-SIZE: 10pt; COLOR: #595959; FONT-FAMILY: = Tahoma">http://www.appsdev.uxc.com.au/</SPAN></FONT></A><BR><FONT=20 face=3DTahoma color=3D#595959 size=3D2><SPAN lang=3DEN-AU=20 style=3D"FONT-SIZE: 10pt; COLOR: #595959; FONT-FAMILY: Tahoma">L2 = <st1:address=20 w:st=3D"on"><st1:Street w:st=3D"on">25 Argyle St</st1:Street> = <st1:City=20 w:st=3D"on">Hobart</st1:City></st1:address> TAS 7000<BR>4a = <st1:Street=20 w:st=3D"on"><st1:address w:st=3D"on">Whyalla = St</st1:address></st1:Street>=20 Fyshwick ACT 2609 <BR>L29 <st1:address = w:st=3D"on"><st1:Street=20 w:st=3D"on">580 George St</st1:Street> <st1:City=20 w:st=3D"on">Sydney</st1:City></st1:address> NSW 2000<BR>L3 = <st1:address=20 w:st=3D"on"><st1:Street w:st=3D"on">350 Collins St</st1:Street> = <st1:City=20 w:st=3D"on">Melbourne</st1:City></st1:address> VIC=20 3000<BR><BR></SPAN></FONT><FONT face=3DTahoma color=3Dgray = size=3D1><SPAN=20 lang=3DEN-AU=20 style=3D"FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: = Tahoma">CONFIDENTIALITY –=20 The information contained in this electronic mail message is = confidential=20 and is intended solely for the addressee(s). If you are not an = authorised=20 recipient of this message please contact UXC Limited immediately by = reply=20 email or by phone + 61 3 9224 5777 and destroy/delete this message = from your=20 computer. Any unauthorised form of reproduction of this message, or = part=20 thereof, is strictly prohibited.<BR>DISCLAIMER – Unless = specifically=20 indicated otherwise, the views and opinions expressed in this email = are=20 those of the sender and not UXC Limited. While we endeavour to = protect our=20 network from computer viruses, UXC Limited does not warrant that = this email=20 or any attachments are free of viruses or any other defects or = errors. It is=20 the duty of the recipient to virus scan and otherwise test any = information=20 contained in this email before loading onto any computer=20 system.</SPAN></FONT><FONT face=3DTahoma color=3D#595959 = size=3D2><SPAN lang=3DEN-AU=20 style=3D"FONT-SIZE: 10pt; COLOR: #595959; FONT-FAMILY: = Tahoma"><o:p></o:p></SPAN></FONT></P> <P><FONT face=3D"Times New Roman" size=3D3><SPAN=20 style=3D"FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20 style=3D"FONT-SIZE: = 12pt"><o:p> </o:p></SPAN></FONT></P></BLOCKQUOTE></DIV></BLOCKQUOTE>= </BODY></HTML> ------=_NextPart_000_0044_01C912C5.06B7DCE0-- --===============1761380599== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ --===============1761380599== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nunit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nunit-users --===============1761380599==--