Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- Running org.motechproject.vxml.it.IntegrationTests
- [INFO] Started jetty 6.1.x at port(s) HTTP:8383
- 2014-08-23 15:21:13,547 main ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.vxml [13]] is not resolved
- 2014-08-23 15:21:13,548 main ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [com.springsource.org.hamcrest [24]] is not resolved
- 2014-08-23 15:21:13,548 main ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-platform-event [31]] is not resolved
- 2014-08-23 15:21:13,557 main ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-admin [45]] is not resolved
- 2014-08-23 15:21:13,558 main ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-scheduler [58]] is not resolved
- 2014-08-23 15:21:13,558 main ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-platform-email [75]] is not resolved
- 2014-08-23 15:21:13,558 main ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-platform-server-config [84]] is not resolved
- 2014-08-23 15:21:13,559 main ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-platform-web-security [122]] is not resolved
- 2014-08-23 15:21:13,559 main ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-platform-server-bundle [158]] is not resolved
- [INFO] Initializing Spring FrameworkServlet 'servlet_1'
- [INFO] Initialized servlet for org.motechproject.motech-platform-osgi-web-util [77]
- Aug 23, 2014 3:21:19 PM com.googlecode.flyway.core.metadatatable.MetaDataTableImpl createIfNotExists
- INFO: Creating Metadata table: `motech_data_services`.`schema_version`
- Aug 23, 2014 3:21:20 PM com.googlecode.flyway.core.command.DbMigrate migrate
- INFO: Current version of schema `motech_data_services`: << Empty Schema >>
- Aug 23, 2014 3:21:20 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
- INFO: Migrating schema `motech_data_services` to version 1
- Aug 23, 2014 3:21:20 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
- INFO: Migrating schema `motech_data_services` to version 2
- Aug 23, 2014 3:21:20 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
- INFO: Migrating schema `motech_data_services` to version 3
- Aug 23, 2014 3:21:20 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
- INFO: Migrating schema `motech_data_services` to version 4
- Aug 23, 2014 3:21:20 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
- INFO: Migrating schema `motech_data_services` to version 5
- Aug 23, 2014 3:21:20 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
- INFO: Migrating schema `motech_data_services` to version 6
- Aug 23, 2014 3:21:20 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
- INFO: Migrating schema `motech_data_services` to version 7
- Aug 23, 2014 3:21:20 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
- INFO: Migrating schema `motech_data_services` to version 8
- Aug 23, 2014 3:21:20 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
- INFO: Migrating schema `motech_data_services` to version 9
- Aug 23, 2014 3:21:20 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
- INFO: Migrating schema `motech_data_services` to version 10
- Aug 23, 2014 3:21:20 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
- INFO: Migrating schema `motech_data_services` to version 11
- Aug 23, 2014 3:21:20 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
- INFO: Migrating schema `motech_data_services` to version 12
- Aug 23, 2014 3:21:20 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
- INFO: Migrating schema `motech_data_services` to version 13
- Aug 23, 2014 3:21:20 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
- INFO: Migrating schema `motech_data_services` to version 14
- Aug 23, 2014 3:21:21 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
- INFO: Migrating schema `motech_data_services` to version 15
- Aug 23, 2014 3:21:21 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
- INFO: Migrating schema `motech_data_services` to version 16
- Aug 23, 2014 3:21:21 PM com.googlecode.flyway.core.command.DbMigrate logSummary
- INFO: Successfully applied 16 migrations to schema `motech_data_services` (execution time 00:01.221s).
- [INFO] Initializing Spring FrameworkServlet 'servlet_3'
- [INFO] Initializing Spring FrameworkServlet 'servlet_4'
- [INFO] Initialized servlet for org.motechproject.motech-platform-dataservices [130]
- [INFO] Initializing Spring FrameworkServlet 'servlet_7'
- [INFO] Initialized servlet for org.motechproject.motech-platform-server-bundle [158]
- [INFO] Initializing Spring FrameworkServlet 'servlet_9'
- [INFO] Initialized servlet for org.motechproject.motech-platform-email [75]
- [INFO] Initializing Spring FrameworkServlet 'servlet_10'
- 2014-08-23 15:22:11,285 main INFO [org.motechproject.vxml.it.StatusControllerIT] setup
- 2014-08-23 15:22:11,305 main INFO [org.motechproject.vxml.it.StatusControllerIT] verifyControllerFunctional
- 2014-08-23 15:22:13,595 main INFO [org.motechproject.vxml.it.StatusControllerIT] setup
- 2014-08-23 15:22:13,609 main INFO [org.motechproject.vxml.it.StatusControllerIT] shouldNotLogWhenPassedIvalidConfig
- 2014-08-23 15:22:13,707 main INFO [org.motechproject.vxml.it.ConfigDataServiceIT] shouldNotCreateDuplicateConfigs
- 2014-08-23 15:22:14,164 main INFO [org.motechproject.vxml.it.ConfigDataServiceIT] shouldStoreLongOutgoingCallUriTemplates
- 2014-08-23 15:22:14,566 main INFO [org.motechproject.vxml.it.ConfigDataServiceIT] verifyServiceFunctional
- 2014-08-23 15:22:15,097 main INFO [org.motechproject.vxml.it.OutboundCallServiceIT] setup()
- 2014-08-23 15:22:15,124 main INFO [org.motechproject.vxml.it.OutboundCallServiceIT] shouldHandleInvalidServerResponse()
- 2014-08-23 15:22:15,153 main DEBUG [org.motechproject.vxml.it.OutboundCallServiceIT] shouldHandleInvalidServerResponse - We have a server listening at http://localhost:8081/bar
- 2014-08-23 15:22:15,162 main DEBUG [org.motechproject.vxml.it.OutboundCallServiceIT] shouldHandleInvalidServerResponse - We create a config Config{name='conf456', ignoredStatusFields='null', outgoingCallUriTemplate='http://localhost:8081/bar', outgoingCallMethod='GET', statusFieldMap='null'}
- 2014-08-23 15:22:15,571 main INFO [org.motechproject.vxml.service.impl.OutboundCallServiceImpl] initiateCall(configName = conf456, params = {})
- 2014-08-23 15:22:15,584 main INFO [org.motechproject.vxml.service.impl.OutboundCallServiceImpl] generateHttpRequest(config = Config{name='conf456', ignoredStatusFields='[]', outgoingCallUriTemplate='http://localhost:8081/bar', outgoingCallMethod='GET', statusFieldMap='{}'}, params = {motechCallId=4de6aa6f-6040-4661-a506-93c767c7109a})
- 2014-08-23 15:22:15,586 main INFO [org.motechproject.vxml.service.impl.OutboundCallServiceImpl] Generated GET http://localhost:8081/bar HTTP/1.1
- 2014-08-23 15:22:15,648 main INFO [org.motechproject.vxml.service.impl.OutboundCallServiceImpl] Could not initiate call: HTTP/1.1 400 Bad Request
- 2014-08-23 15:22:16,400 main INFO [org.motechproject.vxml.it.OutboundCallServiceIT] setup()
- 2014-08-23 15:22:16,425 main INFO [org.motechproject.vxml.it.OutboundCallServiceIT] verifyServiceFunctional()
- 2014-08-23 15:22:16,437 main DEBUG [org.motechproject.vxml.it.OutboundCallServiceIT] verifyServiceFunctional - We have a server listening at http://localhost:8082/foo
- 2014-08-23 15:22:16,437 main DEBUG [org.motechproject.vxml.it.OutboundCallServiceIT] verifyServiceFunctional - We create a config Config{name='conf123', ignoredStatusFields='null', outgoingCallUriTemplate='http://localhost:8082/foo', outgoingCallMethod='GET', statusFieldMap='null'}
- 2014-08-23 15:22:16,816 main INFO [org.motechproject.vxml.service.impl.OutboundCallServiceImpl] initiateCall(configName = conf123, params = {})
- 2014-08-23 15:22:16,829 main INFO [org.motechproject.vxml.service.impl.OutboundCallServiceImpl] generateHttpRequest(config = Config{name='conf123', ignoredStatusFields='[]', outgoingCallUriTemplate='http://localhost:8082/foo', outgoingCallMethod='GET', statusFieldMap='{}'}, params = {motechCallId=5e268dfd-f30f-4813-abe1-4f7038fbd68d})
- 2014-08-23 15:22:16,830 main INFO [org.motechproject.vxml.service.impl.OutboundCallServiceImpl] Generated GET http://localhost:8082/foo HTTP/1.1
- 2014-08-23 15:22:17,646 main DEBUG [org.motechproject.vxml.service.impl.OutboundCallServiceImpl] Sending MotechEvent MotechEvent{id=null, subject='vxml_call_initiated', parameters={to=, timestamp=2014-08-23 15:22:17.6450, provider_extra_data={}, config=conf123}, endTime=null, isLastEvent=false}
- 2014-08-23 15:22:17,670 main INFO [org.motechproject.vxml.it.CallDetailRecordServiceIT] cleanupDatabase
- 2014-08-23 15:22:17,692 main INFO [org.motechproject.vxml.it.CallDetailRecordServiceIT] verifyServiceFunctional
- 2014-08-23 15:22:18,188 main INFO [org.motechproject.vxml.it.CallDetailRecordServiceIT] created call record with motechCallId f7d5e0a6-d030-4803-bcbe-98b8ec15f1e4
- 2014-08-23 15:22:18,204 main INFO [org.motechproject.vxml.it.CallDetailRecordServiceIT] found call record with motechCallId f7d5e0a6-d030-4803-bcbe-98b8ec15f1e4
- 2014-08-23 15:22:18,685 main INFO [org.motechproject.vxml.it.CallDetailRecordServiceIT] created call record with motechCallId 21fc5fc3-39f8-4a60-a923-ed203553e34c
- 2014-08-23 15:22:19,235 main INFO [org.motechproject.vxml.it.CallDetailRecordServiceIT] created call record with motechCallId 21fc5fc3-39f8-4a60-a923-ed203553e34c & providerCallId SOMEPROVIDER-96bb1394-8963-434a-9aff-92def03f54e3
- 2014-08-23 15:22:19,754 main INFO [org.motechproject.vxml.it.CallDetailRecordServiceIT] created call record with providerCallId SOMEPROVIDER-96bb1394-8963-434a-9aff-92def03f54e3
- 2014-08-23 15:22:19,761 main INFO [org.motechproject.vxml.it.CallDetailRecordServiceIT] found call details record(s) with providerCallId SOMEPROVIDER-96bb1394-8963-434a-9aff-92def03f54e3: [CallDetailRecord{timestamp=2014-08-23 15:22:18.7040, configName='config-b', from='from', to='to', callDirection=INBOUND, callStatus=BUSY, motechCallId='21fc5fc3-39f8-4a60-a923-ed203553e34c', providerCallId='SOMEPROVIDER-96bb1394-8963-434a-9aff-92def03f54e3', providerExtraData={baz=bat, foo=bar}}, CallDetailRecord{timestamp=2014-08-23 15:22:19.2460, configName='config-b', from='from', to='to', callDirection=INBOUND, callStatus=ANSWERED, motechCallId='21fc5fc3-39f8-4a60-a923-ed203553e34c', providerCallId='SOMEPROVIDER-96bb1394-8963-434a-9aff-92def03f54e3', providerExtraData={zaz=zat, goo=zar}}]
- ERROR: Bundle org.motechproject.motech-platform-web-security [122] EventDispatcher: Error during dispatch. (java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext)
- java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
- at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:172)
- at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1101)
- at org.motechproject.security.annotations.SecurityAnnotationBeanPostProcessor.getBundleName(SecurityAnnotationBeanPostProcessor.java:132)
- at org.motechproject.security.annotations.SecurityAnnotationBeanPostProcessor.processAnnotations(SecurityAnnotationBeanPostProcessor.java:51)
- at org.motechproject.security.osgi.SecurityContextTracker.addingService(SecurityContextTracker.java:58)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)
- at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
- at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
- at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:894)
- at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
- at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
- at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
- at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419)
- at org.apache.felix.framework.Felix.registerService(Felix.java:3423)
- at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.publishContextAsOsgiServiceIfNecessary(AbstractOsgiBundleApplicationContext.java:361)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:223)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:328)
- at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:290)
- at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137)
- at java.lang.Thread.run(Thread.java:745)
- [INFO] Initialized servlet for org.motechproject.motech-scheduler [58]
- ERROR: Bundle org.motechproject.motech-platform-osgi-web-util [77] EventDispatcher: Error during dispatch. (java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext)
- ERROR: Bundle org.motechproject.motech-platform-osgi-web-util [77] EventDispatcher: Error during dispatch. (java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext)
- java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
- at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:172)
- [INFO] Initializing Spring FrameworkServlet 'servlet_13'
- at org.springframework.context.support.AbstractApplicationContext.containsBean(AbstractApplicationContext.java:1109)
- at org.motechproject.osgi.web.UIServiceTrackers.addTrackerFor(UIServiceTrackers.java:24)
- at org.motechproject.osgi.web.BlueprintApplicationContextTracker.addingService(BlueprintApplicationContextTracker.java:56)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)
- at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
- at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
- at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:894)
- at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
- at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
- at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
- at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419)
- at org.apache.felix.framework.Felix.registerService(Felix.java:3423)
- at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.publishContextAsOsgiServiceIfNecessary(AbstractOsgiBundleApplicationContext.java:361)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:223)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:328)
- at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:290)
- at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137)
- at java.lang.Thread.run(Thread.java:745)
- java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
- at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:172)
- at org.springframework.context.support.AbstractApplicationContext.containsBean(AbstractApplicationContext.java:1109)
- at org.motechproject.osgi.web.UIServiceTrackers.addTrackerFor(UIServiceTrackers.java:24)
- at org.motechproject.osgi.web.BlueprintApplicationContextTracker.addingService(BlueprintApplicationContextTracker.java:56)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)
- at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
- at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
- at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:894)
- at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
- at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
- at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
- at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419)
- at org.apache.felix.framework.Felix.registerService(Felix.java:3423)
- at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.publishContextAsOsgiServiceIfNecessary(AbstractOsgiBundleApplicationContext.java:361)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:223)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:328)
- at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:290)
- at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137)
- at java.lang.Thread.run(Thread.java:745)
- ERROR: Bundle org.motechproject.motech-platform-event [31] EventDispatcher: Error during dispatch. (java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext)
- java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
- at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:172)
- at org.springframework.context.support.AbstractApplicationContext.getBeanDefinitionNames(AbstractApplicationContext.java:1146)
- at org.motechproject.event.listener.proxy.EventAnnotationBeanPostProcessor.processAnnotations(EventAnnotationBeanPostProcessor.java:59)
- at org.motechproject.event.osgi.BlueprintApplicationContextTracker.addingService(BlueprintApplicationContextTracker.java:36)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)
- at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
- at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
- at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:894)
- at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
- at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
- at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)ERROR: Bundle org.motechproject.motech-platform-event [31] EventDispatcher: Error during dispatch. (java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext)
- at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419)
- at org.apache.felix.framework.Felix.registerService(Felix.java:3423)
- at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.publishContextAsOsgiServiceIfNecessary(AbstractOsgiBundleApplicationContext.java:361)
- 2014-08-23 15:22:21,540 EclipseGeminiBlueprintExtenderThread-24 ERROR [org.motechproject.osgi.web.OsgiDispatcherServlet] Context initialization failed
- java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
- at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:172)
- at org.springframework.context.support.AbstractApplicationContext.getInternalParentBeanFactory(AbstractApplicationContext.java:1197)
- at org.springframework.context.support.AbstractRefreshableApplicationContext.createBeanFactory(AbstractRefreshableApplicationContext.java:195)
- at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:128)
- at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:522)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:436)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:60)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:168)
- at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java:164)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$NoDependenciesWaitRefreshExecutor.refresh(AbstractDelegatedExecutionApplicationContext.java:78)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:157)
- at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:631)
- at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:588)
- at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:645)
- at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:508)
- at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:449)
- at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:133)
- at javax.servlet.GenericServlet.init(GenericServlet.java:212)
- at org.apache.felix.http.base.internal.handler.ServletHandler.init(ServletHandler.java:55)
- at org.apache.felix.http.base.internal.handler.HandlerRegistry.addServlet(HandlerRegistry.java:65)
- at org.apache.felix.http.base.internal.service.HttpServiceImpl.registerServlet(HttpServiceImpl.java:95)
- at org.motechproject.osgi.web.HttpServiceTracker.register(HttpServiceTracker.java:68)
- at org.motechproject.osgi.web.HttpServiceTracker.start(HttpServiceTracker.java:47)
- at org.motechproject.osgi.web.HttpServiceTrackers.addTrackerFor(HttpServiceTrackers.java:25)
- at org.motechproject.osgi.web.BlueprintApplicationContextTracker.addingService(BlueprintApplicationContextTracker.java:55)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)
- at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
- at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
- at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:894)
- at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
- at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
- at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
- at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419)
- at org.apache.felix.framework.Felix.registerService(Felix.java:3423)
- at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.publishContextAsOsgiServiceIfNecessary(AbstractOsgiBundleApplicationContext.java:361)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:223)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:328)
- at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:290)
- at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137)
- at java.lang.Thread.run(Thread.java:745)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:223)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:328)[INFO] Initializing Spring FrameworkServlet 'servlet_14'
- at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:290)
- at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137)
- at java.lang.Thread.run(Thread.java:745)
- java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
- at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:172)
- at org.springframework.context.support.AbstractApplicationContext.getBeanDefinitionNames(AbstractApplicationContext.java:1146)
- at org.motechproject.event.listener.proxy.EventAnnotationBeanPostProcessor.processAnnotations(EventAnnotationBeanPostProcessor.java:59)
- at org.motechproject.event.osgi.BlueprintApplicationContextTracker.addingService(BlueprintApplicationContextTracker.java:36)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)
- at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
- at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
- at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:894)
- at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
- at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
- at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
- at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419)
- at org.apache.felix.framework.Felix.registerService(Felix.java:3423)
- at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.publishContextAsOsgiServiceIfNecessary(AbstractOsgiBundleApplicationContext.java:361)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:223)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:328)
- at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:290)
- at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137)
- at java.lang.Thread.run(Thread.java:745)
- 2014-08-23 15:22:21,564 EclipseGeminiBlueprintExtenderThread-23 ERROR [org.motechproject.osgi.web.OsgiDispatcherServlet] Context initialization failed
- java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
- at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:172)
- at org.springframework.context.support.AbstractApplicationContext.getInternalParentBeanFactory(AbstractApplicationContext.java:1197)
- at org.springframework.context.support.AbstractRefreshableApplicationContext.createBeanFactory(AbstractRefreshableApplicationContext.java:195)
- at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:128)
- at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:522)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:436)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:60)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:168)
- at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java:164)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$NoDependenciesWaitRefreshExecutor.refresh(AbstractDelegatedExecutionApplicationContext.java:78)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:157)
- at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:631)
- at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:588)
- at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:645)
- at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:508)
- at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:449)
- at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:133)
- at javax.servlet.GenericServlet.init(GenericServlet.java:212)
- at org.apache.felix.http.base.internal.handler.ServletHandler.init(ServletHandler.java:55)
- at org.apache.felix.http.base.internal.handler.HandlerRegistry.addServlet(HandlerRegistry.java:65)
- at org.apache.felix.http.base.internal.service.HttpServiceImpl.registerServlet(HttpServiceImpl.java:95)
- at org.motechproject.osgi.web.HttpServiceTracker.register(HttpServiceTracker.java:68)
- at org.motechproject.osgi.web.HttpServiceTracker.start(HttpServiceTracker.java:47)
- at org.motechproject.osgi.web.HttpServiceTrackers.addTrackerFor(HttpServiceTrackers.java:25)
- at org.motechproject.osgi.web.BlueprintApplicationContextTracker.addingService(BlueprintApplicationContextTracker.java:55)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)
- at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
- at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
- at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:894)
- at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
- at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
- at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
- at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419)
- at org.apache.felix.framework.Felix.registerService(Felix.java:3423)
- at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.publishContextAsOsgiServiceIfNecessary(AbstractOsgiBundleApplicationContext.java:361)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:223)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:328)
- at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:290)
- at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137)
- at java.lang.Thread.run(Thread.java:745)
- 2014-08-23 15:22:21,567 EclipseGeminiBlueprintExtenderThread-24 ERROR [org.osgi.util.tracker.ServiceTracker] BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
- java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
- at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:172)
- at org.springframework.context.support.AbstractApplicationContext.getInternalParentBeanFactory(AbstractApplicationContext.java:1197)
- at org.springframework.context.support.AbstractRefreshableApplicationContext.createBeanFactory(AbstractRefreshableApplicationContext.java:195)
- at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:128)
- at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:522)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:436)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:60)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:168)
- at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java:164)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$NoDependenciesWaitRefreshExecutor.refresh(AbstractDelegatedExecutionApplicationContext.java:78)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:157)
- at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:631)
- at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:588)
- at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:645)
- at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:508)
- at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:449)
- at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:133)
- at javax.servlet.GenericServlet.init(GenericServlet.java:212)
- at org.apache.felix.http.base.internal.handler.ServletHandler.init(ServletHandler.java:55)
- at org.apache.felix.http.base.internal.handler.HandlerRegistry.addServlet(HandlerRegistry.java:65)
- at org.apache.felix.http.base.internal.service.HttpServiceImpl.registerServlet(HttpServiceImpl.java:95)
- at org.motechproject.osgi.web.HttpServiceTracker.register(HttpServiceTracker.java:68)
- at org.motechproject.osgi.web.HttpServiceTracker.start(HttpServiceTracker.java:47)
- at org.motechproject.osgi.web.HttpServiceTrackers.addTrackerFor(HttpServiceTrackers.java:25)
- at org.motechproject.osgi.web.BlueprintApplicationContextTracker.addingService(BlueprintApplicationContextTracker.java:55)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)
- at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
- at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
- at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:894)
- at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
- at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
- at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
- at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419)
- at org.apache.felix.framework.Felix.registerService(Felix.java:3423)
- at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.publishContextAsOsgiServiceIfNecessary(AbstractOsgiBundleApplicationContext.java:361)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:223)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:328)
- at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:290)
- at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137)
- at java.lang.Thread.run(Thread.java:745)
- ERROR: Bundle org.motechproject.motech-platform-osgi-web-util [77] EventDispatcher: Error during dispatch. (java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext)
- java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
- at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:172)
- at org.springframework.context.support.AbstractApplicationContext.containsBean(AbstractApplicationContext.java:1109)
- at org.motechproject.osgi.web.UIServiceTrackers.addTrackerFor(UIServiceTrackers.java:24)
- at org.motechproject.osgi.web.BlueprintApplicationContextTracker.addingService(BlueprintApplicationContextTracker.java:56)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)
- at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
- at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
- at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:894)
- at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
- at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
- at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
- 2014-08-23 15:22:21,579 EclipseGeminiBlueprintExtenderThread-23 ERROR [org.osgi.util.tracker.ServiceTracker] BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
- java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
- at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:172)
- at org.springframework.context.support.AbstractApplicationContext.getInternalParentBeanFactory(AbstractApplicationContext.java:1197)
- at org.springframework.context.support.AbstractRefreshableApplicationContext.createBeanFactory(AbstractRefreshableApplicationContext.java:195)
- at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:128)
- at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:522)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:436)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:60)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:168)
- at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java:164)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$NoDependenciesWaitRefreshExecutor.refresh(AbstractDelegatedExecutionApplicationContext.java:78)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:157)
- at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:631)
- at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:588)
- at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:645)
- at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:508)
- at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:449)
- at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:133)
- at javax.servlet.GenericServlet.init(GenericServlet.java:212)
- at org.apache.felix.http.base.internal.handler.ServletHandler.init(ServletHandler.java:55)
- at org.apache.felix.http.base.internal.handler.HandlerRegistry.addServlet(HandlerRegistry.java:65)
- at org.apache.felix.http.base.internal.service.HttpServiceImpl.registerServlet(HttpServiceImpl.java:95)
- at org.motechproject.osgi.web.HttpServiceTracker.register(HttpServiceTracker.java:68)
- at org.motechproject.osgi.web.HttpServiceTracker.start(HttpServiceTracker.java:47)
- at org.motechproject.osgi.web.HttpServiceTrackers.addTrackerFor(HttpServiceTrackers.java:25)
- at org.motechproject.osgi.web.BlueprintApplicationContextTracker.addingService(BlueprintApplicationContextTracker.java:55)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)
- at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
- at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
- at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:894)
- at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
- at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
- at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
- at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419)
- at org.apache.felix.framework.Felix.registerService(Felix.java:3423)
- at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.publishContextAsOsgiServiceIfNecessary(AbstractOsgiBundleApplicationContext.java:361)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:223)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:328)
- at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:290)
- at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137)
- at java.lang.Thread.run(Thread.java:745)
- ERROR: Bundle org.motechproject.motech-platform-osgi-web-util [77] EventDispatcher: Error during dispatch. (java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext)
- at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419)
- at org.apache.felix.framework.Felix.registerService(Felix.java:3423)
- at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.publishContextAsOsgiServiceIfNecessary(AbstractOsgiBundleApplicationContext.java:361)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:223)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:328)
- at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:290)
- at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137)
- at java.lang.Thread.run(Thread.java:745)
- java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
- at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:172)
- at org.springframework.context.support.AbstractApplicationContext.containsBean(AbstractApplicationContext.java:1109)
- at org.motechproject.osgi.web.UIServiceTrackers.addTrackerFor(UIServiceTrackers.java:24)
- at org.motechproject.osgi.web.BlueprintApplicationContextTracker.addingService(BlueprintApplicationContextTracker.java:56)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)
- at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
- at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
- at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:894)
- at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
- at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
- at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
- at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419)
- at org.apache.felix.framework.Felix.registerService(Felix.java:3423)
- at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.publishContextAsOsgiServiceIfNecessary(AbstractOsgiBundleApplicationContext.java:361)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:223)
- ERROR: Bundle org.motechproject.motech-platform-event [31] EventDispatcher: Error during dispatch. (java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:328)
- at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:290)
- at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137)
- at java.lang.Thread.run(Thread.java:745)
- java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
- at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:172)
- at org.springframework.context.support.AbstractApplicationContext.getBeanDefinitionNames(AbstractApplicationContext.java:1146)
- at org.motechproject.event.listener.proxy.EventAnnotationBeanPostProcessor.processAnnotations(EventAnnotationBeanPostProcessor.java:59)
- at org.motechproject.event.osgi.BlueprintApplicationContextTracker.addingService(BlueprintApplicationContextTracker.java:36)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)
- at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
- at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
- at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:894)
- at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
- at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
- at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
- at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419)
- at org.apache.felix.framework.Felix.registerService(Felix.java:3423)
- at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.publishContextAsOsgiServiceIfNecessary(AbstractOsgiBundleApplicationContext.java:361)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:223)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:328)
- at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:290)ERROR: Bundle org.motechproject.motech-platform-event [31] EventDispatcher: Error during dispatch. (java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext)
- at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137)
- at java.lang.Thread.run(Thread.java:745)
- java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
- at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:172)
- at org.springframework.context.support.AbstractApplicationContext.getBeanDefinitionNames(AbstractApplicationContext.java:1146)
- at org.motechproject.event.listener.proxy.EventAnnotationBeanPostProcessor.processAnnotations(EventAnnotationBeanPostProcessor.java:59)
- at org.motechproject.event.osgi.BlueprintApplicationContextTracker.addingService(BlueprintApplicationContextTracker.java:36)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)
- at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)
- at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
- at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
- at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:894)
- at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
- at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
- at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
- at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419)
- at org.apache.felix.framework.Felix.registerService(Felix.java:3423)
- at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.publishContextAsOsgiServiceIfNecessary(AbstractOsgiBundleApplicationContext.java:361)
- at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:223)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:328)
- at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
- at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:290)
- at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137)
- at java.lang.Thread.run(Thread.java:745)
- [INFO] Destroying Spring FrameworkServlet 'servlet_3'
- Tests run: 8, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 79.362 sec <<< FAILURE! - in org.motechproject.vxml.it.IntegrationTests
- verifyControllerFunctional(org.motechproject.vxml.it.StatusControllerIT) Time elapsed: 59.693 sec <<< FAILURE!
- java.lang.AssertionError: expected:<200> but was:<404>
- at org.junit.Assert.fail(Assert.java:88)
- at org.junit.Assert.failNotEquals(Assert.java:743)
- at org.junit.Assert.assertEquals(Assert.java:118)
- at org.junit.Assert.assertEquals(Assert.java:555)
- at org.junit.Assert.assertEquals(Assert.java:542)
- at org.motechproject.vxml.it.StatusControllerIT.verifyControllerFunctional(StatusControllerIT.java:100)
- shouldNotLogWhenPassedIvalidConfig(org.motechproject.vxml.it.StatusControllerIT) Time elapsed: 0.08 sec <<< FAILURE!
- java.lang.AssertionError: expected:<500> but was:<404>
- at org.junit.Assert.fail(Assert.java:88)
- at org.junit.Assert.failNotEquals(Assert.java:743)
- at org.junit.Assert.assertEquals(Assert.java:118)
- at org.junit.Assert.assertEquals(Assert.java:555)
- at org.junit.Assert.assertEquals(Assert.java:542)
- at org.motechproject.vxml.it.StatusControllerIT.shouldNotLogWhenPassedIvalidConfig(StatusControllerIT.java:67)
- Results :
- Failed tests:
- StatusControllerIT.verifyControllerFunctional:100 expected:<200> but was:<404>
- StatusControllerIT.shouldNotLogWhenPassedIvalidConfig:67 expected:<500> but was:<404>
- Tests run: 8, Failures: 2, Errors: 0, Skipped: 0
- [INFO]
- [INFO] --- maven-failsafe-plugin:2.17:verify (verify) @ vxml ---
- [INFO] Failsafe report directory: /home/frank/vxml/target/failsafe-reports
- [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 1:35.920s
- [INFO] Finished at: Sat Aug 23 15:22:25 UTC 2014
- [INFO] Final Memory: 34M/337M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.17:verify (verify) on project vxml: There are test failures.
- [ERROR]
- [ERROR] Please refer to /home/frank/vxml/target/failsafe-reports for the individual test results.
- [ERROR] -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement