Opened 2 weeks ago

Last modified 2 weeks ago

#3094 reviewing defect

Exception in CrossValidationView

Reported by: gkronber Owned by: mkommend
Priority: medium Milestone: HeuristicLab 3.3.17
Component: Problems.DataAnalysis.Views Version: trunk
Keywords: Cc:

Description

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at HeuristicLab.Algorithms.DataAnalysis.Views.CrossValidationView.shuffleSamplesCheckBox_CheckedChanged(Object sender, EventArgs e) in C:\reps\hl-core\trunk\HeuristicLab.Algorithms.DataAnalysis.Views\3.4\CrossValidationView.cs:line 204
   at System.Windows.Forms.CheckBox.OnCheckedChanged(EventArgs e)
   at System.Windows.Forms.CheckBox.set_CheckState(CheckState value)
   at System.Windows.Forms.CheckBox.set_Checked(Boolean value)
   at HeuristicLab.Algorithms.DataAnalysis.Views.CrossValidationView.OnContentChanged() in C:\reps\hl-core\trunk\HeuristicLab.Algorithms.DataAnalysis.Views\3.4\CrossValidationView.cs:line 63
   at HeuristicLab.MainForm.WindowsForms.ContentView.set_Content(IContent value) in C:\reps\hl-core\trunk\HeuristicLab.MainForm.WindowsForms\3.3\Views\ContentView.cs:line 51
   at HeuristicLab.MainForm.WindowsForms.ViewHost.set_ActiveView(IContentView value) in C:\reps\hl-core\trunk\HeuristicLab.MainForm.WindowsForms\3.3\Controls\ViewHost.cs:line 79
   at HeuristicLab.MainForm.WindowsForms.ViewHost.OnViewTypeChanged() in C:\reps\hl-core\trunk\HeuristicLab.MainForm.WindowsForms\3.3\Controls\ViewHost.cs:line 181
   at HeuristicLab.MainForm.WindowsForms.ViewHost.set_ViewType(Type value) in C:\reps\hl-core\trunk\HeuristicLab.MainForm.WindowsForms\3.3\Controls\ViewHost.cs:line 127
   at HeuristicLab.MainForm.WindowsForms.ViewHost.OnContentChanged() in C:\reps\hl-core\trunk\HeuristicLab.MainForm.WindowsForms\3.3\Controls\ViewHost.cs:line 145
   at HeuristicLab.MainForm.WindowsForms.ContentView.set_Content(IContent value) in C:\reps\hl-core\trunk\HeuristicLab.MainForm.WindowsForms\3.3\Views\ContentView.cs:line 51
   at HeuristicLab.Optimization.Views.ExperimentTreeView.treeview_NodeMouseClick(Object sender, TreeNodeMouseClickEventArgs e) in C:\reps\hl-core\trunk\HeuristicLab.Optimization.Views\3.3\ExperimentTreeView.cs:line 601
   at System.Windows.Forms.TreeView.OnNodeMouseClick(TreeNodeMouseClickEventArgs e)
   at System.Windows.Forms.TreeView.WmNotify(Message& m)
   at System.Windows.Forms.TreeView.WndProc(Message& m)
   at HeuristicLab.Optimization.Views.ExperimentTreeView.CustomTreeView.WndProc(Message& m) in C:\reps\hl-core\trunk\HeuristicLab.Optimization.Views\3.3\ExperimentTreeView.cs:line 914
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Change History (3)

comment:1 Changed 2 weeks ago by gkronber

  • Owner set to gkronber
  • Status changed from new to accepted

comment:2 Changed 2 weeks ago by gkronber

r17816: added Content == null check in event handler.

comment:3 Changed 2 weeks ago by gkronber

  • Owner changed from gkronber to mkommend
  • Status changed from accepted to reviewing
  • Version set to trunk
Note: See TracTickets for help on using tickets.