NUnit Problems: Difference between revisions
Jump to navigation
Jump to search
Wolfganguhr (talk | contribs) No edit summary |
Wolfganguhr (talk | contribs) No edit summary |
||
Line 14: | Line 14: | ||
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 | ||
Line 47: | Line 47: | ||
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 Ocak 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