Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
ANT -- Unique Error --Pls Help

ANT -- Unique Error --Pls Help

2007-07-05       - By Ninju Bohra
Reply:     1     2     3     4  

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@(protected)" <prashanth.l@(protected)>
To: user@(protected)
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@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.