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
Accepted answer

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
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

187 views 4 1
Join discussion

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