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

'Plugin never resolved service with filter' when the task runs on the remote agent

Miroslav Shipilov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 8, 2019

Hello! I am developing a custom Bamboo plugin. In my class that implements CustomBuildProcessorServer I inject VariableDefinitionManager.


private VariableDefinitionManager variableDefinitionManager;

public BuildProcessorServerExport(
@ComponentImport final VariableDefinitionManager variableDefinitionManager) {
this.variableDefinitionManager = variableDefinitionManager;

When to start Task on local agent the variable variableDefinitionManager is initialized normally, but when on remote agent I get error

 ERROR [remoteEventRebroadcasterMessageListenerContainer-1] [OsgiPlugin] Plugin  never resolved service '&variableDefinitionManager' with filter '(&(objectClass=com.atlassian.bamboo.variable.VariableDefinitionManager)(objectClass=com.atlassian.bamboo.variable.VariableDefinitionManager))'

my atlassian-plugin.xml

<atlassian-plugin key="${atlassian.plugin.key}" name="${}"
<vendor name="${}" url="${project.organization.url}" />
<param name="plugin-icon">images/pluginIcon.png</param>
<param name="plugin-logo">images/pluginLogo.png</param>

<taskType name="Prometheus exporter" class="atlas.plugin.promexporter.PrometheusTask"
<description>Prometheus exporter test duration </description>
<configuration class="atlas.plugin.promexporter.PrometheusTaskConfigurator" />
<resource type="freemarker" name="edit" location="prometheusTask.ftl" />

<buildProcessorServer key="buildProcessorServerExport"
name="Build Processor Server" class="atlas.plugin.promexporter.BuildProcessorServerExport">

<!-- Servlets -->
<servlet name="Exporter Servlet" key="bamboo-test-export"

<servlet name="Remove Metrics Servlet" key="bamboo-remove-metrics"


What can be done in this situation ?


Thank you for any info.

1 answer

0 votes
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 13, 2019

Hi @Miroslav Shipilov

The best channel for this type of question is the

I advise you to raise the same question there.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events