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 yesterday in Agile

How Scrum works? It starts with training and education

To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?”  That question applies to both implementation and improvements on the Scrum framew...

168 views 3 5
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