A Null pointer exception while trying to open a connection.

maf@appgate.com maf@appgate.com
Mon, 13 Jan 2003 09:13:33 +0100 (CET)


On 10 Jan, Smita Talashikar wrote:
> I have observed that the error below only happens when I try
> to connect using the --d option. The gui seem to work with
> no problem.

Found it. It is due to a bug in
com/mindbright/ssh/SSHInteractiveClient.java. Line 750 reads:

	((SSHMenuHandlerFull)menus).modulesConnect();

Replace that with

	if (menus != null) {
	    ((SSHMenuHandlerFull)menus).modulesConnect();
	}

    /MaF
-- 
Martin Forssen <maf@appgate.com>              Development Manager
Phone: +46 31 7744361                         AppGate Network Security AB