lmatula / putty-tunnel-manager

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

Crashes on right click because of a format exception #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. setup a putty configuration with the following port forwarding config: 
4R4423=localhost:8080
2. Start ptman
3. Right click the tray icon

What is the expected output? What do you see instead?
The putty configuration should be loaded and presented.

What version of the product are you using? On what operating system?
0.9.1 win 7 x64

Please provide any additional information below.
I fixed the issue by using regex instead of string split operations, taking all 
know formats (to my knowledge) into account.

Only thing that is changed is the method with the the signature:
public static Tunnel Load(Session session, string data)

I appended my version of this class (again only this method has changed).

Original issue reported on code.google.com by ntzioli...@googlemail.com on 22 Sep 2010 at 9:54

Attachments:

GoogleCodeExporter commented 8 years ago
Sadly there was a little issue on the regex, its fixed now and works for me 
with all kinds of configs.

Original comment by ntzioli...@googlemail.com on 4 Oct 2010 at 10:28

Attachments:

GoogleCodeExporter commented 8 years ago
I did run into the same issue. The error message ptman shows does not give a 
clear hint how to fix the problem (the quick fix is to delete all putty 
sessions in order to delete the sessions that cause the problem).

If this issue is not going to be fixed soon, at least a comment on the start 
page should link to this issue so that the users get an idea what to looking 
for.

Original comment by rwoo@gmx.de on 17 Jan 2012 at 10:34

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Issue 16 is a duplicate of this. So is there a binary with this patch i can 
download?

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

GoogleCodeExporter commented 8 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