Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 54026 invoked from network); 10 Jan 2007 15:48:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jan 2007 15:48:08 -0000 Received: (qmail 62721 invoked by uid 500); 10 Jan 2007 15:48:08 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 62672 invoked by uid 500); 10 Jan 2007 15:48:08 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 62653 invoked by uid 99); 10 Jan 2007 15:48:07 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jan 2007 07:48:07 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [130.132.232.16] (HELO arwen.med.yale.edu) (130.132.232.16) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jan 2007 07:47:56 -0800 Received: from [128.36.123.85] (moussaka.med.yale.edu [128.36.123.85]) by email.med.yale.edu (PMDF V6.2-X17 #31085) with ESMTPS id <0JBN235H3T7BBE@email.med.yale.edu> for commons-user@jakarta.apache.org; Wed, 10 Jan 2007 10:47:35 -0500 (EST) Date: Wed, 10 Jan 2007 10:46:07 -0500 From: Mark Shifman Subject: [VFS] SFTP exception To: Jakarta Commons Users List Message-id: <45A50A3F.9070105@yale.edu> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit User-Agent: Thunderbird 1.5 (X11/20051201) X-Virus-Checked: Checked by ClamAV on apache.org Hi: I started using sftp in my web app (using struts and tomcat) and I noticed this error on catalina.out. Exception in thread "org.apache.commons.vfs.cache.SoftRefFilesCache$SoftRefReleaseThread" java.lang.NullPointerException at com.jcraft.jsch.Channel.del(Channel.java:79) at com.jcraft.jsch.Channel.disconnect(Channel.java:501) at com.jcraft.jsch.ChannelSftp.disconnect(ChannelSftp.java:2104) at org.apache.commons.vfs.provider.sftp.SftpFileSystem.doCloseCommunicationLink(SftpFileSystem.java:63) at org.apache.commons.vfs.provider.AbstractFileSystem.closeCommunicationLink(AbstractFileSystem.java:130) at org.apache.commons.vfs.provider.AbstractFileSystem.close(AbstractFileSystem.java:118) at org.apache.commons.vfs.provider.AbstractFileProvider.closeFileSystem(AbstractFileProvider.java:157) at org.apache.commons.vfs.impl.DefaultFileSystemManager._closeFileSystem(DefaultFileSystemManager.java:941) at org.apache.commons.vfs.cache.SoftRefFilesCache.filesystemClose(SoftRefFilesCache.java:229) at org.apache.commons.vfs.cache.SoftRefFilesCache.access$300(SoftRefFilesCache.java:46) at org.apache.commons.vfs.cache.SoftRefFilesCache$SoftRefReleaseThread.run(SoftRefFilesCache.java:92) Everything seems to be working fine though. I am using the newest jsch and the vfs rc . I close my fileobject after using it so I don't have problems with caching. Any help would be appreciated. mas -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shifman@yale.edu --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org