You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/01/26 22:05:01 UTC

DO NOT REPLY [Bug 33255] New: - [VFS] ftp file system depends on ORO for a MalformedPatternException

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33255>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33255

           Summary: [VFS] ftp file system depends on ORO for a
                    MalformedPatternException
           Product: Commons
           Version: 1.0 Beta 2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Sandbox
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: adagoubard@chello.nl


The FTP file system throws a ClassNotFoundException because common-net seems to
depend on jakarta-oro for FTP.

java -cp
.:target/commons-vfs-1.0-dev.jar:target/lib/commons-logging-1.0.4.jar:target/lib/commons-net-1.2.1.jar
org.apache.commons.vfs.example.ShowProperties ftp://gnu.kookel.org/pub/apache/ant/

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/oro/text/r
egex/MalformedPatternException
        at
org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createUnixFTPEntryParser(DefaultFTPFileEntryParserFactory.java:121)
        at
org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:84)
        at
org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2306)
        at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2055)
        at org.apache.commons.vfs.provider.ftp.FTPClientWrapper.listFiles(FTPCli
entWrapper.java:100)
        at
org.apache.commons.vfs.provider.ftp.FtpFileObject.doGetChildren(FtpFileObject.java:117)
        at
org.apache.commons.vfs.provider.ftp.FtpFileObject.getChildFile(FtpFileObject.java:86)
        at
org.apache.commons.vfs.provider.ftp.FtpFileObject.getInfo(FtpFileObject.java:162)
        at
org.apache.commons.vfs.provider.ftp.FtpFileObject.doAttach(FtpFileObject.java:151)
        at
org.apache.commons.vfs.provider.AbstractFileObject.attach(AbstractFileObject.java:1199)
        at
org.apache.commons.vfs.provider.AbstractFileObject.getType(AbstractFileObject.java:401)
        at org.apache.commons.vfs.example.ShowProperties.main(ShowProperties.jav

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org