← Back to team overview

nunit-core team mailing list archive

[Bug 816863] Re: System.NullReferenceException 2.6.0.11089

 

We suspect this may be caused by running a test that was built against
an older (than 2.6 ) version of NUnit. Can you tell us whether that's
the case for you?

-- 
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/816863

Title:
  System.NullReferenceException  2.6.0.11089

Status in NUnit V2 Test Framework:
  New

Bug description:
  tested today, got this when loaded a .sln solution...  maybe this is
  allready fixed, but still want to report it...

  System.NullReferenceException...

  Server stack trace: 
     bij NUnit.Core.ActionsHelper.GetActionsFromAttributes(ICustomAttributeProvider attributeProvider)
     bij NUnit.Core.TestAssembly..ctor(Assembly assembly, String path)
     bij NUnit.Core.Builders.TestAssemblyBuilder.BuildTestAssembly(Assembly assembly, String assemblyName, IList fixtures, Boolean autoSuites)
     bij NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName, Boolean autoSuites)
     bij NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName, String testName, Boolean autoSuites)
     bij NUnit.Core.TestSuiteBuilder.Build(TestPackage package)
     bij NUnit.Core.SimpleTestRunner.Load(TestPackage package)
     bij NUnit.Core.ProxyTestRunner.Load(TestPackage package)
     bij NUnit.Core.ProxyTestRunner.Load(TestPackage package)
     bij NUnit.Core.RemoteTestRunner.Load(TestPackage package)
     bij System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
     bij System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
     bij System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

  Exception rethrown at [0]: 
     bij System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
     bij System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
     bij NUnit.Core.TestRunner.Load(TestPackage package)
     bij NUnit.Util.TestDomain.Load(TestPackage package)
     bij NUnit.Util.TestLoader.LoadTest(String testName)

  
   thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/nunitv2/+bug/816863/+subscriptions


References