I have some tests that test a web service. When I run the tests using the NUnit GUI 
the tests work fine but under Nant I get:

               [nunit2] NUnit error :System.NullReferenceException: Object reference 
not set to an instance of an object.
               [nunit2] 
               [nunit2] Server stack trace: 
               [nunit2]    at NUnit.Core.RemoteTestRunner.FindByName(Test test, String 
fullName)
               [nunit2]    at NUnit.Core.RemoteTestRunner.Run(EventListener listener, 
TextWriter outText, TextWriter errorText)
               [nunit2]    at 
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase 
mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, 
Object[]& outArgs)
               [nunit2]    at 
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, 
Int32 methodPtr, Boolean fExecuteInContext)
               [nunit2] 
               [nunit2] Exception rethrown at [0]: 
               [nunit2]    at 
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, 
IMessage retMsg)
               [nunit2]    at 
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 
type)
               [nunit2]    at NUnit.Core.RemoteTestRunner.Run(EventListener listener, 
TextWriter outText, TextWriter errorText)
               [nunit2]    at NAnt.NUnit2.Tasks.NUnit2TestDomain.RunTest(String 
testcase, FileInfo assemblyFile, FileInfo configFile, EventListener listener) in 
C:\Documents and Settings\drieseng\Local 
Settings\Temp\tmp29C4.tmp\src\NAnt.NUnit\NUnit2\NUnit2TestDomain.cs:line 112
               [nunit2]    at 
NAnt.NUnit2.Tasks.NUnit2Task.RunSingleRemoteTest(NUnit2Test test, FileInfo 
testAssembly, EventListener listener) in C:\Documents and Settings\drieseng\Local 
Settings\Temp\tmp29C4.tmp\src\NAnt.NUnit\NUnit2\NUnit2Task.cs:line 302

Any ideas what is wrong?

Kevin Burton
[EMAIL PROTECTED]



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to