← Back to team overview

nunit-core team mailing list archive

[Bug 1053727] Re: Project Editor Unhandled Exception when settings ApplicationBase

 

** Branch linked: lp:nunitv2

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

Title:
  Project Editor Unhandled Exception when settings ApplicationBase

Status in NUnit V2 Test Framework:
  Fix Committed

Bug description:
  Hello,

  NUnit-version: 2.6.1.12217 - Gui runner
  .net 4.0
  Windows 7 - 64 bit

  Steps to reproduce:
  1) open Gui runner
  2) Ctrl+N - new project
  3) Project -> Add VS project
  4) Project -> Edit
  5) type in ApplicationBase-textbox "bin\Debug" (or any other path) and change the focus

  Then the unhandled exception occurs (it's in German language, but the
  stack-trace should be obvious)

  System.ArgumentNullException: Der Wert darf nicht NULL sein.
  Parametername: path1
     bei System.IO.Path.Combine(String path1, String path2)
     bei NUnit.ProjectEditor.PropertyPresenter.OnApplicationBaseChange()
     bei System.Windows.Forms.Control.OnValidated(EventArgs e)
     bei System.Windows.Forms.Control.PerformControlValidation(Boolean bulkValidation)

  
  ************** Geladene Assemblys **************
  mscorlib
      Assembly-Version: 2.0.0.0.
      Win32-Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400).
      CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll.
  ----------------------------------------
  mscorlib.resources
      Assembly-Version: 2.0.0.0.
      Win32-Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400).
      CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll.
  ----------------------------------------
  nunit-editor
      Assembly-Version: 0.9.0.0.
      Win32-Version: 0.9.0.0.
      CodeBase: file:///C:/Program%20Files%20(x86)/NUnit%202.6.1/bin/nunit-editor.exe.
  ......


  Setting the ApplicationBase via the XML-section works fine, although
  it would be nice to gui working too :-)

  Thanks in advance and huge thanks for the great NUnit.

  Cheers,
  Günther

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


References