johnj / putty-tunnel-manager

Automatically exported from code.google.com/p/putty-tunnel-manager
0 stars 0 forks source link

Microsoft .NET Framework exception #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I heavely use ptman.exe, and I can say I depend on it.
I don't know why, When I do the right click to load the sessions I'm getting an 
error (that have started today) and I'm not aware of any change in my PC.
I beg your help to get this fixed.

Regards.

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

************** Exception Text **************
System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at JoeriBekker.PuttyTunnelManager.Tunnel.Load(Session session, String data)
   at JoeriBekker.PuttyTunnelManager.Session.Load(String keyName)
   at JoeriBekker.PuttyTunnelManager.Core.Initialize()
   at JoeriBekker.PuttyTunnelManager.Core..ctor()
   at JoeriBekker.PuttyTunnelManager.Core.Instance()
   at JoeriBekker.PuttyTunnelManager.Forms.TrayIcon.UpdateSessions()
   at JoeriBekker.PuttyTunnelManager.Forms.TrayIcon.Menu_Opening(Object sender, CancelEventArgs e)
   at System.Windows.Forms.ToolStripDropDown.OnOpening(CancelEventArgs e)
   at System.Windows.Forms.ToolStripDropDown.SetVisibleCore(Boolean visible)
   at System.Windows.Forms.ContextMenuStrip.SetVisibleCore(Boolean visible)
   at System.Windows.Forms.ToolStripDropDown.Show(Int32 x, Int32 y)
   at System.Windows.Forms.ContextMenuStrip.ShowInTaskbar(Int32 x, Int32 y)
   at System.Windows.Forms.NotifyIcon.ShowContextMenu()
   at System.Windows.Forms.NotifyIcon.WndProc(Message& msg)
   at System.Windows.Forms.NotifyIcon.NotifyIconNativeWindow.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.3625 (GDR.050727-3600)
    CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ptman
    Assembly Version: 0.9.1.0
    Win32 Version: 0.9.1
    CodeBase: file:///C:/Install/Putty/ptman.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3631 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3636 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.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.

Original issue reported on code.google.com by agustin....@gmail.com on 27 Apr 2012 at 1:47

GoogleCodeExporter commented 9 years ago
see Issue 9

Original comment by Raphael....@gmail.com on 1 May 2012 at 6:22

GoogleCodeExporter commented 9 years ago
Thanks a lot for your quick answer.
However I have no idea how/when/why Jitt debugger was enabled nor how to 
disable it.
I'm not a programmer, just an Unix SA who need that tool a lot.
Can you provide a clue to disable it?

Bests Regards.

Original comment by agustin....@gmail.com on 1 May 2012 at 11:43

GoogleCodeExporter commented 9 years ago
Hi,

I am running windows 7 and also got the same problem as Augustin.
I went to Issue 9 as suggested by Raphael but I don't know what to do with the 
.cs file.

Is there any way to fix this issue?

Thanks and best regards,
Adi

Original comment by adiyes...@gmail.com on 5 Dec 2012 at 9:52

GoogleCodeExporter commented 9 years ago
It crashes because of an invalid number for a "Source port" under Tunnels. I 
ran into this issue because I forced the binding address 
(local.ip.add.ress:PORT) instead of just using PORT. putty/plink can understand 
this.

Original comment by ltgu...@gmail.com on 25 Apr 2014 at 6:01