Re: Exceptions when upgrading to 2.4.7
"Simone Busoli" <[email protected]> Mon, 11 Aug 2008 10:43:10 +0200
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <[email protected]> |
Ok I spoke too early. Apparently it was the build dir which was dirty and somehow contained something that made that exception bubble up. Cleaning the build dir fixed it. On Mon, Aug 11, 2008 at 10:40 AM, Simone Busoli <[email protected]>wrote: > Hello, while trying to upgrade the trunk version of NBehave to nunit 2.4.7 > (current version is 2.4.3) I got this exception during the build, in the > unit tests target: > > System.InvalidCastException... > at System.Convert.ChangeType(Object value, Type conversionType, > IFormatProvider provider) > at System.Runtime.Remoting.Messaging.Message.CoerceArg(Object value, > Type pt) > > System.Runtime.Remoting.RemotingException... > > Server stack trace: > at System.Runtime.Remoting.Messaging.Message.CoerceArg(Object value, > Type pt) > at System.Runtime.Remoting.Messaging.Message.CoerceArgs(MethodBase mb, > Object[] args, ParameterInfo[] pi) > at > System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage > msg, Int32 methodPtr, Boolean fExecuteInContext) > > 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.TestRunner.Load(TestPackage package) > at NUnit.Util.TestDomain.Load(TestPackage package) > at NUnit.Util.TestLoader.LoadTest(String testName) > > What I've done is: > > check out the trunk version of nbehave > replace the entire nunit distribution contents in tools\nunit > replace the nunit.framework.dll file in lib > run nant > > Any ideas? > ------------------------------------------------------------------------- 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=/ _______________________________________________ Nunit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nunit-users