ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ninju Bohra <ninju_bo...@yahoo.com>
Subject Re: ANT -- Unique Error --Pls Help
Date Thu, 05 Jul 2007 15:38:53 GMT
Hello,

This error is usually indicative of a JAVA class version mis-match.  A common cause of this
creating .class files with one version of JAVA and running them on a on another (incompatible)
version.
 
Have you recently changed your environment (OS, JAVA version, ANT_HOME, JAVA_HOME, etc...)?
Has this problem always occurred...if so what happens when you type ant -version
If not...you need to investigate what external thing has changed.


Also, it would help if you could provide a small (preferably the smallest) build.xml that
gives you the error so that we can help reproduce the problem.

Thanx,

Ninju

----- Original Message ---- 
From: "prashanth.l@polaris.co.in" <prashanth.l@polaris.co.in> 
To: user@ant.apache.org 
Sent: Thursday, July 5, 2007 10:22:37 AM 
Subject: ANT -- Unique Error --Pls Help 


Dear all, 

I am getting this error, When running ant , Please help ASAP. 

ant version -- 1.5.4 

BUILD FAILED 
java.lang.VerifyError: (class: 
org/apache/tools/ant/types/Path$PathElement, method: <init> signature: 
(Lorg/apache/tools/ant/types/Path;)V) Expecting to find object/array on 
stack 
at 
org.apache.tools.ant.types.Path.createPathElement(Path.java:187) 
at org.apache.tools.ant.types.Path.<init>(Path.java:134) 
at org.apache.tools.ant.types.Path.<clinit>(Path.java:105) 
at java.lang.Class.forName0(Native Method) 
at java.lang.Class.forName(Class.java:115) 
at org.apache.tools.ant.Project.init(Project.java:304) 
at org.apache.tools.ant.Main.runBuild(Main.java:582) 
at org.apache.tools.ant.Main.start(Main.java:196) 
at org.apache.tools.ant.Main.main(Main.java:235) 

Total time: 0 seconds 
java.lang.VerifyError: (class: 
org/apache/tools/ant/types/Path$PathElement, method: <init> signature: 
(Lorg/apache/tools/ant/types/Path;)V) Expecting to find object/array on 
stack 
at 
org.apache.tools.ant.types.Path.createPathElement(Path.java:187) 
at org.apache.tools.ant.types.Path.<init>(Path.java:134) 
at org.apache.tools.ant.types.Path.<clinit>(Path.java:105) 
at java.lang.Class.forName0(Native Method) 
at java.lang.Class.forName(Class.java:115) 
at org.apache.tools.ant.Project.init(Project.java:304) 
at org.apache.tools.ant.Main.runBuild(Main.java:582) 
at org.apache.tools.ant.Main.start(Main.java:196) 
at org.apache.tools.ant.Main.main(Main.java:235) 
(class: org/apache/tools/ant/types/Path$PathElement, method: <init> 
signature: (Lorg/apache/tools/ant/types/Path;)V) Expecting to find 
object/array on stack 

Thank You. 

Regards, 
Prashanth 


This e-Mail may contain proprietary and confidential information and is sent for the intended
recipient(s) only. If by an addressing or transmission error this mail has been misdirected
to you, you are requested to delete this mail immediately. You are also hereby notified that
any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution
and/or publication of this e-mail message, contents or its attachment other than by its intended
recipient/s is strictly prohibited. 

Visit us at http://www.polaris.co.in


       
____________________________________________________________________________________Ready
for the edge of your seat? 
Check out tonight's top picks on Yahoo! TV. 
http://tv.yahoo.com/

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


Mime
View raw message