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

Is Active Object module only for plugin type 2

leonliusg December 4, 2012

Hi Guys,

I read ao documentation at https://developer.atlassian.com/display/AO/Active+Objects but none of them mentioned it is for which plugin type.

I need to develop a plugin with type 1, I put the following to my atlassian-plugins.xml

<ao key="ao-module">

<description>The module configuring the Active Objects service used by this plugin</description>

<entity>com.test.jira.plugins.test.ao.Customer</entity>

</ao>

Then after put the plugin to /WEB-INFO/lib folder, start Jira, I get the following error:

2012-12-05 12:40:17,604 main ERROR [atlassian.plugin.parsers.XmlDescriptorParser] There were problems loading the module 'ao' in plugin 'test'. The module has been disabled.

2012-12-05 12:40:17,605 main ERROR [atlassian.plugin.parsers.XmlDescriptorParser] net.sf.cglib.empty.Object$$EnhancerByCGLIB$$4a2687b2 cannot be cast to com.atlassian.plugin.ModuleDescriptor

java.lang.ClassCastException: net.sf.cglib.empty.Object$$EnhancerByCGLIB$$4a2687b2 cannot be cast to com.atlassian.plugin.ModuleDescriptor

This make me thinking if the ao module only for plugin type 2.

Anyone can advise?

Thanks a lot

Leon

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 4, 2012

Yes, it is available only on v2 plugins.

leonliusg December 4, 2012

Hi Jobin,

Thanks for your reply. Do you see any Atlassian Documentation for this?

BR

Leon

TAGS
AUG Leaders

Atlassian Community Events