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 Join to answer
Community showcase
Jason Wong
Published yesterday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

382 views 6 16
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot