[
https://issues.apache.org/jira/browse/DOSGI-199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schneider resolved DOSGI-199.
---------------------------------------
Resolution: Cannot Reproduce
Assignee: Christian Schneider
Fix Version/s: 2.0.0
This does not seem to happen anymore with the current code.
> NoSuchMethodError in tests (Jetty version mismatch)
> ---------------------------------------------------
>
> Key: DOSGI-199
> URL: https://issues.apache.org/jira/browse/DOSGI-199
> Project: CXF Distributed OSGi
> Issue Type: Bug
> Affects Versions: 1.5.0
> Reporter: Amichai Rothman
> Assignee: Christian Schneider
> Priority: Minor
> Fix For: 2.0.0
>
>
> When running the tests, I sometimes see the exception below. Seems to be a
> mismatch of eclipse/pax-web Jetty dependency versions. While this usually
> goes along with build failure, I've seen one instance where this exception
> was thrown but the build was still successful.
> ERROR: Bundle cxf-dosgi-ri-dsw-cxf [67] EventDispatcher: Error during
> dispatch. (java.lang.NoSuchMethodError:
> org.eclipse.jetty.util.LazyList.removeFromArray([Ljava/lang/Object;Ljava/lang/Object;)[Ljava/lang/Object;)java.lang.NoSuchMethodError:
>
> org.eclipse.jetty.util.LazyList.removeFromArray([Ljava/lang/Object;Ljava/lang/Object;)[Ljava/lang/Object;
> at
> org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.removeServlet(JettyServerImpl.java:189)
> at
> org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Started.removeServlet(ServerControllerImpl.java:271)
> at
> org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.removeServlet(ServerControllerImpl.java:112)
> at
> org.ops4j.pax.web.service.internal.HttpServiceStarted.unregister(HttpServiceStarted.java:205)
> at
> org.ops4j.pax.web.service.internal.HttpServiceProxy.unregister(HttpServiceProxy.java:72)
> at
> org.apache.cxf.dosgi.dsw.handlers.HttpServiceManager$UnregisterListener.serviceChanged(HttpServiceManager.java:177)
> at
> org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:871)
> at
> org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:733)
> at
> org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:662)
> at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3890)
> at org.apache.felix.framework.Felix.access$000(Felix.java:79)
> at org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:728)
> at
> org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:135)
> at
> org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:129)
> at
> org.apache.cxf.dosgi.samples.greeter.impl.rest.Activator.stop(Activator.java:56)
> at
> org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:651)
> at org.apache.felix.framework.Felix.stopBundle(Felix.java:2278)
> at
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1215)
> at
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
> at java.lang.Thread.run(Thread.java:724)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)