Hi Jeremy,

> I get a NullPointerException on this line: 
> 
> ((SSLSocket)MyConnectionHelper.getSocket(conn)).getSession().invalidate();
> 
> Can anybody tell why? 

Either because getSocket(conn) returns null, or because
SSLSocket.getSession() returns null. How about splitting
this monster up into several lines to find out?

Also, how can you be sure that every SSLSocket has a
session? Connections might be released prematurely.

cheers,
  Roland


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to