java.lang.NullPointerException occurs when searching for capabilities
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
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.
*Fisheye および Crucible は除く
問題
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)
[...]
診断
環境
- The Bamboozled Ruby Plugin add-on is installed
原因
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.
回避策
To work around the problem, disable the Bamboozled Ruby Plugin add-on in Bamboo or uninstall it.
ソリューション
To resolve this problem, contact the plugin vendor via their Support channel.