[MOBY-dev] java.lang.NoSuchMethodError launched when MobyException raised
Iván Párraga García
ivanp at mmb.pcb.ub.es
Mon May 28 10:36:55 UTC 2007
Hi,
Is it possible that the return value of the method
ServiceException.toXML() has changed from String to Node (or any other
XML representation) and this has not been taking into account in some
other parts of jMoby?
Perhaps I'm doing something bad, but when I invoke a service with an
incorrect ouput instead of the proper MobyException (or any other
situtation which provokes the raise of a MobyException) a Java exception
is launched. Here it is an example error stack:
{http://xml.apache.org/axis/}stackTrace:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.jboss.webservice.server.InvokerProviderJSE.invokeServiceEndpoint(InvokerProviderJSE.java:154)
at
org.jboss.webservice.server.InvokerProvider.invokeMethod(InvokerProvider.java:305)
at
org.jboss.axis.providers.java.RPCProvider.invokeTarget(RPCProvider.java:176)
at
org.jboss.webservice.server.InvokerProviderJSE.invokeTarget(InvokerProviderJSE.java:93)
at
org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:121)
at
org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358)
at
org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
at org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560)
at
org.jboss.webservice.server.ServerEngine.invokeInternal(ServerEngine.java:200)
at org.jboss.webservice.server.ServerEngine.invoke(ServerEngine.java:89)
at
org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:911)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
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.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
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(Thread.java:619)
Caused by: java.lang.NoSuchMethodError:
org.biomoby.shared.parser.ServiceException.toXML()Ljava/lang/String;
at
org.biomoby.shared.parser.MobyPackage.toXMLDocument(MobyPackage.java:235)
at org.biomoby.shared.parser.MobyPackage.toXML(MobyPackage.java:213)
at org.biomoby.service.BaseService.error(BaseService.java:330)
at
org.mmb.moby.webservice.plotFeatureAASequence.plotFeatureAASequenceSkel.plotFeatureAASequence(plotFeatureAASequenceSkel.java:72)
... 40 more
Obviously I've recreated and deployed the jmoby.jar. Should I regenerate
skeletons? I imagine (and hope) not.
Regards,
Iván
More information about the MOBY-dev
mailing list