java.lang.NullPointerException occurs when searching for capabilities

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

When searching for capabilities to add as requirements to a job in Bamboo, a popup occurs showing a NullPointerException has occurred.

The following message can be found in the <BambooHome>/logs/atlassian-bamboo.log file:

 

2016-07-04 12:18:52,939 WARN [http-nio-8085-exec-1] [BambooRuntimeExceptionMapper] Unexpected error from REST call
java.lang.NullPointerException
	at com.atlassian.bamboo.plugins.rest.resource.CapabilityResource$1.apply(CapabilityResource.java:87)
	at com.atlassian.bamboo.plugins.rest.resource.CapabilityResource$1.apply(CapabilityResource.java:83)
	at com.google.common.collect.Iterators$7.computeNext(Iterators.java:652)
	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
	at com.google.common.collect.Iterators.addAll(Iterators.java:361)
[...]

Diagnosis

Environment

  • The Bamboozled Ruby Plugin add-on is installed

Cause

The problem is caused by the Bamboozled Ruby Plugin add-on. At the time of writing the latest available version of the add-on that is known to cause the problem is 5.10.3.

Workaround

To work around the problem, disable the Bamboozled Ruby Plugin add-on in Bamboo or uninstall it.

Resolution

To resolve this problem, contact the plugin vendor via their Support channel.

Last modified on Jul 6, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.