NUnit Problems: Difference between revisions

From OpenPetra Wiki
Jump to navigation Jump to search
(Created page with 'File:Test-code.JPG File:Nunit-breakpoint.JPG -- TTrvTreeView.GotFocus TTrvTreeView.BeforeSelect TTrvTreeView.AfterSelect TTrvTreeView.BeforeSelect TTrvTreeView.AfterSelect TTr…')
 
No edit summary
Line 5: Line 5:
--
--


TTrvTreeView.GotFocus
TTrvTreeView.GotFocus
TTrvTreeView.BeforeSelect
TTrvTreeView.BeforeSelect
TTrvTreeView.AfterSelect
TTrvTreeView.AfterSelect
TTrvTreeView.BeforeSelect
TTrvTreeView.BeforeSelect
TTrvTreeView.AfterSelect
TTrvTreeView.AfterSelect
TTrvTreeView.LostFocus
TTrvTreeView.LostFocus
ChangeAccountCodeValue 1
ChangeAccountCodeValue 1
ChangeAccountCodeValue 2
ChangeAccountCodeValue 2
TUnhandledThreadExceptionHandler.OnThreadException  Unhandled Exception:  
  TUnhandledThreadExceptionHandler.OnThreadException  Unhandled Exception:  


System.NullReferenceException: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
   at Ict.Petra.Client.MFinance.Gui.Setup.TFrmGLAccountHierarchy.ChangeAccountCodeValue() i
   at Ict.Petra.Client.MFinance.Gui.Setup.TFrmGLAccountHierarchy.ChangeAccountCodeValue() i
TTrvTreeView.LostFocus
TTrvTreeView.LostFocus
TTrvTreeView.GotFocus
TTrvTreeView.GotFocus
08:06:09  Petra Client Caught an Unhandled Exception.
08:06:09  Petra Client Caught an Unhandled Exception.
Reported by TUnhandledThreadExceptionHandler.OnThreadException
Reported by TUnhandledThreadExceptionHandler.OnThreadException
System.NullReferenceException: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
   at Ict.Petra.Client.MFinance.Gui.Setup.TFrmGLAccountHierarchy.ChangeAccountCodeValue() in c:\Documents and Settings\wolfgangu\My Documents\openpetra\trunk2\csharp\ICT\Petra\Client\lib\MFinance\gui\setup\GLAccountHierarchy.ManualCode.cs:line 419
   at Ict.Petra.Client.MFinance.Gui.Setup.TFrmGLAccountHierarchy.ChangeAccountCodeValue() in  
   at Ict.Petra.Client.MFinance.Gui.Setup.TFrmGLAccountHierarchy.ChangeAccountCodeValue(Object sender, EventArgs e) in c:\Documents and Settings\wolfgangu\My Documents\openpetra\trunk2\csharp\ICT\Petra\Client\lib\MFinance\gui\setup\GLAccountHierarchy.ManualCode.cs:line 391
      c:\Documents and Settings\wolfgangu\My Documents\openpetra\trunk2\csharp\ICT\Petra\Client\lib\MFinance\
      gui\setup\GLAccountHierarchy.ManualCode.cs:line 419
   at Ict.Petra.Client.MFinance.Gui.Setup.TFrmGLAccountHierarchy.ChangeAccountCodeValue(Object sender, EventArgs e)  
      in c:\Documents and Settings\wolfgangu\My Documents\openpetra\trunk2\csharp\ICT\Petra\Client\lib\MFinance\
      gui\setup\GLAccountHierarchy.ManualCode.cs:line 391
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnLeave(EventArgs e)
   at System.Windows.Forms.Control.OnLeave(EventArgs e)
   at System.Windows.Forms.Control.NotifyLeave()
   at System.Windows.Forms.Control.NotifyLeave()
   at System.Windows.Forms.ContainerControl.UpdateFocusedControl()
   at System.Windows.Forms.ContainerControl.UpdateFocusedControl()
08:06:09      at Void LogStackTrace(Ict.Common.TLoggingType) (c:\Documents and Settings\wolfgangu\My Documents\openpetra\trunk2\csharp\ICT\Common\Logging.cs: 291)
08:06:09      at Void LogStackTrace(Ict.Common.TLoggingType) (c:\Documents and Settings\wolfgangu\My Documents\
     at Void LogException(System.Exception, System.String) (c:\Documents and Settings\wolfgangu\My Documents\openpetra\trunk2\csharp\ICT\Petra\Client\app\Core\ExceptionHandling.cs: 72)
      openpetra\trunk2\csharp\ICT\Common\Logging.cs: 291)
     at Void OnThreadException(System.Object, System.Threading.ThreadExceptionEventArgs) (c:\Documents and Settings\wolfgangu\My Documents\openpetra\trunk2\csharp\ICT\Petra\Client\app\Core\ExceptionHandling.cs: 120)
     at Void LogException(System.Exception, System.String) (c:\Documents and Settings\wolfgangu\My Documents\
      openpetra\trunk2\csharp\ICT\Petra\Client\app\Core\ExceptionHandling.cs: 72)
     at Void OnThreadException(System.Object, System.Threading.ThreadExceptionEventArgs)  
      (c:\Documents and Settings\wolfgangu\My Documents\openpetra\trunk2\csharp\ICT\Petra\Client\
      app\Core\ExceptionHandling.cs: 120)
     at Void OnThreadException(System.Exception)
     at Void OnThreadException(System.Exception)
     at Void OnThreadException(System.Exception)
     at Void OnThreadException(System.Exception)
Line 38: Line 46:
     at Boolean ActivateControlInternal(System.Windows.Forms.Control)
     at Boolean ActivateControlInternal(System.Windows.Forms.Control)
     at Void WmSetFocus(System.Windows.Forms.Message ByRef)
     at Void WmSetFocus(System.Windows.Forms.Message ByRef)
in Appdomain test-domain-Tests.MFinance.GLBatches.dll
in Appdomain test-domain-Tests.MFinance.GLBatches.dll


TTrvTreeView.GotFocus
TTrvTreeView.GotFocus
TTrvTreeView.BeforeSelect
TTrvTreeView.BeforeSelect
TTrvTreeView.AfterSelect
TTrvTreeView.AfterSelect
TTrvTreeView.LostFocus
TTrvTreeView.LostFocus

Revision as of 07:14, 14 January 2011

File:Test-code.JPG

File:Nunit-breakpoint.JPG

--

TTrvTreeView.GotFocus
TTrvTreeView.BeforeSelect
TTrvTreeView.AfterSelect
TTrvTreeView.BeforeSelect
TTrvTreeView.AfterSelect
TTrvTreeView.LostFocus
ChangeAccountCodeValue 1
ChangeAccountCodeValue 2
  TUnhandledThreadExceptionHandler.OnThreadException  Unhandled Exception: 
System.NullReferenceException: Object reference not set to an instance of an object.
  at Ict.Petra.Client.MFinance.Gui.Setup.TFrmGLAccountHierarchy.ChangeAccountCodeValue() i
TTrvTreeView.LostFocus
TTrvTreeView.GotFocus
08:06:09  Petra Client Caught an Unhandled Exception.
Reported by TUnhandledThreadExceptionHandler.OnThreadException
System.NullReferenceException: Object reference not set to an instance of an object.
  at Ict.Petra.Client.MFinance.Gui.Setup.TFrmGLAccountHierarchy.ChangeAccountCodeValue() in 
     c:\Documents and Settings\wolfgangu\My Documents\openpetra\trunk2\csharp\ICT\Petra\Client\lib\MFinance\
     gui\setup\GLAccountHierarchy.ManualCode.cs:line 419
  at Ict.Petra.Client.MFinance.Gui.Setup.TFrmGLAccountHierarchy.ChangeAccountCodeValue(Object sender, EventArgs e) 
     in c:\Documents and Settings\wolfgangu\My Documents\openpetra\trunk2\csharp\ICT\Petra\Client\lib\MFinance\
     gui\setup\GLAccountHierarchy.ManualCode.cs:line 391
  at System.EventHandler.Invoke(Object sender, EventArgs e)
  at System.Windows.Forms.Control.OnLeave(EventArgs e)
  at System.Windows.Forms.Control.NotifyLeave()
  at System.Windows.Forms.ContainerControl.UpdateFocusedControl()
08:06:09      at Void LogStackTrace(Ict.Common.TLoggingType) (c:\Documents and Settings\wolfgangu\My Documents\
     openpetra\trunk2\csharp\ICT\Common\Logging.cs: 291)
   at Void LogException(System.Exception, System.String) (c:\Documents and Settings\wolfgangu\My Documents\
      openpetra\trunk2\csharp\ICT\Petra\Client\app\Core\ExceptionHandling.cs: 72)
   at Void OnThreadException(System.Object, System.Threading.ThreadExceptionEventArgs) 
      (c:\Documents and Settings\wolfgangu\My Documents\openpetra\trunk2\csharp\ICT\Petra\Client\
      app\Core\ExceptionHandling.cs: 120)
   at Void OnThreadException(System.Exception)
   at Void OnThreadException(System.Exception)
   at Void UpdateFocusedControl()
   at Boolean AssignActiveControlInternal(System.Windows.Forms.Control)
   at Boolean ActivateControlInternal(System.Windows.Forms.Control, Boolean)
   at Boolean ActivateControlInternal(System.Windows.Forms.Control)
   at Void WmSetFocus(System.Windows.Forms.Message ByRef)
in Appdomain test-domain-Tests.MFinance.GLBatches.dll
TTrvTreeView.GotFocus
TTrvTreeView.BeforeSelect
TTrvTreeView.AfterSelect
TTrvTreeView.LostFocus