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

Import of a few Linux SSH2 hosts discovered via the port scan tool results in a UE (GDI)

Description

Ran port scan from top of connections tree.
Ran scan of a 254 host address range, but stopped scan using button - (5 were enough as I was just trying this out for the first time ad-hopc to see how well it wqorked (IM VERY EXCITED ABOUT THIS FEATIURE!!!)
So, using selection box OR did I click one and use CTRL+SHIFT to select rest?hmmmm forgot!! So, to just select the first 5 hosts and test the import button...

Whammo!

---------------------------------------------------------------------------------------------
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.App.Runtime.ImportConnectionsFromPortScan(ArrayList Hosts, Protocols Protocol) in C:\Users\Riley\Documents\Visual Studio 2010\Projects\mRemoteNG\mRemoteV1\App\App.Runtime.vb:line 1277
                              at mRemoteNG.UI.Window.PortScan.btnImport_Click(Object sender, EventArgs e) in C:\Users\Riley\Documents\Visual Studio 2010\Projects\mRemoteNG\mRemoteV1\UI\UI.Window.PortScan.vb:line 428
                              at System.Windows.Forms.Control.OnClick(EventArgs e)
                              at System.Windows.Forms.Button.OnClick(EventArgs e)
                              at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
                              at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
                              at System.Windows.Forms.Control.WndProc(Message& m)
                              at System.Windows.Forms.ButtonBase.WndProc(Message& m)
                              at System.Windows.Forms.Button.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.5466 (Win7SP1GDR.050727-5400)
                              CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
                              ----------------------------------------
                              mRemoteNG
                              Assembly Version: 1.70.4814.21440
                              Win32 Version: 1.70.4814.21440
                              CodeBase: file:///C:/Program%20Files%20(x86)/mRemoteNG/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.5467 (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.5468 (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.5467 (Win7SP1GDR.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:///C:/Program%20Files%20(x86)/mRemoteNG/WeifenLuo.WinFormsUI.Docking.DLL
                              ----------------------------------------
                              mRemoteNG.resources
                              Assembly Version: 1.70.4814.21440
                              Win32 Version: 1.70.4814.21440
                              CodeBase: file:///C:/Program%20Files%20(x86)/mRemoteNG/en-US/mRemoteNG.resources.DLL
                              ----------------------------------------
                              MagicLibrary
                              Assembly Version: 1.7.4.0
                              Win32 Version: 1.7.4.0
                              CodeBase: file:///C:/Program%20Files%20(x86)/mRemoteNG/MagicLibrary.DLL
                              ----------------------------------------
                              PSTaskDialog
                              Assembly Version: 1.0.0.0
                              Win32 Version: 1.0.0.0
                              CodeBase: file:///C:/Program%20Files%20(x86)/mRemoteNG/PSTaskDialog.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:///C:/Program%20Files%20(x86)/mRemoteNG/log4net.DLL
                              ----------------------------------------
                              FilteredPropertyGrid
                              Assembly Version: 1.0.2258.31541
                              Win32 Version: 1.0.0.0
                              CodeBase: file:///C:/Program%20Files%20(x86)/mRemoteNG/FilteredPropertyGrid.DLL
                              ----------------------------------------
                              System.Web
                              Assembly Version: 2.0.0.0
                              Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
                              CodeBase: file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
                              ----------------------------------------
                              MiniGeckoBrowser
                              Assembly Version: 1.0.3142.33318
                              Win32 Version: 1.0
                              CodeBase: file:///C:/Program%20Files%20(x86)/mRemoteNG/MiniGeckoBrowser.DLL
                              ----------------------------------------
                              Interop.SHDocVw
                              Assembly Version: 1.1.0.0
                              Win32 Version: 1.1.0.0
                              CodeBase: file:///C:/Program%20Files%20(x86)/mRemoteNG/Interop.SHDocVw.DLL
                              ----------------------------------------
                              Microsoft.mshtml
                              Assembly Version: 7.0.3300.0
                              Win32 Version: 7.0.3300.0
                              CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
                              ----------------------------------------
                              IPTextBox
                              Assembly Version: 1.1.0.0
                              Win32 Version: 1.1
                              CodeBase: file:///C:/Program%20Files%20(x86)/mRemoteNG/IPTextBox.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

First, some kudos (thats part of my enviornment I am grateful for!):
Grateful that you have taken this project on full blast again! Been using your fork since 2010 or near then, and had only 2 issues
(GDI error-->just press continue, caused no issues - probably because I RDP into my mremote area)
Got bit by the magic deletion of connections conf data (all files were 0byte .. lucky I had a backup.)

No kidding, I use about 200 open sessions concurrently on average of RDP and Putty sessions in a big nested list of multi connection tabs and folders based on 3 datacenters in US, and India and Moscow.... thats not probably typical usage, and damn the latency of 2000ms isnt at all noticable and I never timeout any session... unless the networks are really donw or a host dies... very good! Ive tested the sh!t outta this app so I think I should start helping you if possible with some logs and bug reports as I see your really kicking some ass here wity improvments! This app's gains in productivity make me chuckle at my coworkers who have xterms all of the place in their crufty linux envs... watching them fumble about looking for the right window for s ssh session when I go help them is a treat!

Anyways, I had to blab to you and say hi! THANKS FOR ALL THE FISH!

Now... on to my env:

Win7x64 ULT SP1 (Windows Loader Activation) up to date, with a LOT of dev tools (android sdk, ruby,python,VB and .NET, and MS libs installed.

Ummmm version 1.70.4814.21440 is not in Jira but thats what my updater says itr is,,, also, couldnt use default check for update tab's button to recheck (if never checked) does nothing... had to check for updates vis options area, then that info populated. (I'll file another jira if you need me to)

One existing bug I havent fixed with office2007+XML file extension and .txt "open file" handler BROKEN by notepad++ bug.(when using .txt or .xml notepad++ &&$(&*&)^&*s up stupid multifaceted layered XML openerapp, the other .txt issue is unresolved but breaks a few things.
I hope this isnt the cause but I figured being verbose about the bugs I have,,, may hopefully not, but if needed helps.

http://sourceforge.net/p/notepad-plus/discussion/331753/thread/6ba66b02/

Status

Assignee

Riley McArdle

Reporter

CaptainC

Labels

None

Fix versions

Priority

Major