It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

ActiveObjects initialization error



I'm trying to use Active Objects in my plugin but I'm getting following error when trying to use it:

invoking ActiveObjects before <ao> configuration module is enabled or plugin is missing an <ao> configuration module.

I'm trying to run the ao code inside a plugin that implements customField on getSingularObjectFromString method.

I have following configuration in atlassian-plugin.xml



<ao key="ao-module">
<description>The module configuring the Active Objects service used by this plugin</description>
<entity> myClassNameHere</entity>

<component-import key="ao"
name="Active Objects components"
<description>Access to the Active Objects service</description>

and pom.xml:




Any help appreciated. Thank you





1 answer

Try to switch the order in your add-on descriptor:
First your component-import and then your "ao-module".

Let me know If this solve your problem :D
Kind Regards.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Teamwork

Listening out loud: how Dave Liao works on distributed teams

The start of the COVID-19 pandemic served as a forcing function to re-evaluate the way teams worked together. In fact, many companies are re-learning how to collaborate with their teams. As some move...

122 views 4 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you