lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jellyman <colm_r...@hotmail.com>
Subject RE: Error message running: ant clean test
Date Thu, 19 Jul 2012 14:16:09 GMT
Thanks Uwe,

  I got latest version and rebuilt. That changed the error message a bit
(included below). Can you please explain your second point in a bit more
detail please. I'm very new to ASM (in fact I don't even know what this
means). 
   For example how do I know that the ~/.ant/lib folder contains an outdated
and old ASM versions? This is not immediately obvious to me due to my
ignorance of Java tech. Can you hand hold me a for a bit?



BUILD FAILED
C:\trunk\build.xml:55: The following error occurred while executing this
line:
C:\trunk\lucene\build.xml:176: java.lang.IncompatibleClassChangeError: class
org.apache.lucene.validation.ForbiddenApisCheckTask$ClassSignatureLookup$1
has interface org.objectweb.asm.ClassVisitor as super class
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at
org.apache.tools.ant.AntClassLoader.defineClassFromData(AntClassLoader.java:1128)
	at
org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:1299)
	at
org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1355)
	at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1315)
	at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at
org.apache.lucene.validation.ForbiddenApisCheckTask$ClassSignatureLookup.<init>(ForbiddenApisCheckTask.java:457)
	at
org.apache.lucene.validation.ForbiddenApisCheckTask.getClassFromClassLoader(ForbiddenApisCheckTask.java:92)
	at
org.apache.lucene.validation.ForbiddenApisCheckTask.addSignature(ForbiddenApisCheckTask.java:133)
	at
org.apache.lucene.validation.ForbiddenApisCheckTask.parseApiFile(ForbiddenApisCheckTask.java:170)
	at
org.apache.lucene.validation.ForbiddenApisCheckTask.execute(ForbiddenApisCheckTask.java:353)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:392)
	at org.apache.tools.ant.Target.performTasks(Target.java:413)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
	at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:303)
	at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:221)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:392)
	at org.apache.tools.ant.Target.performTasks(Target.java:413)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
	at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
	at org.apache.tools.ant.Main.runBuild(Main.java:811)
	at org.apache.tools.ant.Main.startAnt(Main.java:217)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Total time: 2 minutes 44 seconds



--
View this message in context: http://lucene.472066.n3.nabble.com/Error-message-running-ant-clean-test-tp3995956p3995969.html
Sent from the Lucene - General mailing list archive at Nabble.com.

Mime
View raw message