[
http://jira.amdatu.org/jira/browse/AMDATU-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivo Ladage - van Doorn updated AMDATU-184:
------------------------------------------
Affects Version/s: 0.0.6
(was: 0.1.0)
> Integration tests succeed, but several exceptions and errors pass by
> --------------------------------------------------------------------
>
> Key: AMDATU-184
> URL: http://jira.amdatu.org/jira/browse/AMDATU-184
> Project: Amdatu
> Issue Type: Bug
> Affects Versions: 0.0.6
> Reporter: Ivo Ladage - van Doorn
> Assignee: Ivo Ladage - van Doorn
> Fix For: 0.0.6
>
>
> The full build log of the latest Bamboo build of the trunk is available on:
> http://bamboo.amdatu.org/bamboo/download/AMDATU-TRUNK/build_logs/AMDATU-TRUNK-326.log
> Now running the integration tests might succeed, but several stacktraces and
> errors pass by while running them (besides the known issue with the
> NullPointerException in cassandra):
> ERROR: Error starting
> file:bundles/org.amdatu.opensocial.gadgetmanagement_0.0.6.SNAPSHOT.jar
> (org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.amdatu.opensocial.gadgetmanagement [19]: Unable to resolve 19.0: missing
> requirement [19.0] package; (&(package=javax.ws.rs)(version>=1.1.0)) - [19.0]
> package; (&(package=javax.ws.rs)(version>=1.1.0)))
> build 17-Nov-2010 00:12:50 ERROR: FrameworkEvent ERROR
> [org.amdatu.opensocial.gadgetmanagement]
> build 17-Nov-2010 00:12:50 org.osgi.framework.BundleException: Unresolved
> constraint in bundle org.amdatu.opensocial.gadgetmanagement [19]: Unable to
> resolve 19.0: missing requirement [19.0] package;
> (&(package=javax.ws.rs)(version>=1.1.0)) - [19.0] package;
> (&(package=javax.ws.rs)(version>=1.1.0))
> build 17-Nov-2010 00:12:50 ERROR: Error starting
> file:bundles/org.amdatu.authorization.login.service_0.0.6.SNAPSHOT.jar
> (org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.amdatu.authorization.login.service [20]: Unable to resolve 20.0: missing
> requirement [20.0] package; (&(package=javax.ws.rs)(version>=1.1.0)) - [20.0]
> package; (&(package=javax.ws.rs)(version>=1.1.0)))
> build 17-Nov-2010 00:12:50 ERROR: FrameworkEvent ERROR
> [org.amdatu.authorization.login.service]
> build 17-Nov-2010 00:12:50 org.osgi.framework.BundleException: Unresolved
> constraint in bundle org.amdatu.authorization.login.service [20]: Unable to
> resolve 20.0: missing requirement [20.0] package;
> (&(package=javax.ws.rs)(version>=1.1.0)) - [20.0] package;
> (&(package=javax.ws.rs)(version>=1.1.0))
> build 17-Nov-2010 00:12:50 org.osgi.framework.BundleException: Unresolved
> constraint in bundle org.amdatu.opensocial.gadgetmanagement [19]: Unable to
> resolve 19.0: missing requirement [19.0] package;
> (&(package=javax.ws.rs)(version>=1.1.0)) - [19.0] package;
> (&(package=javax.ws.rs)(version>=1.1.0))
> build 17-Nov-2010 00:12:50 at
> org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
> build 17-Nov-2010 00:12:50 at
> org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
> build 17-Nov-2010 00:12:50 at
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1188)
> build 17-Nov-2010 00:12:50 at
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
> build 17-Nov-2010 00:12:50 at java.lang.Thread.run(Thread.java:619)
> build 17-Nov-2010 00:12:50 org.apache.felix.log.LogException:
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.amdatu.opensocial.gadgetmanagement [19]: Unable to resolve 19.0: missing
> requirement [19.0] package; (&(package=javax.ws.rs)(version>=1.1.0)) - [19.0]
> package; (&(package=javax.ws.rs)(version>=1.1.0))
> build 17-Nov-2010 00:12:50 at
> org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
> build 17-Nov-2010 00:12:50 at
> org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
> build 17-Nov-2010 00:12:50 at
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1188)
> build 17-Nov-2010 00:12:50 at
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
> build 17-Nov-2010 00:12:50 at java.lang.Thread.run(Thread.java:619)
> build 17-Nov-2010 00:12:50 org.osgi.framework.BundleException: Unresolved
> constraint in bundle org.amdatu.authorization.login.service [20]: Unable to
> resolve 20.0: missing requirement [20.0] package;
> (&(package=javax.ws.rs)(version>=1.1.0)) - [20.0] package;
> (&(package=javax.ws.rs)(version>=1.1.0))
> build 17-Nov-2010 00:12:50 at
> org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
> build 17-Nov-2010 00:12:50 at
> org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
> build 17-Nov-2010 00:12:50 at
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1188)
> build 17-Nov-2010 00:12:50 at
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
> build 17-Nov-2010 00:12:50 at java.lang.Thread.run(Thread.java:619)
> build 17-Nov-2010 00:12:50 org.apache.felix.log.LogException:
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.amdatu.authorization.login.service [20]: Unable to resolve 20.0: missing
> requirement [20.0] package; (&(package=javax.ws.rs)(version>=1.1.0)) - [20.0]
> package; (&(package=javax.ws.rs)(version>=1.1.0))
> build 17-Nov-2010 00:12:50 at
> org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
> build 17-Nov-2010 00:12:50 at
> org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
> build 17-Nov-2010 00:12:50 at
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1188)
> build 17-Nov-2010 00:12:50 at
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
> build 17-Nov-2010 00:12:50 at java.lang.Thread.run(Thread.java:619)
> build 17-Nov-2010 00:13:03 ERROR: Failed to register servlet
> [org.apache.felix.http.whiteboard]
> build 17-Nov-2010 00:13:03 javax.servlet.ServletException: Servlet
> instance already registered
> build 17-Nov-2010 00:13:03 org.apache.felix.log.LogException:
> javax.servlet.ServletException: Servlet instance already registered
> build 17-Nov-2010 00:13:03 at
> org.apache.felix.http.base.internal.handler.HandlerRegistry.addServlet(HandlerRegistry.java:58)
> build 17-Nov-2010 00:13:03 at
> org.apache.felix.http.base.internal.service.HttpServiceImpl.registerServlet(HttpServiceImpl.java:97)
> build 17-Nov-2010 00:13:03 at
> org.apache.felix.http.whiteboard.internal.manager.ServletMapping.register(ServletMapping.java:41)
> build 17-Nov-2010 00:13:03 at
> org.apache.felix.http.whiteboard.internal.manager.ExtenderManagerImpl.addMapping(ExtenderManagerImpl.java:185)
> build 17-Nov-2010 00:13:03 at
> org.apache.felix.http.whiteboard.internal.manager.ExtenderManagerImpl.add(ExtenderManagerImpl.java:137)
> build 17-Nov-2010 00:13:03 at
> org.apache.felix.http.whiteboard.internal.tracker.ServletTracker.added(ServletTracker.java:37)
> build 17-Nov-2010 00:13:03 at
> org.apache.felix.http.whiteboard.internal.tracker.ServletTracker.added(ServletTracker.java:24)
> build 17-Nov-2010 00:13:03 at
> org.apache.felix.http.whiteboard.internal.tracker.AbstractTracker.addingService(AbstractTracker.java:36)
> build 17-Nov-2010 00:13:03 at
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896)
> build 17-Nov-2010 00:13:03 at
> org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)
> build 17-Nov-2010 00:13:03 at
> org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:233)
> build 17-Nov-2010 00:13:03 ERROR: Failed to register filter
> [org.apache.felix.http.whiteboard]
> build 17-Nov-2010 00:13:03 javax.servlet.UnavailableException: Guice
> Injector not found! Make sure you registered
> org.apache.shindig.common.servlet.GuiceServletContextListener as a listener
> build 17-Nov-2010 00:13:03 at java.lang.Thread.run(Thread.java:619)
> build 17-Nov-2010 00:13:03 org.apache.felix.log.LogException:
> javax.servlet.UnavailableException: Guice Injector not found! Make sure you
> registered org.apache.shindig.common.servlet.GuiceServletContextListener as a
> listener
> build 17-Nov-2010 00:13:03 at
> org.apache.shindig.common.servlet.InjectedFilter.init(InjectedFilter.java:42)
> build 17-Nov-2010 00:13:03 at
> org.apache.felix.http.base.internal.handler.FilterHandler.init(FilterHandler.java:50)
> build 17-Nov-2010 00:13:03 at
> org.apache.felix.http.base.internal.handler.HandlerRegistry.addFilter(HandlerRegistry.java:78)
> build 17-Nov-2010 00:13:03 at
> org.apache.felix.http.base.internal.service.HttpServiceImpl.registerFilter(HttpServiceImpl.java:68)
> build 17-Nov-2010 00:13:03 at
> org.apache.felix.http.whiteboard.internal.manager.FilterMapping.register(FilterMapping.java:51)
> build 17-Nov-2010 00:13:03 at
> org.apache.felix.http.whiteboard.internal.manager.FilterMapping.register(FilterMapping.java:44)
> build 17-Nov-2010 00:13:03 at
> org.apache.felix.http.whiteboard.internal.manager.ExtenderManagerImpl.addMapping(ExtenderManagerImpl.java:185)
> build 17-Nov-2010 00:13:53 ERROR: Could not register JSP servlet for
> resource provider
> org.amdatu.test.integration.tests.HttpServiceTest$TestServlet at 1858aa0
> [org.amdatu.web.jsp]
> build 17-Nov-2010 00:13:53 org.osgi.service.http.NamespaceException:
> Servlet with alias already registered
> build 17-Nov-2010 00:13:53 org.apache.felix.log.LogException:
> org.osgi.service.http.NamespaceException: Servlet with alias already
> registered
> build 17-Nov-2010 00:13:53 at
> org.apache.felix.http.base.internal.handler.HandlerRegistry.addServlet(HandlerRegistry.java:62)
> build 17-Nov-2010 00:13:53 at
> org.apache.felix.http.base.internal.service.HttpServiceImpl.registerServlet(HttpServiceImpl.java:97)
> build 17-Nov-2010 00:13:53 at
> org.amdatu.web.jsp.service.ResourceProviderListener.onAdded(ResourceProviderListener.java:103)
> build 17-Nov-2010 00:13:53 at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> build 17-Nov-2010 00:13:53 at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> build 17-Nov-2010 00:13:53 at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> build 17-Nov-2010 00:13:53 at
> java.lang.reflect.Method.invoke(Method.java:597)
> build 17-Nov-2010 00:13:53 at
> org.apache.felix.dm.impl.InvocationUtil.invokeMethod(InvocationUtil.java:45)
> build 17-Nov-2010 00:13:53 ERROR: Could not destroy JspServletServiceImpl
> [org.amdatu.web.jsp]
> build 17-Nov-2010 00:13:53 null
> build 17-Nov-2010 00:13:53 java.lang.NullPointerException
> build 17-Nov-2010 00:13:53 at
> org.apache.jasper.servlet.JspServlet.destroy(JspServlet.java:278)
> build 17-Nov-2010 00:13:53 INFO: ServiceEvent UNREGISTERING
> [org.amdatu.web.jsp]
> build 17-Nov-2010 00:13:53 at
> org.amdatu.web.jsp.service.ResourceProviderJspServlet$3.call(ResourceProviderJspServlet.java:185)
> build 17-Nov-2010 00:13:53 at
> org.amdatu.web.jsp.service.ResourceProviderJspServlet$3.call(ResourceProviderJspServlet.java:183)
> build 17-Nov-2010 00:13:53 at
> org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)
> build 17-Nov-2010 00:13:53 at
> org.amdatu.web.jsp.service.ResourceProviderJspServlet.destroy(ResourceProviderJspServlet.java:181)
> build 17-Nov-2010 00:13:53 at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> build 17-Nov-2010 00:13:53 at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> build 17-Nov-2010 00:13:53 at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> build 17-Nov-2010 00:13:53 at
> java.lang.reflect.Method.invoke(Method.java:597)
> These errors should be fixed. It seems by the way that some of the errors are
> caused by AMDATU-138. More bundles are deployed then are strictly necessary
> for the integration test to run and this might cause issues since Pax Exam
> shuts down the container when the integration test finished. If this is done
> before all other (irrelevant) bundles are started, this might cause
> exceptions and causing the container to not shutdown properly.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira