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

Active objects cannot recognize collection's types?

Łukasz Szarecki May 20, 2014

Hello, I'm trying to store object, which contain collection. It generates an error:

com.atlassian.activeobjects.internal.ActiveObjectsInitException: Active Objects failed to initalize for bundle org.rule.SecurityCheckBuilder
at com.atlassian.activeobjects.osgi.ActiveObjectsServiceFactory$5.apply(ActiveObjectsServiceFactory.java:207)
caused by: java.lang.RuntimeException: Unrecognized type: java.util.ArrayList
at net.java.ao.types.TypeManager.getType(TypeManager.java:66)

How can I solve it?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Łukasz Szarecki May 21, 2014

I tried but it isn't easy :)

To store collection I need to use @OneToMany annotation and then I can store more of datas.

@OneToMany

public String[] getTitles();

0 votes
Joe Clark
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 20, 2014

Try using an Array instead of a collection type?

Łukasz Szarecki May 21, 2014

I tried but it isn't easy :)

To store collection I need to use @OneToMany annotation and then I can store more of datas.

@OneToMany

public String[] getTitles();

TAGS
AUG Leaders

Atlassian Community Events