Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JIRA is unable to enable the testkit plugin

Sander Kleykens July 2, 2013

I am trying to write some integration tests for a gadget using PageObjects. I'm following the tutorial over here. More specifically, it mentions having the test class extend the TestBase class. After having done this, I try to run atlas-integration-test on my nearly empty class (it contains 1 empty @Before function and 1 empty @Test function). It fails with the following error:

java.lang.ExceptionInInitializerError
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at org.junit.runners.BlockJUnit4ClassRunner.createTest(BlockJUnit4ClassRunner.java:168)
	at org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:213)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:210)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
	at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
	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.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172)
	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70)
Caused by: org.mozilla.javascript.WrappedException: Wrapped com.sun.jersey.api.client.UniformInterfaceException: Client response status: 404 (TestScript#1)
	at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1773)
	at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:183)
	at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
	at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119)
	at org.mozilla.javascript.gen.c1._c0(TestScript:1)
	at org.mozilla.javascript.gen.c1.call(TestScript)
	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
	at org.mozilla.javascript.gen.c1.call(TestScript)
	at org.mozilla.javascript.gen.c1.exec(TestScript)
	at org.mozilla.javascript.Context.evaluateString(Context.java:1104)
	at com.atlassian.jira.tests.JicWebSudoControl.disable(JicWebSudoControl.java:34)
	at com.atlassian.jira.tests.FuncTestHelper.<init>(FuncTestHelper.java:55)
	at com.atlassian.jira.tests.TestBase.<clinit>(TestBase.java:38)
	... 28 more
Caused by: com.sun.jersey.api.client.UniformInterfaceException: Client response status: 404
	at com.sun.jersey.api.client.WebResource.handle(WebResource.java:686)
	at com.sun.jersey.api.client.WebResource.post(WebResource.java:251)
	at com.atlassian.jira.testkit.client.WebSudoControl.disable(WebSudoControl.java:40)
	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.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
	... 40 more

So I dig a little deeper and notice that when the test runs, it sends a POST request on the following path: /jira/rest/testkit-test/1.0/websudo?os_authType=basic&os_username=admin&os_password=admin. This is where the server responds with the 404.

Then I noticed that the TestKit plugin isn't enabled in JIRA. Looking at the log of an atlas-run shows the following exceptions which explain why:

[INFO] [talledLocalContainer] 2013-07-03 17:58:52,214 localhost-startStop-1 INFO      [atlassian.plugin.manager.DefaultPluginManager] Found dependent enabled plugins for uninstalled plugin 'com.atlassian.jira.tests.jira-testkit-plugin': [].  Disabling...
[INFO] [talledLocalContainer] 2013-07-03 17:58:52,214 localhost-startStop-1 INFO      [atlassian.plugin.manager.DefaultPluginManager] Updating plugin 'com.atlassian.jira.tests.jira-testkit-plugin' to 'com.atlassian.jira.tests.jira-testkit-plugin'
[INFO] [talledLocalContainer] 2013-07-03 17:58:52,252 localhost-startStop-1 INFO      [atlassian.plugin.loaders.ScanningPluginLoader] Removed plugin com.atlassian.jira.tests.jira-testkit-plugin
[INFO] [talledLocalContainer] 2013-07-03 17:58:54,763 localhost-startStop-1 INFO      [atlassian.plugin.manager.DefaultPluginManager] Found dependent enabled plugins for uninstalled plugin 'com.atlassian.upm.atlassian-universal-plugin-manager-plugin': [].  Disabling...
[INFO] [talledLocalContainer] 2013-07-03 17:58:54,763 localhost-startStop-1 INFO      [atlassian.plugin.manager.DefaultPluginManager] Updating plugin 'com.atlassian.upm.atlassian-universal-plugin-manager-plugin' to 'com.atlassian.upm.atlassian-universal-plugin-manager-plugin'
[INFO] [talledLocalContainer] 2013-07-03 17:58:54,763 localhost-startStop-1 INFO      [atlassian.plugin.manager.DefaultPluginManager] Disabling com.atlassian.upm.atlassian-universal-plugin-manager-plugin
[INFO] [talledLocalContainer] 2013-07-03 17:58:54,807 Timer-1 ERROR      [atlassian.upm.schedule.UpmSchedulerImpl] Error while unscheduling job: LocalPluginLicenseNotificationPluginJob-job
[INFO] [talledLocalContainer] java.lang.IllegalStateException: It is illegal to call the ServiceManager before all components are loaded. Please use interface com.atlassian.jira.extension.Startable to get notified when JIRA has started.
[INFO] [talledLocalContainer] 	at com.atlassian.jira.service.DefaultServiceManager.ensureServicesLoaded(DefaultServiceManager.java:294)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.service.DefaultServiceManager.getServices(DefaultServiceManager.java:74)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[INFO] [talledLocalContainer] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO] [talledLocalContainer] 	at java.lang.reflect.Method.invoke(Method.java:597)
[INFO] [talledLocalContainer] 	at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
[INFO] [talledLocalContainer] 	at com.sun.proxy.$Proxy418.getServices(Unknown Source)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[INFO] [talledLocalContainer] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO] [talledLocalContainer] 	at java.lang.reflect.Method.invoke(Method.java:597)
[INFO] [talledLocalContainer] 	at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)
[INFO] [talledLocalContainer] 	at com.sun.proxy.$Proxy418.getServices(Unknown Source)
[INFO] [talledLocalContainer] 	at com.atlassian.sal.jira.scheduling.JiraPluginScheduler.removeServicesByName(JiraPluginScheduler.java:271)
[INFO] [talledLocalContainer] 	at com.atlassian.sal.jira.scheduling.JiraPluginScheduler.unscheduleJob(JiraPluginScheduler.java:135)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[INFO] [talledLocalContainer] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO] [talledLocalContainer] 	at java.lang.reflect.Method.invoke(Method.java:597)
[INFO] [talledLocalContainer] 	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[INFO] [talledLocalContainer] 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
[INFO] [talledLocalContainer] 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[INFO] [talledLocalContainer] 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
[INFO] [talledLocalContainer] 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
[INFO] [talledLocalContainer] 	at com.sun.proxy.$Proxy1321.unscheduleJob(Unknown Source)
[INFO] [talledLocalContainer] 	at com.atlassian.upm.schedule.UpmSchedulerImpl.unschedule(UpmSchedulerImpl.java:214)
[INFO] [talledLocalContainer] 	at com.atlassian.upm.schedule.UpmSchedulerImpl.unscheduleAllJobs(UpmSchedulerImpl.java:121)
[INFO] [talledLocalContainer] 	at com.atlassian.upm.schedule.UpmSchedulerImpl.destroy(UpmSchedulerImpl.java:69)
[INFO] [talledLocalContainer] 	at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:151)
[INFO] [talledLocalContainer] 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:487)
[INFO] [talledLocalContainer] 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:462)
[INFO] [talledLocalContainer] 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:430)
[INFO] [talledLocalContainer] 	at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:853)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.destroyBeans(AbstractOsgiBundleApplicationContext.java:204)
[INFO] [talledLocalContainer] 	at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:831)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.doClose(AbstractOsgiBundleApplicationContext.java:197)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$501(AbstractDelegatedExecutionApplicationContext.java:69)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$2.run(AbstractDelegatedExecutionApplicationContext.java:214)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalClose(AbstractDelegatedExecutionApplicationContext.java:210)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.close(DependencyWaiterApplicationContextExecutor.java:374)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.doClose(AbstractDelegatedExecutionApplicationContext.java:236)
[INFO] [talledLocalContainer] 	at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:794)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.extender.internal.activator.ContextLoaderListener$3.run(ContextLoaderListener.java:805)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.extender.internal.util.concurrent.RunnableTimedExecution$MonitoredRunnable.run(RunnableTimedExecution.java:60)
[INFO] [talledLocalContainer] 	at org.springframework.scheduling.timer.DelegatingTimerTask.run(DelegatingTimerTask.java:66)
[INFO] [talledLocalContainer] 	at java.util.TimerThread.mainLoop(Timer.java:512)
[INFO] [talledLocalContainer] 	at java.util.TimerThread.run(Timer.java:462)
[INFO] [talledLocalContainer] 2013-07-03 17:58:54,819 Timer-1 ERROR      [atlassian.upm.schedule.UpmSchedulerImpl] Error while unscheduling job: RemotePluginLicenseNotificationPluginJob-job
[INFO] [talledLocalContainer] java.lang.IllegalStateException: It is illegal to call the ServiceManager before all components are loaded. Please use interface com.atlassian.jira.extension.Startable to get notified when JIRA has started.
[INFO] [talledLocalContainer] 	at com.atlassian.jira.service.DefaultServiceManager.ensureServicesLoaded(DefaultServiceManager.java:294)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.service.DefaultServiceManager.getServices(DefaultServiceManager.java:74)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[INFO] [talledLocalContainer] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO] [talledLocalContainer] 	at java.lang.reflect.Method.invoke(Method.java:597)
[INFO] [talledLocalContainer] 	at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
[INFO] [talledLocalContainer] 	at com.sun.proxy.$Proxy418.getServices(Unknown Source)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[INFO] [talledLocalContainer] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO] [talledLocalContainer] 	at java.lang.reflect.Method.invoke(Method.java:597)
[INFO] [talledLocalContainer] 	at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)
[INFO] [talledLocalContainer] 	at com.sun.proxy.$Proxy418.getServices(Unknown Source)
[INFO] [talledLocalContainer] 	at com.atlassian.sal.jira.scheduling.JiraPluginScheduler.removeServicesByName(JiraPluginScheduler.java:271)
[INFO] [talledLocalContainer] 	at com.atlassian.sal.jira.scheduling.JiraPluginScheduler.unscheduleJob(JiraPluginScheduler.java:135)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[INFO] [talledLocalContainer] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO] [talledLocalContainer] 	at java.lang.reflect.Method.invoke(Method.java:597)
[INFO] [talledLocalContainer] 	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[INFO] [talledLocalContainer] 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
[INFO] [talledLocalContainer] 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[INFO] [talledLocalContainer] 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
[INFO] [talledLocalContainer] 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
[INFO] [talledLocalContainer] 	at com.sun.proxy.$Proxy1321.unscheduleJob(Unknown Source)
[INFO] [talledLocalContainer] 	at com.atlassian.upm.schedule.UpmSchedulerImpl.unschedule(UpmSchedulerImpl.java:214)
[INFO] [talledLocalContainer] 	at com.atlassian.upm.schedule.UpmSchedulerImpl.unscheduleAllJobs(UpmSchedulerImpl.java:121)
[INFO] [talledLocalContainer] 	at com.atlassian.upm.schedule.UpmSchedulerImpl.destroy(UpmSchedulerImpl.java:69)
[INFO] [talledLocalContainer] 	at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:151)
[INFO] [talledLocalContainer] 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:487)
[INFO] [talledLocalContainer] 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:462)
[INFO] [talledLocalContainer] 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:430)
[INFO] [talledLocalContainer] 	at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:853)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.destroyBeans(AbstractOsgiBundleApplicationContext.java:204)
[INFO] [talledLocalContainer] 	at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:831)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.doClose(AbstractOsgiBundleApplicationContext.java:197)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$501(AbstractDelegatedExecutionApplicationContext.java:69)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$2.run(AbstractDelegatedExecutionApplicationContext.java:214)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalClose(AbstractDelegatedExecutionApplicationContext.java:210)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.close(DependencyWaiterApplicationContextExecutor.java:374)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.doClose(AbstractDelegatedExecutionApplicationContext.java:236)
[INFO] [talledLocalContainer] 	at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:794)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.extender.internal.activator.ContextLoaderListener$3.run(ContextLoaderListener.java:805)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.extender.internal.util.concurrent.RunnableTimedExecution$MonitoredRunnable.run(RunnableTimedExecution.java:60)
[INFO] [talledLocalContainer] 	at org.springframework.scheduling.timer.DelegatingTimerTask.run(DelegatingTimerTask.java:66)
[INFO] [talledLocalContainer] 	at java.util.TimerThread.mainLoop(Timer.java:512)
[INFO] [talledLocalContainer] 	at java.util.TimerThread.run(Timer.java:462)
[INFO] [talledLocalContainer] 2013-07-03 17:58:54,821 Timer-1 ERROR      [atlassian.upm.schedule.UpmSchedulerImpl] Error while unscheduling job: PluginRequestCheckPluginJob-job
[INFO] [talledLocalContainer] java.lang.IllegalStateException: It is illegal to call the ServiceManager before all components are loaded. Please use interface com.atlassian.jira.extension.Startable to get notified when JIRA has started.
[INFO] [talledLocalContainer] 	at com.atlassian.jira.service.DefaultServiceManager.ensureServicesLoaded(DefaultServiceManager.java:294)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.service.DefaultServiceManager.getServices(DefaultServiceManager.java:74)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[INFO] [talledLocalContainer] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO] [talledLocalContainer] 	at java.lang.reflect.Method.invoke(Method.java:597)
[INFO] [talledLocalContainer] 	at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
[INFO] [talledLocalContainer] 	at com.sun.proxy.$Proxy418.getServices(Unknown Source)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[INFO] [talledLocalContainer] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO] [talledLocalContainer] 	at java.lang.reflect.Method.invoke(Method.java:597)
[INFO] [talledLocalContainer] 	at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)
[INFO] [talledLocalContainer] 	at com.sun.proxy.$Proxy418.getServices(Unknown Source)
[INFO] [talledLocalContainer] 	at com.atlassian.sal.jira.scheduling.JiraPluginScheduler.removeServicesByName(JiraPluginScheduler.java:271)
[INFO] [talledLocalContainer] 	at com.atlassian.sal.jira.scheduling.JiraPluginScheduler.unscheduleJob(JiraPluginScheduler.java:135)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[INFO] [talledLocalContainer] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO] [talledLocalContainer] 	at java.lang.reflect.Method.invoke(Method.java:597)
[INFO] [talledLocalContainer] 	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[INFO] [talledLocalContainer] 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
[INFO] [talledLocalContainer] 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[INFO] [talledLocalContainer] 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
[INFO] [talledLocalContainer] 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
[INFO] [talledLocalContainer] 	at com.sun.proxy.$Proxy1321.unscheduleJob(Unknown Source)
[INFO] [talledLocalContainer] 	at com.atlassian.upm.schedule.UpmSchedulerImpl.unschedule(UpmSchedulerImpl.java:214)
[INFO] [talledLocalContainer] 	at com.atlassian.upm.schedule.UpmSchedulerImpl.unscheduleAllJobs(UpmSchedulerImpl.java:121)
[INFO] [talledLocalContainer] 	at com.atlassian.upm.schedule.UpmSchedulerImpl.destroy(UpmSchedulerImpl.java:69)
[INFO] [talledLocalContainer] 	at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:151)
[INFO] [talledLocalContainer] 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:487)
[INFO] [talledLocalContainer] 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:462)
[INFO] [talledLocalContainer] 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:430)
[INFO] [talledLocalContainer] 	at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:853)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.destroyBeans(AbstractOsgiBundleApplicationContext.java:204)
[INFO] [talledLocalContainer] 	at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:831)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.doClose(AbstractOsgiBundleApplicationContext.java:197)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$501(AbstractDelegatedExecutionApplicationContext.java:69)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$2.run(AbstractDelegatedExecutionApplicationContext.java:214)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalClose(AbstractDelegatedExecutionApplicationContext.java:210)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.close(DependencyWaiterApplicationContextExecutor.java:374)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.doClose(AbstractDelegatedExecutionApplicationContext.java:236)
[INFO] [talledLocalContainer] 	at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:794)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.extender.internal.activator.ContextLoaderListener$3.run(ContextLoaderListener.java:805)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.extender.internal.util.concurrent.RunnableTimedExecution$MonitoredRunnable.run(RunnableTimedExecution.java:60)
[INFO] [talledLocalContainer] 	at org.springframework.scheduling.timer.DelegatingTimerTask.run(DelegatingTimerTask.java:66)
[INFO] [talledLocalContainer] 	at java.util.TimerThread.mainLoop(Timer.java:512)
[INFO] [talledLocalContainer] 	at java.util.TimerThread.run(Timer.java:462)
[INFO] [talledLocalContainer] 2013-07-03 17:58:54,822 Timer-1 ERROR      [atlassian.upm.schedule.UpmSchedulerImpl] Error while unscheduling job: PluginUpdateCheckPluginJob-job
[INFO] [talledLocalContainer] java.lang.IllegalStateException: It is illegal to call the ServiceManager before all components are loaded. Please use interface com.atlassian.jira.extension.Startable to get notified when JIRA has started.
[INFO] [talledLocalContainer] 	at com.atlassian.jira.service.DefaultServiceManager.ensureServicesLoaded(DefaultServiceManager.java:294)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.service.DefaultServiceManager.getServices(DefaultServiceManager.java:74)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[INFO] [talledLocalContainer] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO] [talledLocalContainer] 	at java.lang.reflect.Method.invoke(Method.java:597)
[INFO] [talledLocalContainer] 	at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
[INFO] [talledLocalContainer] 	at com.sun.proxy.$Proxy418.getServices(Unknown Source)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[INFO] [talledLocalContainer] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO] [talledLocalContainer] 	at java.lang.reflect.Method.invoke(Method.java:597)
[INFO] [talledLocalContainer] 	at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)
[INFO] [talledLocalContainer] 	at com.sun.proxy.$Proxy418.getServices(Unknown Source)
[INFO] [talledLocalContainer] 	at com.atlassian.sal.jira.scheduling.JiraPluginScheduler.removeServicesByName(JiraPluginScheduler.java:271)
[INFO] [talledLocalContainer] 	at com.atlassian.sal.jira.scheduling.JiraPluginScheduler.unscheduleJob(JiraPluginScheduler.java:135)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[INFO] [talledLocalContainer] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO] [talledLocalContainer] 	at java.lang.reflect.Method.invoke(Method.java:597)
[INFO] [talledLocalContainer] 	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[INFO] [talledLocalContainer] 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
[INFO] [talledLocalContainer] 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[INFO] [talledLocalContainer] 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
[INFO] [talledLocalContainer] 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
[INFO] [talledLocalContainer] 	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
[INFO] [talledLocalContainer] 	at com.sun.proxy.$Proxy1321.unscheduleJob(Unknown Source)
[INFO] [talledLocalContainer] 	at com.atlassian.upm.schedule.UpmSchedulerImpl.unschedule(UpmSchedulerImpl.java:214)
[INFO] [talledLocalContainer] 	at com.atlassian.upm.schedule.UpmSchedulerImpl.unscheduleAllJobs(UpmSchedulerImpl.java:121)
[INFO] [talledLocalContainer] 	at com.atlassian.upm.schedule.UpmSchedulerImpl.destroy(UpmSchedulerImpl.java:69)
[INFO] [talledLocalContainer] 	at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:151)
[INFO] [talledLocalContainer] 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:487)
[INFO] [talledLocalContainer] 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:462)
[INFO] [talledLocalContainer] 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:430)
[INFO] [talledLocalContainer] 	at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:853)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.destroyBeans(AbstractOsgiBundleApplicationContext.java:204)
[INFO] [talledLocalContainer] 	at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:831)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.doClose(AbstractOsgiBundleApplicationContext.java:197)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$501(AbstractDelegatedExecutionApplicationContext.java:69)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$2.run(AbstractDelegatedExecutionApplicationContext.java:214)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalClose(AbstractDelegatedExecutionApplicationContext.java:210)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.close(DependencyWaiterApplicationContextExecutor.java:374)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.doClose(AbstractDelegatedExecutionApplicationContext.java:236)
[INFO] [talledLocalContainer] 	at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:794)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.extender.internal.activator.ContextLoaderListener$3.run(ContextLoaderListener.java:805)
[INFO] [talledLocalContainer] 	at org.springframework.osgi.extender.internal.util.concurrent.RunnableTimedExecution$MonitoredRunnable.run(RunnableTimedExecution.java:60)
[INFO] [talledLocalContainer] 	at org.springframework.scheduling.timer.DelegatingTimerTask.run(DelegatingTimerTask.java:66)
[INFO] [talledLocalContainer] 	at java.util.TimerThread.mainLoop(Timer.java:512)
[INFO] [talledLocalContainer] 	at java.util.TimerThread.run(Timer.java:462)
[INFO] [talledLocalContainer] 2013-07-03 17:58:55,092 localhost-startStop-1 ERROR      [plugin.osgi.factory.OsgiPlugin] Detected an error (BundleException) enabling the plugin 'com.atlassian.jira.tests.jira-testkit-plugin' : Unresolved constraint in bundle com.atlassian.jira.jira-testkit-plugin [110]: Unable to resolve 110.0: missing requirement [110.0] package; (&(package=org.apache.commons.lang)(version>=2.6.0)).  This error usually occurs when your plugin imports a package from another bundle with a specific version constraint and either the bundle providing that package doesn't meet those version constraints, or there is no bundle available that provides the specified package. For more details on how to fix this, see http://confluence.atlassian.com/x/1xy6D
[INFO] [talledLocalContainer] 2013-07-03 17:58:55,092 localhost-startStop-1 WARN      [plugin.osgi.factory.OsgiPlugin] Unable to enable plugin 'com.atlassian.jira.tests.jira-testkit-plugin'
[INFO] [talledLocalContainer] com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.jira.tests.jira-testkit-plugin
[INFO] [talledLocalContainer] 	at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:445)
[INFO] [talledLocalContainer] 	at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:237)
[INFO] [talledLocalContainer] 	at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:114)
[INFO] [talledLocalContainer] 	at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:99)
[INFO] [talledLocalContainer] 	at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:725)
[INFO] [talledLocalContainer] 	at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:178)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:58)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:635)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.ComponentManager.startJIRA(ComponentManager.java:214)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:208)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.ComponentManager.start(ComponentManager.java:193)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.upgrade.PluginSystemLauncher.start(PluginSystemLauncher.java:23)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.startup.DefaultJiraLauncher$3.run(DefaultJiraLauncher.java:103)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:323)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:211)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:96)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.startup.DefaultJiraLauncher.access$100(DefaultJiraLauncher.java:23)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.startup.DefaultJiraLauncher$1.run(DefaultJiraLauncher.java:62)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:33)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:57)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:54)
[INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)
[INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)
[INFO] [talledLocalContainer] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
[INFO] [talledLocalContainer] 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
[INFO] [talledLocalContainer] 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
[INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
[INFO] [talledLocalContainer] 	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)
[INFO] [talledLocalContainer] 	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1654)
[INFO] [talledLocalContainer] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
[INFO] [talledLocalContainer] 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
[INFO] [talledLocalContainer] 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
[INFO] [talledLocalContainer] 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
[INFO] [talledLocalContainer] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
[INFO] [talledLocalContainer] 	at java.lang.Thread.run(Thread.java:680)
[INFO] [talledLocalContainer] Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle com.atlassian.jira.jira-testkit-plugin [110]: Unable to resolve 110.0: missing requirement [110.0] package; (&(package=org.apache.commons.lang)(version>=2.6.0))
[INFO] [talledLocalContainer] 	at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3409)
[INFO] [talledLocalContainer] 	at org.apache.felix.framework.Felix.startBundle(Felix.java:1709)
[INFO] [talledLocalContainer] 	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
[INFO] [talledLocalContainer] 	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
[INFO] [talledLocalContainer] 	at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:417)
[INFO] [talledLocalContainer] 	... 34 more
[INFO] [talledLocalContainer] 2013-07-03 17:58:55,094 localhost-startStop-1 ERROR      [atlassian.plugin.manager.PluginEnabler] Unable to enable plugin com.atlassian.jira.tests.jira-testkit-plugin
[INFO] [talledLocalContainer] com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.jira.tests.jira-testkit-plugin
[INFO] [talledLocalContainer] 	at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:445)
[INFO] [talledLocalContainer] 	at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:237)
[INFO] [talledLocalContainer] 	at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:114)
[INFO] [talledLocalContainer] 	at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:99)
[INFO] [talledLocalContainer] 	at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:725)
[INFO] [talledLocalContainer] 	at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:178)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:58)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:635)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.ComponentManager.startJIRA(ComponentManager.java:214)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:208)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.ComponentManager.start(ComponentManager.java:193)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.upgrade.PluginSystemLauncher.start(PluginSystemLauncher.java:23)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.startup.DefaultJiraLauncher$3.run(DefaultJiraLauncher.java:103)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:323)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:211)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:96)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.startup.DefaultJiraLauncher.access$100(DefaultJiraLauncher.java:23)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.startup.DefaultJiraLauncher$1.run(DefaultJiraLauncher.java:62)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:33)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:57)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:54)
[INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)
[INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)
[INFO] [talledLocalContainer] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
[INFO] [talledLocalContainer] 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
[INFO] [talledLocalContainer] 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
[INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
[INFO] [talledLocalContainer] 	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)
[INFO] [talledLocalContainer] 	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1654)
[INFO] [talledLocalContainer] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
[INFO] [talledLocalContainer] 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
[INFO] [talledLocalContainer] 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
[INFO] [talledLocalContainer] 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
[INFO] [talledLocalContainer] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
[INFO] [talledLocalContainer] 	at java.lang.Thread.run(Thread.java:680)
[INFO] [talledLocalContainer] Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle com.atlassian.jira.jira-testkit-plugin [110]: Unable to resolve 110.0: missing requirement [110.0] package; (&(package=org.apache.commons.lang)(version>=2.6.0))
[INFO] [talledLocalContainer] 	at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3409)
[INFO] [talledLocalContainer] 	at org.apache.felix.framework.Felix.startBundle(Felix.java:1709)
[INFO] [talledLocalContainer] 	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
[INFO] [talledLocalContainer] 	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
[INFO] [talledLocalContainer] 	at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:417)
[INFO] [talledLocalContainer] 	... 34 more

The most important line is probably "Detected an error (BundleException) enabling the plugin 'com.atlassian.jira.tests.jira-testkit-plugin' : Unresolved constraint in bundle com.atlassian.jira.jira-testkit-plugin [110]: Unable to resolve 110.0: missing requirement [110.0] package; (&(package=org.apache.commons.lang)(version>=2.6.0)). This error usually occurs when your plugin imports a package from another bundle with a specific version constraint and either the bundle providing that package doesn't meet those version constraints, or there is no bundle available that provides the specified package. For more details on how to fix this, see http://confluence.atlassian.com/x/1xy6D".

The supplied link appears to be broken.

I've already tried adding

<dependency>
	<groupId>commons-lang</groupId>
	<artifactId>commons-lang</artifactId>
	<version>2.6</version>
</dependency>

to my pom.xml, but it doesn't help.

This is my dependency listing for the testkit-client:

<dependency>
    <groupId>com.atlassian.jira.tests</groupId>
    <artifactId>jira-testkit-client</artifactId>
    <version>6.0.26</version>
    <scope>test</scope>
</dependency>

This is the part of my pom.xml that includes the testkit-plugin:

<plugin>
    <groupId>com.atlassian.maven.plugins</groupId>
    <artifactId>maven-jira-plugin</artifactId>
    <version>${amps.version}</version>
    <extensions>true</extensions>
    <configuration>
        <productVersion>${jira.version}</productVersion>
        <productDataVersion>${jira.version}</productDataVersion>
        <pluginArtifacts>
             <pluginArtifact>
                  <groupId>com.atlassian.jira.tests</groupId>
                  <artifactId>jira-testkit-plugin</artifactId>
                  <version>${testkit.version}</version>
             </pluginArtifact>
         </pluginArtifacts>
         <productDataPath>${basedir}/src/test/resources/generated-test-resources.zip</productDataPath>
     </configuration>
</plugin>

I have also tried looking at the OSGi debugging information of the "JIRA TestKit - Plugin" supplied by JIRA. It says there is a "org.apache.commons.lang" and "org.apache.commons.lang.builder", both version 2.6, under Import-Package.

Does anyone know how to fix the missing requirement so the TestKit plugin can be enabled?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Boris Georgiev _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 10, 2013

I had simular problem when migrated to jira6 and it appeared that I have wrong dependency to jira - I was using dependency to atlassian-jira instead to jira-api and jira-core. Also you might need to update the version of testkit you depend on - see the latest available here https://maven.atlassian.com/index.html#nexus-search;gav~com.atlassian.jira.tests~jira-testkit-client~~~~kw,versionexpand (currenlty it is 6.0.30 and it works fine for me now)

Sander Kleykens July 10, 2013

I had been able to get it to work but didn't know what I did right. I think that right around the time it started working, I did indeed change the atlassian-jira dependency to a jira-api dependency, which solved several different issues I had been having.

Thanks for answering.

0 votes
Sander Kleykens July 3, 2013

By the way, this is using JIRA 6.0-20130123.082244. In JIRA 5.2, the TestKit plugin enables just fine, but when I try to use jira() like the tutorial mentions, I get the following exception:

java.lang.NullPointerException at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187) at com.atlassian.jira.tests.JiraTestedProductHelper.jira(JiraTestedProductHelper.java:22)

TAGS
AUG Leaders

Atlassian Community Events