[JBoss JIRA] (AGOVA-62) Passivation error for GlobalRepositoryImpl on GF / Weld 2.0.4

44 views
Skip to first unread message

John Schneider (JIRA)

unread,
Nov 10, 2013, 8:05:06 PM11/10/13
to agora...@googlegroups.com
Issue Type: Bug Bug
Affects Versions: 0.7.0
Assignee: Antoine Sabot-Durand
Components: Core impl
Created: 10/Nov/13 8:04 PM
Description:

It appears that there is a problem with the passivation of the GlobalRepositoryImpl class. Following the interface hierarchy up to org.agorava.api.storage.Repository, I see that Repository does extend Serializable. Perhaps serialVersionUID simply needs to be added to GlobalRepositoryImpl.

The message of the exception thrown is:
org.jboss.weld.exceptions.UnserializableDependencyException: WELD-001413 The bean Managed Bean [class org.agorava.cdi.InSessionProducer] with qualifiers [@Any @Default] declares passivating scope but has non-passivation-capable dependency Managed Bean [class org.agorava.oauth.GlobalRepositoryImpl] with qualifiers [@Any @Default]

Environment: Glassfish 4 with Weld upgraded to 2.0.4-Final
Project: Agorava
Priority: Major Major
Reporter: John Schneider
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Antoine Sabot-Durand (JIRA)

unread,
Nov 11, 2013, 10:45:07 AM11/11/13
to agora...@googlegroups.com

Antoine Sabot-Durand (JIRA)

unread,
Nov 11, 2013, 10:47:05 AM11/11/13
to agora...@googlegroups.com

Problem is due by using @Singleton scope for GlobalRepository.

Antoine Sabot-Durand (JIRA)

unread,
Nov 11, 2013, 10:51:05 AM11/11/13
to agora...@googlegroups.com
Antoine Sabot-Durand started work on Bug AGOVA-62
Change By: Antoine Sabot-Durand (11/Nov/13 10:49 AM)
Status: Open Coding In Progress

Antoine Sabot-Durand (JIRA)

unread,
Nov 11, 2013, 11:32:05 AM11/11/13
to agora...@googlegroups.com
Antoine Sabot-Durand resolved Bug AGOVA-62 as Done
Change By: Antoine Sabot-Durand (11/Nov/13 11:31 AM)
Status: Coding In Progress Resolved
Resolution: Done

Antoine Sabot-Durand (JIRA)

unread,
Nov 11, 2013, 11:32:05 AM11/11/13
to agora...@googlegroups.com

Added a specialized bean with @ApplicationScoped in CDI impl

Reply all
Reply to author
Forward
0 new messages