ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tracy Jones" <tr...@stratalight.com>
Subject RE: java.lang.AbstractMethodError: org/apache/commons/net/ftp/FTPFileEntryParser.parseFTPEntry
Date Thu, 25 Jan 2007 23:06:51 GMT
The issue is definetly with using j9.  If I change my x86 platform to
use j9 instead, I get the same issue.  This version of j9 is based on
java version 1.3.  Does anyone know if it is possible to get this to
work??

Here's the stack trace

java.lang.AbstractMethodError:
org/apache/commons/net/ftp/FTPFileEntryParser.
parseFTPEntry(Ljava/lang/String;)Lorg/apache/commons/net/ftp/FTPFile;

Stack trace:
   java/lang/Throwable.<init>()V
   java/lang/Throwable.<init>(Ljava/lang/String;)V
   java/lang/AbstractMethodError.<init>(Ljava/lang/String;)V
 
org/apache/commons/net/ftp/FTPFileEntryParserImpl.preParse(Ljava/util/Li
st                                            ;)Ljava/util/List;
 
org/apache/commons/net/ftp/FTPListParseEngine.readServerList(Ljava/io/In
pu
tStream;Ljava/lang/String;)V
 
org/apache/commons/net/ftp/FTPClient.initiateListParsing(Lorg/apache/com
mo
ns/net/ftp/FTPFileEntryParser;Ljava/lang/String;)Lorg/apache/commons/net
/ftp/                                            FTPListParseEngine;
 
org/apache/commons/net/ftp/FTPClient.initiateListParsing(Ljava/lang/Stri
ng
;Ljava/lang/String;)Lorg/apache/commons/net/ftp/FTPListParseEngine;
 
org/apache/commons/net/ftp/FTPClient.listFiles(Ljava/lang/String;)[Lorg/
ap
ache/commons/net/ftp/FTPFile;
 
org/apache/commons/net/ftp/FTPClient.listFiles()[Lorg/apache/commons/net
/f                                            tp/FTPFile;
 
org/apache/tools/ant/taskdefs/optional/net/FTP$FTPDirectoryScanner.force
Re                                            moteSensitivityCheck()V
 
org/apache/tools/ant/taskdefs/optional/net/FTP$FTPDirectoryScanner.scan(
)V
 
org/apache/tools/ant/taskdefs/optional/net/FTP.transferFiles(Lorg/apache
/c
ommons/net/ftp/FTPClient;Lorg/apache/tools/ant/types/FileSet;)I
 
org/apache/tools/ant/taskdefs/optional/net/FTP.transferFiles(Lorg/apache
/c
ommons/net/ftp/FTPClient;)V
   org/apache/tools/ant/taskdefs/optional/net/FTP.execute()V
   org/apache/tools/ant/UnknownElement.execute()V
 
java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Lj
av                                            a/lang/Object;
 
org/apache/tools/ant/dispatch/DispatchUtils.execute(Ljava/lang/Object;)V
   org/apache/tools/ant/Task.perform()V
   org/apache/tools/ant/Target.execute()V
   org/apache/tools/ant/Target.performTasks()V
 
org/apache/tools/ant/Project.executeSortedTargets(Ljava/util/Vector;)V
   org/apache/tools/ant/Project.executeTarget(Ljava/lang/String;)V
 
org/apache/tools/ant/helper/DefaultExecutor.executeTargets(Lorg/apache/t
oo
ls/ant/Project;[Ljava/lang/String;)V
   org/apache/tools/ant/Project.executeTargets(Ljava/util/Vector;)V
   org/apache/tools/ant/Main.runBuild(Ljava/lang/ClassLoader;)V
 
org/apache/tools/ant/Main.startAnt([Ljava/lang/String;Ljava/util/Propert
ie
s;Ljava/lang/ClassLoader;)V
   org/apache/tools/ant/launch/Launcher.run([Ljava/lang/String;)I
   org/apache/tools/ant/launch/Launcher.main([Ljava/lang/String;)V


-----Original Message-----
From: Tracy Jones 
Sent: Thursday, January 25, 2007 2:16 PM
To: user@ant.apache.org
Subject: java.lang.AbstractMethodError:
org/apache/commons/net/ftp/FTPFileEntryParser.parseFTPEntry

Hi - I am trying to use the optional FTP package with ant 1.7 running
under IBM j9 1.4.  I get the following error when using ftp.  This works
on a x86 maching using j2sdk1.4.2_08

 

     [echo] Failed: java.lang.AbstractMethodError:
org/apache/commons/net/ftp/FTPFileEntryParser.parseFTPEntry(Ljava/lang/S
tring;)Lorg/apache/commons/net/ftp/FTPFile;

 

 

It must be a classpath issue, but  I have commons-net and oro in my
$ANT_HOME/lib directory...

 

Here is the diagnostic output.  Thanks in advance for any help.

 

 

sluser@StrataLight:~$ ant -diagnostics

------- Ant diagnostics report -------

Apache Ant version 1.7.0 compiled on December 13 2006

 

-------------------------------------------

 Implementation Version

-------------------------------------------

core tasks     : 1.7.0

optional tasks : not available

 

-------------------------------------------

 ANT PROPERTIES

-------------------------------------------

ant.version: Apache Ant version 1.7.0 compiled on December 13 2006

ant.java.version: 1.3

ant.core.lib: /usr/local/apache-ant-1.7.0/lib/ant.jar

ant.home: /usr/local/apache-ant-1.7.0

 

-------------------------------------------

 ANT_HOME/lib jar listing

-------------------------------------------

ant.home: /usr/local/apache-ant-1.7.0

ant-antlr.jar (5769 bytes)

ant-apache-bcel.jar (8627 bytes)

ant-apache-bsf.jar (3980 bytes)

ant-apache-log4j.jar (3074 bytes)

ant-apache-oro.jar (39591 bytes)

ant-apache-regexp.jar (3737 bytes)

ant-apache-resolver.jar (4080 bytes)

ant-commons-logging.jar (3943 bytes)

ant-commons-net.jar (47163 bytes)

ant-jai.jar (21368 bytes)

ant-javamail.jar (7011 bytes)

ant-jdepend.jar (8152 bytes)

ant-jmf.jar (6609 bytes)

ant-jsch.jar (30122 bytes)

ant-junit.jar (92792 bytes)

ant-launcher.jar (11734 bytes)

ant-netrexx.jar (9895 bytes)

ant-nodeps.jar (430311 bytes)

ant-starteam.jar (35404 bytes)

ant-stylebook.jar (2334 bytes)

ant-swing.jar (6713 bytes)

ant-trax.jar (6897 bytes)

ant-testutil.jar (14919 bytes)

ant-weblogic.jar (14254 bytes)

ant.jar (1289806 bytes)

xercesImpl.jar (1212965 bytes)

xml-apis.jar (195119 bytes)

jakarta-oro-2.0.8.jar (65261 bytes)

ant-contrib.jar (194050 bytes)

commons-net-1.4.1-2005-12-03.jar (180792 bytes)

 

-------------------------------------------

 USER_HOME/.ant/lib jar listing

-------------------------------------------

user.home: /home/sluser

No such directory.

 

-------------------------------------------

 Tasks availability

-------------------------------------------

All defined tasks are available

 

-------------------------------------------

 org.apache.env.Which diagnostics

-------------------------------------------

Not available.

Download it at http://xml.apache.org/commons/

 

-------------------------------------------

 XML Parser information

-------------------------------------------

XML Parser : org.apache.xerces.jaxp.SAXParserImpl

XML Parser Location: /usr/local/apache-ant-1.7.0/lib/xercesImpl.jar

Namespace-aware parser :
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser

Namespace-aware parser Location:
/usr/local/apache-ant-1.7.0/lib/xercesImpl.jar

 

-------------------------------------------

 System properties

-------------------------------------------

user.dir : /var/stratalight/home/sluser

file.separator : /

path.separator : :

com.ibm.oti.vm.library.version : 14

java.vm.version : 14

os.version : 2.4.20-pmppc750f

java.protocol.handler.pkgs : com.ibm.oti.net.www.protocol

com.ibm.oti.system.class.path : /opt/vame1.4/lib/jclMax/classes.zip

java.class.version : 47.0

java.vm.specification.name : Java Virtual Machine Specification

java.vm.name : J9

user.language : en

user.name : sluser

java.specification.vendor : Sun Microsystems Inc.

file.encoding : 8859_1

com.ibm.oti.configuration : max

java.vm.specification.vendor : Sun Microsystems Inc.

java.library.path :
/opt/vame1.4/:.::/usr/local/lib:/opt/OS-4000-current/lib:/opt/vame1.4:/o
pt/stratalight/lib

com.ibm.oti.vm.bootstrap.library.path : /opt/vame1.4/

java.vendor : IBM Corporation

os.name : Linux

java.io.tmpdir : /tmp

line.separator :

 

java.class.path :
/usr/local/apache-ant-1.7.0/lib/ant-launcher.jar:/opt/vame1.4/lib/jclMax
/classes.zip:/usr/local/apache-ant-1.7.0/lib/ant-antlr.jar:/usr/local/ap
ache-ant-1.7.0/lib/ant-apache-bcel.jar:/usr/local/apache-ant-1.7.0/lib/a
nt-apache-bsf.jar:/usr/local/apache-ant-1.7.0/lib/ant-apache-log4j.jar:/
usr/local/apache-ant-1.7.0/lib/ant-apache-oro.jar:/usr/local/apache-ant-
1.7.0/lib/ant-apache-regexp.jar:/usr/local/apache-ant-1.7.0/lib/ant-apac
he-resolver.jar:/usr/local/apache-ant-1.7.0/lib/ant-commons-logging.jar:
/usr/local/apache-ant-1.7.0/lib/ant-commons-net.jar:/usr/local/apache-an
t-1.7.0/lib/ant-jai.jar:/usr/local/apache-ant-1.7.0/lib/ant-javamail.jar
:/usr/local/apache-ant-1.7.0/lib/ant-jdepend.jar:/usr/local/apache-ant-1
.7.0/lib/ant-jmf.jar:/usr/local/apache-ant-1.7.0/lib/ant-jsch.jar:/usr/l
ocal/apache-ant-1.7.0/lib/ant-junit.jar:/usr/local/apache-ant-1.7.0/lib/
ant-launcher.jar:/usr/local/apache-ant-1.7.0/lib/ant-netrexx.jar:/usr/lo
cal/apache-ant-1.7.0/lib/ant-nodeps.jar:/usr/local/apache-ant-1.7.0/lib/
ant-starteam.jar:/usr/local/apache-ant-1.7.0/lib/ant-stylebook.jar:/usr/
local/apache-ant-1.7.0/lib/ant-swing.jar:/usr/local/apache-ant-1.7.0/lib
/ant-trax.jar:/usr/local/apache-ant-1.7.0/lib/ant-testutil.jar:/usr/loca
l/apache-ant-1.7.0/lib/ant-weblogic.jar:/usr/local/apache-ant-1.7.0/lib/
ant.jar:/usr/local/apache-ant-1.7.0/lib/xercesImpl.jar:/usr/local/apache
-ant-1.7.0/lib/xml-apis.jar:/usr/local/apache-ant-1.7.0/lib/jakarta-oro-
2.0.8.jar:/usr/local/apache-ant-1.7.0/lib/ant-contrib.jar:/usr/local/apa
che-ant-1.7.0/lib/commons-net-1.4.1-2005-12-03.jar:/opt/vame1.4/lib/tool
s.jar

java.content.handler.pkgs : com.ibm.oti.www.content

ant.library.dir : /usr/local/apache-ant-1.7.0/lib

java.home : /opt/vame1.4

user.region : US

java.vendor.url : http://www.ibm.com/

os.arch : ppc

user.home : /home/sluser

java.vm.specification.version : 1.0

java.vm.vendor : IBM Corporation

java.specification.version : 1.3

user.timezone : UTC

com.ibm.oti.vm.exe : /opt/vame1.4/j9

java.version : 1.3.0 subset

java.specification.name : Java Platform API Specification

ant.home : /usr/local/apache-ant-1.7.0

 

-------------------------------------------

 Temp dir

-------------------------------------------

Temp dir is /tmp

Temp dir is writeable

Temp dir alignment with system clock is -209 ms

 

-------------------------------------------

 Locale information

-------------------------------------------

Timezone GMT+00:00 offset=0

 

-------------------------------------------

 Proxy information

-------------------------------------------

 

sluser@StrataLight:~$

 

 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message