java - Could not find class 'org.apache.oro.text.regex.Perl5Matcher' -
i've been on ftp odyssey past 4 or 5 days documented in question here: ftp 1and1.com
at first trying upload file, i've moved on seeing if can work. i'm trying list files in directory. getting success response when changing directories , call code below list contents.
ftpfile[] f = mftpclient.listfiles("/images_in"); (ftpfile thisfile : f) { log.e("ftplist", thisfile.getrawlisting()); }
this in try/catch block when hits first line code goes in asynctask.java , program crashes. log output below. seems missing class called org.apache.oro.text.regex.perl5matcher. jar file include in project import statement or java class file add other java class? googled , found java class files had similar name nothing definitive.
greg
05-11 17:37:04.694 6518-6555/com.packagename.ftptest e/dalvikvm﹕ not find class 'org.apache.oro.text.regex.perl5matcher', referenced method org.apache.commons.net.ftp.parser.regexftpfileentryparserimpl.<init> 05-11 17:37:04.694 6518-6555/com.packagename.ftptest w/dalvikvm﹕ vfy: unable resolve new-instance 1809 (lorg/apache/oro/text/regex/perl5matcher;) in lorg/apache/commons/net/ftp/parser/regexftpfileentryparserimpl; 05-11 17:37:04.704 6518-6555/com.packagename.ftptest w/dalvikvm﹕ vfy: unable resolve exception class 1804 (lorg/apache/oro/text/regex/malformedpatternexception;) 05-11 17:37:04.704 6518-6555/com.packagename.ftptest w/dalvikvm﹕ vfy: unable find exception handler @ addr 0x1d 05-11 17:37:04.704 6518-6555/com.packagename.ftptest w/dalvikvm﹕ vfy: rejected lorg/apache/commons/net/ftp/parser/regexftpfileentryparserimpl;.<init> (ljava/lang/string;)v 05-11 17:37:04.704 6518-6555/com.packagename.ftptest w/dalvikvm﹕ vfy: rejecting opcode 0x0d @ 0x001d 05-11 17:37:04.704 6518-6555/com.packagename.ftptest w/dalvikvm﹕ vfy: rejected lorg/apache/commons/net/ftp/parser/regexftpfileentryparserimpl;.<init> (ljava/lang/string;)v 05-11 17:37:04.704 6518-6555/com.packagename.ftptest w/dalvikvm﹕ verifier rejected class lorg/apache/commons/net/ftp/parser/regexftpfileentryparserimpl; 05-11 17:37:08.739 6518-6518/com.packagename.ftptest i/choreographer﹕ skipped 52 frames! application may doing work on main thread. 05-11 17:37:10.120 6518-6555/com.packagename.ftptest w/dalvikvm﹕ threadid=12: thread exiting uncaught exception (group=0x416d0e18) 05-11 17:37:13.424 6518-6555/com.packagename.ftptest e/androidruntime﹕ fatal exception: asynctask #1 process: com.packagename.ftptest, pid: 6518 java.lang.runtimeexception: error occured while executing doinbackground() @ android.os.asynctask$3.done(asynctask.java:300) @ java.util.concurrent.futuretask.finishcompletion(futuretask.java:355) @ java.util.concurrent.futuretask.setexception(futuretask.java:222) @ java.util.concurrent.futuretask.run(futuretask.java:242) @ android.os.asynctask$serialexecutor$1.run(asynctask.java:231) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1112) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:587) @ java.lang.thread.run(thread.java:864) caused by: java.lang.verifyerror: org/apache/commons/net/ftp/parser/regexftpfileentryparserimpl @ org.apache.commons.net.ftp.parser.defaultftpfileentryparserfactory.createntftpentryparser(defaultftpfileentryparserfactory.java:184) @ org.apache.commons.net.ftp.parser.defaultftpfileentryparserfactory.createfileentryparser(defaultftpfileentryparserfactory.java:102) @ org.apache.commons.net.ftp.ftpclient.initiatelistparsing(ftpclient.java:2358) @ org.apache.commons.net.ftp.ftpclient.listfiles(ftpclient.java:2141) @ com.packagename.ftptest.mainactivity$updatedatatask.doinbackground(mainactivity.java:196) @ com.packagename.ftptest.mainactivity$updatedatatask.doinbackground(mainactivity.java:163) @ android.os.asynctask$2.call(asynctask.java:288) @ java.util.concurrent.futuretask.run(futuretask.java:237) @ android.os.asynctask$serialexecutor$1.run(asynctask.java:231) atjava.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1112) atjava.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:587) @ java.lang.thread.run(thread.java:864)
Comments
Post a Comment