cygnusxi / hfm-net

Automatically exported from code.google.com/p/hfm-net
2 stars 0 forks source link

Exception when opening preferences or Web Visual Styles #218

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using linux and mono version 2.6.4
2. Go to Edit -> Preferences an exception pops up
3. If you hit continue the preferences proceed to be displayed however if you 
click on the Web Visual Styles tab an exception appears again.
4. If you click continue then the tab is displayed but nothing is click-able 
and one has to click a different tab to get the preferences to start responding 
again.

What is the expected output? What do you see instead?
I expect to see the preferences, an exception is caught instead. Also when 
clicking the Web Visual Styles tab, the web visual options are expected to be 
displayed.

What version of the product are you using? On what operating system?
HFM.NET v0.5.1.196 (r196)
Funtoo ~amd64

s.shelnutt@funtoo-64 ~ $ mono --version
Mono JIT compiler version 2.6.4 (tarball Thu May 27 22:04:04 UTC 2010)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
    TLS:           __thread
    GC:            Included Boehm (with typed GC and Parallel Mark)
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  amd64
    Disabled:      none

Please provide any additional information below.
Here is the exception output from opening the Preferences:

HFM.NET v0.5.1

Exception Thrown:
System.NullReferenceException: Object reference not set to an instance of an 
object
  at HFM.Forms.frmPreferences.tabControl1_SelectedIndexChanged (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.TabControl.OnSelectedIndexChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.TabControl.set_SelectedIndex (Int32 value) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.TabControl.SelectTab (Int32 index) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.TabControl:SelectTab (int)
  at HFM.Forms.frmPreferences.frmPreferences_Load (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) [0x00000] in <filename unknown>:0 

From clicking the tab Web Visual Styles:

HFM.NET v0.5.1

Exception Thrown:
System.NullReferenceException: Object reference not set to an instance of an 
object
  at HFM.Forms.frmPreferences.tabControl1_SelectedIndexChanged (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.TabControl.OnSelectedIndexChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.TabControl.set_SelectedIndex (Int32 value) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.TabControl.MouseDownHandler (System.Object sender, System.Windows.Forms.MouseEventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.OnMouseDown (System.Windows.Forms.MouseEventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.WmLButtonDown (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.TabControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0 

Original issue reported on code.google.com by Shelnu...@gmail.com on 21 Jun 2010 at 10:22

GoogleCodeExporter commented 8 years ago
Marked Fixed for Revision 197.

Original comment by harlam357 on 28 Jun 2010 at 12:58

GoogleCodeExporter commented 8 years ago

Original comment by harlam357 on 23 Mar 2012 at 4:32