i am having an issue when i am calling disconnect method on TelnetClinet instance..i get a nullPointerhere is the stack java.lang.NullPointerExceptionorg.apache.commons.net.telnet.TelnetClient.disconnect(TelnetClient.java:124) can any one tell me what could be null and why i might be getting this exception thanksPradeep _________________________________________________________________ Get in touch in an instant. Get Windows Live Messenger now. http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_getintouch_042008