commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frederic Müller (JIRA) <j...@apache.org>
Subject [jira] Commented: (NET-226) Endless loop listing files on Windows NT FTP-Server
Date Wed, 09 Jul 2008 16:03:31 GMT

    [ https://issues.apache.org/jira/browse/NET-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612164#action_12612164
] 

Frederic Müller commented on NET-226:
-------------------------------------

Stack trace

java.lang.Exception: List size: 1
	at TestClass.preParse(TestClass.java:9)
	at org.apache.commons.net.ftp.FTPListParseEngine.readServerList(FTPListParseEngine.java:100)
	at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2400)
	at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2368)
	at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2145)
	at org.apache.commons.vfs.provider.ftp.FTPClientWrapper.listFiles(FTPClientWrapper.java:112)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.doGetChildren(FtpFileObject.java:123)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.getChildFile(FtpFileObject.java:103)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.getInfo(FtpFileObject.java:181)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.refresh(FtpFileObject.java:208)
	at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:319)
	at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:267)
	at org.apache.commons.vfs.provider.AbstractFileObject.getParent(AbstractFileObject.java:512)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.getInfo(FtpFileObject.java:177)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.refresh(FtpFileObject.java:208)
	at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:319)
	at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:267)
	at org.apache.commons.vfs.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:88)
	at org.apache.commons.vfs.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:62)
	at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:641)
	at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:582)
	at FTPTest.main(FTPTest.java:15)
java.lang.Exception: List size: 135
	at TestClass.preParse(TestClass.java:9)
	at org.apache.commons.net.ftp.FTPListParseEngine.readServerList(FTPListParseEngine.java:100)
	at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2400)
	at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2368)
	at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2145)
	at org.apache.commons.vfs.provider.ftp.FTPClientWrapper.listFiles(FTPClientWrapper.java:112)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.doGetChildren(FtpFileObject.java:123)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.getChildFile(FtpFileObject.java:103)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.getInfo(FtpFileObject.java:181)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.refresh(FtpFileObject.java:208)
	at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:319)
	at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:267)
	at org.apache.commons.vfs.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:88)
	at org.apache.commons.vfs.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:62)
	at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:641)
	at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:582)
	at FTPTest.main(FTPTest.java:15)
java.lang.Exception: List size: 346
	at TestClass.preParse(TestClass.java:9)
	at org.apache.commons.net.ftp.FTPListParseEngine.readServerList(FTPListParseEngine.java:100)
	at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2400)
	at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2368)
	at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2145)
	at org.apache.commons.vfs.provider.ftp.FTPClientWrapper.listFiles(FTPClientWrapper.java:112)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.doGetChildren(FtpFileObject.java:123)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.doListChildren(FtpFileObject.java:333)
	at org.apache.commons.vfs.provider.AbstractFileObject.getChildren(AbstractFileObject.java:557)
	at FTPTest.main(FTPTest.java:17)
java.lang.Exception: List size: 1
	at TestClass.preParse(TestClass.java:9)
	at org.apache.commons.net.ftp.FTPListParseEngine.readServerList(FTPListParseEngine.java:100)
	at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2400)
	at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2368)
	at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2145)
	at org.apache.commons.vfs.provider.ftp.FTPClientWrapper.listFiles(FTPClientWrapper.java:112)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.doGetChildren(FtpFileObject.java:123)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.getChildFile(FtpFileObject.java:103)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.getInfo(FtpFileObject.java:181)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.refresh(FtpFileObject.java:208)
	at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:319)
	at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:267)
	at org.apache.commons.vfs.provider.AbstractFileObject.getParent(AbstractFileObject.java:512)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.getInfo(FtpFileObject.java:177)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.refresh(FtpFileObject.java:208)
	at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:319)
	at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:267)
	at org.apache.commons.vfs.provider.AbstractFileObject.getParent(AbstractFileObject.java:512)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.getInfo(FtpFileObject.java:177)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.refresh(FtpFileObject.java:208)
	at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:319)
	at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:267)
	at org.apache.commons.vfs.provider.AbstractFileObject.resolveFile(AbstractFileObject.java:625)
	at org.apache.commons.vfs.provider.AbstractFileObject.resolveFiles(AbstractFileObject.java:617)
	at org.apache.commons.vfs.provider.AbstractFileObject.getChildren(AbstractFileObject.java:587)
	at FTPTest.main(FTPTest.java:17)
java.lang.Exception: List size: 135
	at TestClass.preParse(TestClass.java:9)
	at org.apache.commons.net.ftp.FTPListParseEngine.readServerList(FTPListParseEngine.java:100)
	at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2400)
	at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2368)
	at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2145)
	at org.apache.commons.vfs.provider.ftp.FTPClientWrapper.listFiles(FTPClientWrapper.java:112)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.doGetChildren(FtpFileObject.java:123)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.getChildFile(FtpFileObject.java:103)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.getInfo(FtpFileObject.java:181)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.refresh(FtpFileObject.java:208)
	at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:319)
	at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:267)
	at org.apache.commons.vfs.provider.AbstractFileObject.getParent(AbstractFileObject.java:512)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.getInfo(FtpFileObject.java:177)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.refresh(FtpFileObject.java:208)
	at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:319)
	at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:267)
	at org.apache.commons.vfs.provider.AbstractFileObject.resolveFile(AbstractFileObject.java:625)
	at org.apache.commons.vfs.provider.AbstractFileObject.resolveFiles(AbstractFileObject.java:617)
	at org.apache.commons.vfs.provider.AbstractFileObject.getChildren(AbstractFileObject.java:587)
	at FTPTest.main(FTPTest.java:17)
java.lang.Exception: List size: 346
	at TestClass.preParse(TestClass.java:9)
	at org.apache.commons.net.ftp.FTPListParseEngine.readServerList(FTPListParseEngine.java:100)
	at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2400)
	at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2368)
	at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2145)
	at org.apache.commons.vfs.provider.ftp.FTPClientWrapper.listFiles(FTPClientWrapper.java:112)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.doGetChildren(FtpFileObject.java:123)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.getChildFile(FtpFileObject.java:103)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.getInfo(FtpFileObject.java:181)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.refresh(FtpFileObject.java:208)
	at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:319)
	at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:267)
	at org.apache.commons.vfs.provider.AbstractFileObject.resolveFile(AbstractFileObject.java:625)
	at org.apache.commons.vfs.provider.AbstractFileObject.resolveFiles(AbstractFileObject.java:617)
	at org.apache.commons.vfs.provider.AbstractFileObject.getChildren(AbstractFileObject.java:587)
	at FTPTest.main(FTPTest.java:17)
java.lang.Exception: List size: 135
	at TestClass.preParse(TestClass.java:9)
	at org.apache.commons.net.ftp.FTPListParseEngine.readServerList(FTPListParseEngine.java:100)
	at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2400)
	at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2368)
	at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2145)
	at org.apache.commons.vfs.provider.ftp.FTPClientWrapper.listFiles(FTPClientWrapper.java:112)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.doGetChildren(FtpFileObject.java:123)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.getChildFile(FtpFileObject.java:103)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.getInfo(FtpFileObject.java:181)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.refresh(FtpFileObject.java:208)
	at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:319)
	at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:267)
	at org.apache.commons.vfs.provider.AbstractFileObject.getParent(AbstractFileObject.java:512)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.getInfo(FtpFileObject.java:177)
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.refresh(FtpFileObject.java:208)
	at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:319)
	at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:267)
	at org.apache.commons.vfs.provider.AbstractFileObject.resolveFile(AbstractFileObject.java:625)
	at org.apache.commons.vfs.provider.AbstractFileObject.resolveFiles(AbstractFileObject.java:617)
	at org.apache.commons.vfs.provider.AbstractFileObject.getChildren(AbstractFileObject.java:587)
	at FTPTest.main(FTPTest.java:17)
.................

I think you're getting the point.

> Endless loop listing files on Windows NT FTP-Server
> ---------------------------------------------------
>
>                 Key: NET-226
>                 URL: https://issues.apache.org/jira/browse/NET-226
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: VFS client on linux machine connecting to a Windows-NT ftp server
using unix file listing
>            Reporter: Frederic Müller
>            Priority: Blocker
>
> The framework repeatedly queries the contents of a remote ftp folder as well it's parent
folder. It will do so indefinitely. Other ftp software can access the server without problems.
I implemented a new class extending the UnixFTPEntryParser to intercept the requests and to
print the following stack traces.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message