Re: Exception in Pump Thread
"Nicholas Bronson" <[email protected]> Wed, 10 Sep 2008 14:55:23 +1000
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <24E36F57378E2A49B8D5EE98904F2E2E03A950CC@osiris.olympus.dytech.com.au> |
This is a multi-part message in MIME format. --===============1848834667== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C91301.6F818850" This is a multi-part message in MIME format. ------_=_NextPart_001_01C91301.6F818850 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I can run any of the tests if I do it one by one, they all pass... I only get the exception if I try to run them as a group, such as all tests in a particular namespace, or all tests that don't play with the database. =20 The error doesn't seem to be in the tests themselves, but rather perhaps the teardown in certain circumstances? =20 ________________________________ From: Charlie Poole [mailto:[email protected]]=20 Sent: Wednesday, 10 September 2008 2:43 PM To: Nicholas Bronson Cc: [email protected] Subject: RE: [Nunit-users] Exception in Pump Thread =20 ok, lets get back to basic. Can you run the NUnit tests? =20 =09 ________________________________ 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: =20 =09 FIND.Spike.Application.Framework.Controls.FormattedTextBox.FormattedText BoxTest.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() =20 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. =20 =20 =09 ________________________________ From: Charlie Poole [mailto:[email protected]]=20 Sent: Wednesday, 10 September 2008 2:24 PM To: Nicholas Bronson; [email protected] Subject: RE: [Nunit-users] Exception in Pump Thread =20 There's a line in your stack trace: =20 at NUnit.Core.EventListener.RunFinished(TestResult result) =20 Is that always where the error occurs? =20 Charlie =20 =09 ________________________________ 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, =20 I have come across problem using NUnit that is driving me batty and I'm hoping someone here might be able to help me. =20 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. =20 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...=20 =20 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). =20 =20 One of the main ones I get is this:=20 =20 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. =20 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( HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deseriali ze(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeObj ect(MemoryStream stm) at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeMes sageParts(MemoryStream stm) at System.Runtime.Remoting.Messaging.SmuggledMethodCallMessage.FixupForNewA ppDomain() at System.Runtime.Remoting.Channels.CrossAppDomainSink.DoDispatch(Byte[] reqStmBuff, SmuggledMethodCallMessage smuggledMcm, SmuggledMethodReturnMessage& smuggledMrm) at System.Runtime.Remoting.Channels.CrossAppDomainSink.DoTransitionDispatch Callback(Object[] args) =20 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) =20 =20 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. =20 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. =20 =20 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. =20 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. =20 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 [email protected] <mailto:[email protected]>=20 http://www.appsdev.uxc.com.au/ <http://www.appsdev.uxc.com.au/>=20 L2 25 Argyle St Hobart TAS 7000 4a Whyalla St Fyshwick ACT 2609=20 L29 580 George St Sydney NSW 2000 L3 350 Collins St Melbourne VIC 3000 =09 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. =20 =20 ------_=_NextPart_001_01C91301.6F818850 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <!--[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 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" = name=3D"Street"/> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"address"/> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"City"/> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"place"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p {mso-margin-top-alt:auto; margin-right:0cm; mso-margin-bottom-alt:auto; margin-left:0cm; font-size:12.0pt; font-family:"Times New Roman";} span.EmailStyle18 {mso-style-type:personal; font-family:Arial; color:windowtext;} span.EmailStyle19 {mso-style-type:personal; font-family:Arial; color:navy;} span.EmailStyle20 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>I can run any of the tests if I do = it one by one, they all pass… I only get the exception if I try to run = them as a group, such as all tests in a particular namespace, or all tests that = don’t play with the database.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>The error doesn’t seem to be = in the tests themselves, but rather perhaps the teardown in certain = circumstances?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p> <div> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font = size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'> <hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1> </span></font></div> <p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma;font-weight:bold'>From:</span></font></b><font = size=3D2 face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> = Charlie Poole [mailto:[email protected]] <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Wednesday, 10 = September 2008 2:43 PM<br> <b><span style=3D'font-weight:bold'>To:</span></b> Nicholas Bronson<br> <b><span style=3D'font-weight:bold'>Cc:</span></b> [email protected]<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> RE: = [Nunit-users] Exception in Pump Thread</span></font><o:p></o:p></p> </div> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p> </o:p></span></font></p> <div> <p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:blue'>ok, lets get back to basic. Can you = run the NUnit tests?</span></font><o:p></o:p></p> </div> <blockquote style=3D'border:none;border-left:solid blue = 1.5pt;padding:0cm 0cm 0cm 4.0pt; margin-left:3.75pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'= > <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p> </o:p></span></font></p> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font = size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'> <hr size=3D2 width=3D"100%" align=3Dcenter tabIndex=3D-1> </span></font></div> <p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><font size=3D2 = face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa= n></font></b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:Tahoma'> [email protected] [mailto:[email protected]] <b><span = style=3D'font-weight: bold'>On Behalf Of </span></b>Nicholas Bronson<br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, September = 09, 2008 9:37 PM<br> <b><span style=3D'font-weight:bold'>To:</span></b> Charlie Poole<br> <b><span style=3D'font-weight:bold'>Cc:</span></b> [email protected]<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> Re: = [Nunit-users] Exception in Pump Thread</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>No, running it through the gui I = can get it to give this message:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>FIND.Spike.Application.Framework.Con= trols.FormattedTextBox.FormattedTextBoxTest.PasteTest_NoFormatString:<o:p= ></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>An unhandled = System.ApplicationException was thrown while executing this test : Exception in pump = thread<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>at = NUnit.Core.EventPump.PumpThreadProc()<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>at System.Threading.ThreadHelper.ThreadStart_Context(Object = state)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>at = System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object = state)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>at System.Threading.ThreadHelper.ThreadStart()<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Though now its started crashing = outright with no message at all through the console (Nunit-console has = encountered an error and must close).<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>The inconsistency of it all is = maddening.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p> <div> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font = size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'> <hr size=3D2 width=3D"100%" align=3Dcenter tabIndex=3D-1> </span></font></div> <p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma;font-weight:bold'>From:</span></font></b><font = size=3D2 face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> = Charlie Poole [mailto:[email protected]] <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Wednesday, 10 = September 2008 2:24 PM<br> <b><span style=3D'font-weight:bold'>To:</span></b> Nicholas Bronson; [email protected]<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> RE: = [Nunit-users] Exception in Pump Thread</span></font><o:p></o:p></p> </div> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p> </o:p></span></font></p> <div> <p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:blue'>There's a line in your stack = trace:</span></font><o:p></o:p></p> </div> <div> <p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:blue'> </span></font><o:p></o:p></p> </div> <div> <p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:blue'> at NUnit.Core.EventListener.RunFinished(TestResult = result)</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'> <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:blue'>Is that always where the error = occurs?<o:p></o:p></span></font></p> </div> <div> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'> <o:p></o:p></span></font></p> </div> <div> <p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:blue'>Charlie</span></font><o:p></o:p></p>= </div> <blockquote style=3D'border:none;border-left:solid blue = 1.5pt;padding:0cm 0cm 0cm 4.0pt; margin-left:3.75pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'= > <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p> </o:p></span></font></p> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font = size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'> <hr size=3D2 width=3D"100%" align=3Dcenter tabIndex=3D-1> </span></font></div> <p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><font size=3D2 = face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa= n></font></b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:Tahoma'> [email protected] [mailto:[email protected]] <b><span = style=3D'font-weight: bold'>On Behalf Of </span></b>Nicholas Bronson<br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, September = 09, 2008 9:03 PM<br> <b><span style=3D'font-weight:bold'>To:</span></b> [email protected]<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> [Nunit-users] = Exception in Pump Thread</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Hey Everyone,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>I have come across problem using NUnit that is = driving me batty and I’m hoping someone here might be able to help = me.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>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.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>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… = <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>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). <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>One of the main ones I get is this: = <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Unhandled exceptions:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>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.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Server stack trace:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> at = System.Runtime.Serialization.ObjectManager.GetCompletionInfo(FixupHolder fixup, ObjectHolder& holder, Object& member, Boolean = bThrowIfMissing)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> at System.Runtime.Serialization.ObjectManager.CompleteObject(ObjectHolder = holder, Boolean bObjectFullyComplete)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> at = System.Runtime.Serialization.ObjectManager.DoFixups()<o:p></o:p></span></= font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(H= eaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean = isCrossAppDomain, IMethodCallMessage methodCallMessage)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> at = System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserializ= e(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage = methodCallMessage)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeObje= ct(MemoryStream stm)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeMess= ageParts(MemoryStream stm)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> at System.Runtime.Remoting.Messaging.SmuggledMethodCallMessage.FixupForNewAp= pDomain()<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> at = System.Runtime.Remoting.Channels.CrossAppDomainSink.DoDispatch(Byte[] reqStmBuff, SmuggledMethodCallMessage smuggledMcm, SmuggledMethodReturnMessage& = smuggledMrm)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> at System.Runtime.Remoting.Channels.CrossAppDomainSink.DoTransitionDispatchC= allback(Object[] args)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Exception rethrown at = [0]:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage = reqMsg, IMessage retMsg)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> at = NUnit.Core.EventListener.RunFinished(TestResult result)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> at NUnit.Core.RunFinishedEvent.Send(EventListener = listener)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> at = NUnit.Core.EventPump.PumpThreadProc()<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> --- End of inner exception stack trace = ---<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> at = NUnit.Core.EventPump.PumpThreadProc()<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> at = System.Threading.ThreadHelper.ThreadStart_Context(Object state)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>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.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>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. <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>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.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>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.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>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.<o:p></o:p></span></font></p> <p><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial'>Thanks for your time, all.<o:p></o:p></span></font></p> <p><b><font size=3D2 color=3D"#004e61" face=3DTahoma><span lang=3DEN-AU style=3D'font-size:10.0pt;font-family:Tahoma;color:#004E61;font-weight:bo= ld'>Nicholas Bronson (BComp, MCPD: <st1:place w:st=3D"on"><st1:City = w:st=3D"on">Enterprise</st1:City></st1:place> Apps)<br> Senior Software Programmer<br> </span></font></b><b><font size=3D5 color=3D"#004e61" = face=3DTahoma><span lang=3DEN-AU style=3D'font-size:18.0pt;font-family:Tahoma;color:#004E61;font-weight:bo= ld'>U</span></font></b><b><font size=3D5 color=3D"#ba9800" face=3DTahoma><span lang=3DEN-AU = style=3D'font-size:18.0pt; font-family:Tahoma;color:#BA9800;font-weight:bold'>X</span></font></b><b>= <font size=3D5 color=3D"#004e61" face=3DTahoma><span lang=3DEN-AU = style=3D'font-size:18.0pt; font-family:Tahoma;color:#004E61;font-weight:bold'>C<br> </span></font></b><b><font size=3D1 color=3D"#004e61" = face=3DTahoma><span lang=3DEN-AU style=3D'font-size:7.5pt;font-family:Tahoma;color:#004E61;font-weight:bol= d'>Applications Development</span></font></b><b><font size=3D2 color=3D"#7f7f7f" = face=3DTahoma><span lang=3DEN-AU = style=3D'font-size:10.0pt;font-family:Tahoma;color:#7F7F7F;font-weight: bold'><br> </span></font></b><a = href=3D"mailto:[email protected]"><font size=3D2 color=3D"#595959" face=3DTahoma><span lang=3DEN-AU = style=3D'font-size:10.0pt; font-family:Tahoma;color:#595959'>[email protected]</sp= an></font></a><br> <a href=3D"http://www.appsdev.uxc.com.au/"><font size=3D2 = color=3D"#595959" face=3DTahoma><span lang=3DEN-AU = style=3D'font-size:10.0pt;font-family:Tahoma; color:#595959'>http://www.appsdev.uxc.com.au/</span></font></a><br> <font size=3D2 color=3D"#595959" face=3DTahoma><span lang=3DEN-AU = style=3D'font-size: 10.0pt;font-family:Tahoma;color:#595959'>L2 <st1:address = w:st=3D"on"><st1:Street w:st=3D"on">25 Argyle St</st1:Street> <st1:City = w:st=3D"on">Hobart</st1:City></st1:address> TAS 7000<br> 4a <st1:Street w:st=3D"on"><st1:address w:st=3D"on">Whyalla = St</st1:address></st1:Street> Fyshwick ACT 2609 <br> L29 <st1:address w:st=3D"on"><st1:Street w:st=3D"on">580 George = St</st1:Street> <st1:City w:st=3D"on">Sydney</st1:City></st1:address> NSW 2000<br> L3 <st1:address w:st=3D"on"><st1:Street w:st=3D"on">350 Collins = St</st1:Street> <st1:City w:st=3D"on">Melbourne</st1:City></st1:address> VIC 3000<br> <br> </span></font><font size=3D1 color=3Dgray face=3DTahoma><span = lang=3DEN-AU style=3D'font-size:7.5pt;font-family:Tahoma;color:gray'>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.<br> 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.</span></font><font size=3D2 color=3D"#595959" = face=3DTahoma><span lang=3DEN-AU = style=3D'font-size:10.0pt;font-family:Tahoma;color:#595959'><o:p></o:p></= span></font></p> <p><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p> </o:p></span></font></p> </blockquote> </blockquote> </div> </body> </html> ------_=_NextPart_001_01C91301.6F818850-- --===============1848834667== 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=/ --===============1848834667== 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 --===============1848834667==--