cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Madu" <andrewm...@gmail.com>
Subject cause: java.lang.NoSuchMethodError:
Date Sat, 18 Mar 2006 09:08:29 GMT
Cocoon version 2.1.8
Application server: Jboss 4.0.3SP1
OS: Widows XP Ver. 5.1.2600
Additional Info: the entire cocoon build was copied across from the jboss on
OS X to jboss on windows XP


Hi,
I am getting the following error when running an identical setup on XP that
I do not get when running on OS X 10.4.5. What is the issue here?:

 cause: java.lang.NoSuchMethodError:
org.apache.xerces.dom.NodeImpl.setUserData
(Ljava/lang/String;Ljava/lang/Object;Lorg/apache/xerces/dom3/UserDataHandler;)Ljava/lang/Object;

full exception chain stacktrace[hide]

org.apache.avalon.framework.CascadingRuntimeException:
"resource://org/apache/cocoon/forms/flow/javascript/Form.js", line 47:
uncaught JavaScript exception:
at login (file:/C:/Program Files/jboss-4.0.3SP1
/server/default/./deploy/jbossweb-tomcat55.sar/ROOT.war/beyarecords/flow/login.js,
Line 15)
at Form (resource://org/apache/cocoon/forms/flow/javascript/Form.js, Line
47):
java.lang.NoSuchMethodError: org.apache.xerces.dom.NodeImpl.setUserData
(Ljava/lang/String;Ljava/lang/Object;Lorg/apache/xerces/dom3/UserDataHandler;)Ljava/lang/Object;
 at
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction
(FOM_JavaScriptInterpreter.java:764)
 at
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(
CallFunctionNode.java:135)
 at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:46)
 at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
(PreparableMatchNode.java:130)
 at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:68)
 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(
PipelineNode.java:138)
 at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:68)
 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:92)
 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:234)
 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:176)
 at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
TreeProcessor.java:243)
 at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(
MountNode.java:117)
 at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:46)
 at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
(PreparableMatchNode.java:130)
 at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:68)
 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(
PipelineNode.java:138)
 at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:68)
 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:92)
 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:234)
 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:176)
 at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
TreeProcessor.java:243)
 at org.apache.cocoon.Cocoon.process(Cocoon.java:608)
 at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1123)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:252)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
 at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(
ReplyHeaderFilter.java:81)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:202)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
 at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:213)
 at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:178)
 at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(
CustomPrincipalValve.java:39)
 at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(
SecurityAssociationValve.java:159)
 at org.jboss.web.tomcat.security.JaccContextValve.invoke(
JaccContextValve.java:59)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
 at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:107)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
:148)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:856)
 at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
(Http11Protocol.java:744)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
PoolTcpEndpoint.java:527)
 at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(
MasterSlaveWorkerThread.java:112)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoSuchMethodError:
org.apache.xerces.dom.NodeImpl.setUserData
(Ljava/lang/String;Ljava/lang/Object;Lorg/apache/xerces/dom3/UserDataHandler;)Ljava/lang/Object;
 at
org.apache.cocoon.forms.util.DomHelper$LocationTrackingDOMParser.setLocation
(DomHelper.java:399)
 at
org.apache.cocoon.forms.util.DomHelper$LocationTrackingDOMParser.startElement
(DomHelper.java:374)
 at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
 at
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
Source)
 at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
 at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
 at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
 at org.apache.cocoon.forms.util.DomHelper.parse(DomHelper.java:348)
 at org.apache.cocoon.forms.DefaultFormManager.getFormDefinition(
DefaultFormManager.java:154)
 at org.apache.cocoon.forms.DefaultFormManager.createForm(
DefaultFormManager.java:111)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:230)
 at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
 at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(
ContinuationInterpreter.java:1134)
 at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(
ContinuationInterpreter.java:190)
 at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(
ContinuationInterpreter.java:138)
 at org.mozilla.javascript.continuations.InterpretedFunctionImpl.call(
InterpretedFunctionImpl.java:121)
 at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
 at
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction
(FOM_JavaScriptInterpreter.java:755)
 ... 42 more

stacktrace[hide]

java.lang.NoSuchMethodError: org.apache.xerces.dom.NodeImpl.setUserData
(Ljava/lang/String;Ljava/lang/Object;Lorg/apache/xerces/dom3/UserDataHandler;)Ljava/lang/Object;
 at
org.apache.cocoon.forms.util.DomHelper$LocationTrackingDOMParser.setLocation
(DomHelper.java:399)
 at
org.apache.cocoon.forms.util.DomHelper$LocationTrackingDOMParser.startElement
(DomHelper.java:374)
 at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
 at
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
Source)
 at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
 at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
 at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
 at org.apache.cocoon.forms.util.DomHelper.parse(DomHelper.java:348)
 at org.apache.cocoon.forms.DefaultFormManager.getFormDefinition(
DefaultFormManager.java:154)
 at org.apache.cocoon.forms.DefaultFormManager.createForm(
DefaultFormManager.java:111)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:230)
 at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
 at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(
ContinuationInterpreter.java:1134)
 at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(
ContinuationInterpreter.java:190)
 at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(
ContinuationInterpreter.java:138)
 at org.mozilla.javascript.continuations.InterpretedFunctionImpl.call(
InterpretedFunctionImpl.java:121)
 at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
 at
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction
(FOM_JavaScriptInterpreter.java:755)
 at
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(
CallFunctionNode.java:135)
 at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:46)
 at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
(PreparableMatchNode.java:130)
 at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:68)
 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(
PipelineNode.java:138)
 at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:68)
 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:92)
 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:234)
 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:176)
 at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
TreeProcessor.java:243)
 at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(
MountNode.java:117)
 at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:46)
 at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
(PreparableMatchNode.java:130)
 at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:68)
 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(
PipelineNode.java:138)
 at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:68)
 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:92)
 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:234)
 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:176)
 at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
TreeProcessor.java:243)
 at org.apache.cocoon.Cocoon.process(Cocoon.java:608)
 at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1123)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:252)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
 at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(
ReplyHeaderFilter.java:81)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:202)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
 at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:213)
 at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:178)
 at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(
CustomPrincipalValve.java:39)
 at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(
SecurityAssociationValve.java:159)
 at org.jboss.web.tomcat.security.JaccContextValve.invoke(
JaccContextValve.java:59)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
 at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:107)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
:148)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:856)
 at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
(Http11Protocol.java:744)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
PoolTcpEndpoint.java:527)
 at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(
MasterSlaveWorkerThread.java:112)
 at java.lang.Thread.run(Unknown Source)

regards

Andrew

Mime
View raw message