iOS/Xcode CI build is breaking - not completing

I'm getting this log output:

Failed to execute the build 'HELLOWORLD-HELLOWORLDBUILD-JOB1-2'
java.lang.NoClassDefFoundError: com/atlassian/bamboo/task/CommonTaskContext
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(
        at java.lang.Class.getConstructors(
        at Method)
        at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at com.atlassian.plugin.osgi.spring.DefaultSpringContainerAccessor.createBean(
        at com.atlassian.plugin.module.ClassPrefixModuleFactory.createModule(
        at com.atlassian.plugin.module.PrefixDelegatingModuleFactory.createModule(
        at com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor.createModule(
        at com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor.getModule(
        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(
        at com.atlassian.bamboo.task.TaskExecutorImpl.execute(
Caused by: java.lang.ClassNotFoundException: com.atlassian.bamboo.task.CommonTaskContext
        at Method)
        at java.lang.ClassLoader.loadClass(
        at sun.misc.Launcher$AppClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
        at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(
        at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(
        at org.apache.felix.framework.ExtensionManager$ExtensionManagerModule.getClassByDelegation(
        at org.apache.felix.framework.resolver.WireImpl.getClass(
        at org.apache.felix.framework.ModuleImpl.searchImports(
        at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(
        at org.apache.felix.framework.ModuleImpl.access$200(
        at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
        ... 26 more

When trying to run an Xcode/iOS build. According to the log it seems to be working fine, until it gets to the Maven stuff (we're not using maven)

16-May-2013 15:15:33	Updated source code to revision: b4ce29ec5b099488339169afc00aa8cd43f95b71
16-May-2013 15:15:33	Finished task 'Checkout Default Repository'
16-May-2013 15:15:33	Running pre-build action: Build Number Stamper
16-May-2013 15:15:33	Running pre-build action: Clover Grails PreBuild Action
16-May-2013 15:15:33	Running pre-build action: VCS Version Collector
16-May-2013 15:15:33	Running pre-build action: Repository Isolation Enabler Action
16-May-2013 15:15:33	Running pre-build action: Maven Settings Prebuild Action
16-May-2013 15:15:33	Failed to execute the build 'HELLOWORLD-HELLOWORLDBUILD-JOB1-2': com/atlassian/bamboo/task/CommonTaskContext

Any reason for this. I'm using the "Bamboo iOS, Cocoa and Xcode Support" plugin.

2 answers

1 accepted

1 vote

Downgrade the XCode plugin to v1.8 and try again. That fixed the issue for me.

I just replied to you on that.

Thank you very much

Getting exactly the same error. Any luck on finding the culprit?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,819 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you