We're updating the issue view to help you get more done. 

Collapse all folders causes a NullReferenceException

Description

(Reported via e-mail to support@mremoteng.org)

Collapse all folders causes the below error to occur. Collapse all folders is an option shown when clicking the view button (three green rectangles) in the toolbar of the Connections pane.

=====

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

  •  

    •  

      •  

        •  

          •  

            •  

              •  

                •  

                  •  

                    •  

                      •  

                        •  

                          •  

                            • Exception Text **************
                              System.NullReferenceException: Object reference not set to an instance of an object.
                              at mRemoteNG.UI.Window.Tree.mMenViewCollapseAllFolders_Click(Object sender, EventArgs e) in C:\Users\Riley\Documents\Visual Studio 2010\Projects\mRemoteNG\mRemoteV1\UI\UI.Window.Tree.vb:line 1239
                              at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
                              at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
                              at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
                              at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
                              at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
                              at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
                              at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
                              at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
                              at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
                              at System.Windows.Forms.Control.WndProc(Message& m)
                              at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
                              at System.Windows.Forms.ToolStrip.WndProc(Message& m)
                              at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
                              at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
                              at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
                              at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

  •  

    •  

      •  

        •  

          •  

            •  

              •  

                •  

                  •  

                    •  

                      •  

                        •  

                          •  

                            • Loaded Assemblies **************
                              mscorlib
                              Assembly Version: 2.0.0.0
                              Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
                              CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
                              ----------------------------------------
                              mRemoteNG
                              Assembly Version: 1.69.4360.2920
                              Win32 Version: 1.69.4360.2920
                              CodeBase: file:///D:/Programs/mRemoteNG/mRemoteNG-Portable-1.69/mRemoteNG.exe
                              ----------------------------------------
                              Microsoft.VisualBasic
                              Assembly Version: 8.0.0.0
                              Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)
                              CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
                              ----------------------------------------
                              System
                              Assembly Version: 2.0.0.0
                              Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)
                              CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                              ----------------------------------------
                              System.Windows.Forms
                              Assembly Version: 2.0.0.0
                              Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
                              CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
                              ----------------------------------------
                              System.Drawing
                              Assembly Version: 2.0.0.0
                              Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
                              CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
                              ----------------------------------------
                              System.Runtime.Remoting
                              Assembly Version: 2.0.0.0
                              Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
                              CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
                              ----------------------------------------
                              System.Configuration
                              Assembly Version: 2.0.0.0
                              Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
                              CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
                              ----------------------------------------
                              System.Xml
                              Assembly Version: 2.0.0.0
                              Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
                              CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
                              ----------------------------------------
                              WeifenLuo.WinFormsUI.Docking
                              Assembly Version: 2.5.0.15095
                              Win32 Version: 2.5.0.0
                              CodeBase: file:///D:/Programs/mRemoteNG/mRemoteNG-Portable-1.69/WeifenLuo.WinFormsUI.Docking.DLL
                              ----------------------------------------
                              mRemoteNG.resources
                              Assembly Version: 1.69.4360.2920
                              Win32 Version: 1.69.4360.2920
                              CodeBase: file:///D:/Programs/mRemoteNG/mRemoteNG-Portable-1.69/en-US/mRemoteNG.resources.DLL
                              ----------------------------------------
                              MagicLibrary
                              Assembly Version: 1.7.4.0
                              Win32 Version: 1.7.4.0
                              CodeBase: file:///D:/Programs/mRemoteNG/mRemoteNG-Portable-1.69/MagicLibrary.DLL
                              ----------------------------------------
                              System.Management
                              Assembly Version: 2.0.0.0
                              Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
                              CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
                              ----------------------------------------
                              log4net
                              Assembly Version: 1.2.10.0
                              Win32 Version: 1.2.10.0
                              CodeBase: file:///D:/Programs/mRemoteNG/mRemoteNG-Portable-1.69/log4net.DLL
                              ----------------------------------------
                              FilteredPropertyGrid
                              Assembly Version: 1.0.2258.31541
                              Win32 Version: 1.0.0.0
                              CodeBase: file:///D:/Programs/mRemoteNG/mRemoteNG-Portable-1.69/FilteredPropertyGrid.DLL
                              ----------------------------------------
                              System.Web
                              Assembly Version: 2.0.0.0
                              Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
                              CodeBase: file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
                              ----------------------------------------
                              Interop.EOLWTSCOM
                              Assembly Version: 1.0.0.0
                              Win32 Version: 1.0.0.0
                              CodeBase: file:///D:/Programs/mRemoteNG/mRemoteNG-Portable-1.69/Interop.EOLWTSCOM.DLL
                              ----------------------------------------
                              AxInterop.WFICALib
                              Assembly Version: 2.8.0.0
                              Win32 Version: 2.8.0.0
                              CodeBase: file:///D:/Programs/mRemoteNG/mRemoteNG-Portable-1.69/AxInterop.WFICALib.DLL
                              ----------------------------------------
                              AxInterop.MSTSCLib
                              Assembly Version: 1.0.0.0
                              Win32 Version: 1.0.0.0
                              CodeBase: file:///D:/Programs/mRemoteNG/mRemoteNG-Portable-1.69/AxInterop.MSTSCLib.DLL
                              ----------------------------------------
                              VncSharpNG
                              Assembly Version: 1.1.3.0
                              Win32 Version: 1.1.3
                              CodeBase: file:///D:/Programs/mRemoteNG/mRemoteNG-Portable-1.69/VncSharpNG.DLL
                              ----------------------------------------
                              Interop.MSTSCLib
                              Assembly Version: 1.0.0.0
                              Win32 Version: 1.0.0.0
                              CodeBase: file:///D:/Programs/mRemoteNG/mRemoteNG-Portable-1.69/Interop.MSTSCLib.DLL
                              ----------------------------------------

  •  

    •  

      •  

        •  

          •  

            •  

              •  

                •  

                  •  

                    •  

                      •  

                        •  

                          •  

                            • JIT Debugging **************
                              To enable just-in-time (JIT) debugging, the .config file for this
                              application or computer (machine.config) must have the
                              jitDebugging value set in the system.windows.forms section.
                              The application must also be compiled with debugging
                              enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Environment

None

Status

Assignee

Riley McArdle

Reporter

Riley McArdle

Labels

None

Fix versions

Affects versions

1.69

Priority

Minor