RE: [xep-support] java.lang.NoSuchMethodError calling XEPTask

From: Christopher Wong <cwong@idiominc.com>
Date: Mon Jun 27 2005 - 06:50:32 PDT

Thanks. I should have followed up on my own post earlier. The problem was
that there was a stray XEP 3.x jar in the class path that was muddling
things up. This can happen in places where people are in the habit of
throwing everything into ANT_HOME/lib.

Chris

-----Original Message-----
From: Alexander Peshkov [mailto:peshkov@renderx.com]
Sent: Friday, June 24, 2005 9:04 AM
To: Christopher Wong
Subject: Re: [xep-support] java.lang.NoSuchMethodError calling XEPTask

Hello Christopher,

I've just realized that we haven't commented on this. This really
looks like a JVM problem because it happens deep in compiled code and
this method does exist. Try to use different Java build. You may
upgrade XEP as well (just in case).

Best regards,
Alexander Peshkov mailto:peshkov@renderx.com
RenderX

CW> Attempting to invoke XEP 4.2 from Ant 1.6.2 (JDK 1.4.2_02 on Solaris)
CW> results in the following error. Any idea what this means? Thanks.

CW> java.lang.NoSuchMethodError:
CW>
com.renderx.xep.lib.Conf.(Ljava/util/Properties;Lcom/renderx/xep/lib/Logger;
)V
CW> at
CW>
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper
.java:539)
CW> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
CW> at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
CW> at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
CW> at org.apache.tools.ant.Task.perform(Task.java:364)
CW> at org.apache.tools.ant.Target.execute(Target.java:341)
CW> at org.apache.tools.ant.Target.performTasks(Target.java:369)
CW> at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
CW> at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
CW> at org.apache.tools.ant.Main.runBuild(Main.java:673)
CW> at org.apache.tools.ant.Main.startAnt(Main.java:188)
CW> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
CW> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
CW> Caused by:
CW>
/local/users/cmsuser/etc/jakarta-tomcat-4.1.27/webapps/Configuration/OpenTop
ic/build.xml:333:
CW> The following error occurred while executing this line:
CW> java.lang.NoSuchMethodError:
CW>
com.renderx.xep.lib.Conf.(Ljava/util/Properties;Lcom/renderx/xep/lib/Logger;
)V
CW> at
CW>
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper
.java:539)
CW> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
CW> at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
CW> at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
CW> at org.apache.tools.ant.Task.perform(Task.java:364)
CW> at org.apache.tools.ant.Target.execute(Target.java:341)
CW> at org.apache.tools.ant.Target.performTasks(Target.java:369)
CW> at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
CW> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
CW> ... 11 more
CW> Caused by: java.lang.NoSuchMethodError:
CW>
com.renderx.xep.lib.Conf.(Ljava/util/Properties;Lcom/renderx/xep/lib/Logger;
)V
CW> at org.apache.tools.ant.Project.executeTarget(Project.java:1223)
CW> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
CW> ... 18 more
CW> Caused by: java.lang.NoSuchMethodError:
CW>
com.renderx.xep.lib.Conf.(Ljava/util/Properties;Lcom/renderx/xep/lib/Logger;
)V
CW> at com.renderx.xep.FormatterCore.(Unknown Source)
CW> at com.renderx.xep.FormatterImpl.(Unknown Source)
CW> at com.renderx.xep.FormatterImpl.(Unknown Source)
CW> at com.renderx.xep.FormatterImpl.(Unknown Source)
CW> at com.renderx.xepx.ant.XSLEngine.(Unknown Source)
CW> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
CW> at
CW>
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
CW> at
CW>
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
CW> at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
CW> at java.lang.Class.newInstance0(Class.java:308)
CW> at java.lang.Class.newInstance(Class.java:261)
CW> at com.renderx.xepx.ant.XEPTask.execute(Unknown Source)
CW> at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
CW> at org.apache.tools.ant.Task.perform(Task.java:364)
CW> at org.apache.tools.ant.Target.execute(Target.java:341)
CW> at org.apache.tools.ant.Target.performTasks(Target.java:369)
CW> at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
CW> ... 19 more
CW> --- Nested Exception ---
CW>
/local/users/cmsuser/etc/jakarta-tomcat-4.1.27/webapps/Configuration/OpenTop
ic/build.xml:333:
CW> The following error occurred while executing this line:
CW> java.lang.NoSuchMethodError:
CW>
com.renderx.xep.lib.Conf.(Ljava/util/Properties;Lcom/renderx/xep/lib/Logger;
)V
CW> at
CW>
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper
.java:539)
CW> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
CW> at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
CW> at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
CW> at org.apache.tools.ant.Task.perform(Task.java:364)
CW> at org.apache.tools.ant.Target.execute(Target.java:341)
CW> at org.apache.tools.ant.Target.performTasks(Target.java:369)
CW> at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
CW> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
CW> at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
CW> at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
CW> at org.apache.tools.ant.Task.perform(Task.java:364)
CW> at org.apache.tools.ant.Target.execute(Target.java:341)
CW> at org.apache.tools.ant.Target.performTasks(Target.java:369)
CW> at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
CW> at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
CW> at org.apache.tools.ant.Main.runBuild(Main.java:673)
CW> at org.apache.tools.ant.Main.startAnt(Main.java:188)
CW> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
CW> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
CW> Caused by: java.lang.NoSuchMethodError:
CW>
com.renderx.xep.lib.Conf.(Ljava/util/Properties;Lcom/renderx/xep/lib/Logger;
)V
CW> at org.apache.tools.ant.Project.executeTarget(Project.java:1223)
CW> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
CW> ... 18 more
CW> Caused by: java.lang.NoSuchMethodError:
CW>
com.renderx.xep.lib.Conf.(Ljava/util/Properties;Lcom/renderx/xep/lib/Logger;
)V
CW> at com.renderx.xep.FormatterCore.(Unknown Source)
CW> at com.renderx.xep.FormatterImpl.(Unknown Source)
CW> at com.renderx.xep.FormatterImpl.(Unknown Source)
CW> at com.renderx.xep.FormatterImpl.(Unknown Source)
CW> at com.renderx.xepx.ant.XSLEngine.(Unknown Source)
CW> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
CW> at
CW>
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
CW> at
CW>
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
CW> at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
CW> at java.lang.Class.newInstance0(Class.java:308)
CW> at java.lang.Class.newInstance(Class.java:261)
CW> at com.renderx.xepx.ant.XEPTask.execute(Unknown Source)
CW> at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
CW> at org.apache.tools.ant.Task.perform(Task.java:364)
CW> at org.apache.tools.ant.Target.execute(Target.java:341)
CW> at org.apache.tools.ant.Target.performTasks(Target.java:369)
CW> at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
CW> ... 19 more
CW> --- Nested Exception ---
CW> java.lang.NoSuchMethodError:
CW>
com.renderx.xep.lib.Conf.(Ljava/util/Properties;Lcom/renderx/xep/lib/Logger;
)V
CW> at org.apache.tools.ant.Project.executeTarget(Project.java:1223)
CW> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
CW> at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
CW> at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
CW> at org.apache.tools.ant.Task.perform(Task.java:364)
CW> at org.apache.tools.ant.Target.execute(Target.java:341)
CW> at org.apache.tools.ant.Target.performTasks(Target.java:369)
CW> at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
CW> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
CW> at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
CW> at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
CW> at org.apache.tools.ant.Task.perform(Task.java:364)
CW> at org.apache.tools.ant.Target.execute(Target.java:341)
CW> at org.apache.tools.ant.Target.performTasks(Target.java:369)
CW> at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
CW> at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
CW> at org.apache.tools.ant.Main.runBuild(Main.java:673)
CW> at org.apache.tools.ant.Main.startAnt(Main.java:188)
CW> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
CW> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
CW> Caused by: java.lang.NoSuchMethodError:
CW>
com.renderx.xep.lib.Conf.(Ljava/util/Properties;Lcom/renderx/xep/lib/Logger;
)V
CW> at com.renderx.xep.FormatterCore.(Unknown Source)
CW> at com.renderx.xep.FormatterImpl.(Unknown Source)
CW> at com.renderx.xep.FormatterImpl.(Unknown Source)
CW> at com.renderx.xep.FormatterImpl.(Unknown Source)
CW> at com.renderx.xepx.ant.XSLEngine.(Unknown Source)
CW> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
CW> at
CW>
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
CW> at
CW>
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
CW> at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
CW> at java.lang.Class.newInstance0(Class.java:308)
CW> at java.lang.Class.newInstance(Class.java:261)
CW> at com.renderx.xepx.ant.XEPTask.execute(Unknown Source)
CW> at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
CW> at org.apache.tools.ant.Task.perform(Task.java:364)
CW> at org.apache.tools.ant.Target.execute(Target.java:341)
CW> at org.apache.tools.ant.Target.performTasks(Target.java:369)
CW> at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
CW> ... 19 more
CW> --- Nested Exception ---
CW> java.lang.NoSuchMethodError:
CW>
com.renderx.xep.lib.Conf.(Ljava/util/Properties;Lcom/renderx/xep/lib/Logger;
)V
CW> at com.renderx.xep.FormatterCore.(Unknown Source)
CW> at com.renderx.xep.FormatterImpl.(Unknown Source)
CW> at com.renderx.xep.FormatterImpl.(Unknown Source)
CW> at com.renderx.xep.FormatterImpl.(Unknown Source)
CW> at com.renderx.xepx.ant.XSLEngine.(Unknown Source)
CW> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
CW> at
CW>
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
CW> at
CW>
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
CW> at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
CW> at java.lang.Class.newInstance0(Class.java:308)
CW> at java.lang.Class.newInstance(Class.java:261)
CW> at com.renderx.xepx.ant.XEPTask.execute(Unknown Source)
CW> at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
CW> at org.apache.tools.ant.Task.perform(Task.java:364)
CW> at org.apache.tools.ant.Target.execute(Target.java:341)
CW> at org.apache.tools.ant.Target.performTasks(Target.java:369)
CW> at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
CW> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
CW> at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
CW> at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
CW> at org.apache.tools.ant.Task.perform(Task.java:364)
CW> at org.apache.tools.ant.Target.execute(Target.java:341)
CW> at org.apache.tools.ant.Target.performTasks(Target.java:369)
CW> at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
CW> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
CW> at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
CW> at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
CW> at org.apache.tools.ant.Task.perform(Task.java:364)
CW> at org.apache.tools.ant.Target.execute(Target.java:341)
CW> at org.apache.tools.ant.Target.performTasks(Target.java:369)
CW> at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
CW> at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
CW> at org.apache.tools.ant.Main.runBuild(Main.java:673)
CW> at org.apache.tools.ant.Main.startAnt(Main.java:188)
CW> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
CW> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

CW> -------------------
CW> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
CW> in the body of the message to majordomo@renderx.com from the address
CW> you are subscribed from.
CW> (*) By using the Service, you expressly agree to these Terms of Service
http://www.renderx.com/terms-of-service.html

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
http://www.renderx.com/terms-of-service.html
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Mon Jun 27 07:41:56 2005

This archive was generated by hypermail 2.1.8 : Mon Jun 27 2005 - 07:41:59 PDT