Uploaded image for project: 'Agorava'
  1. Agorava
  2. AGOVA-62

Passivation error for GlobalRepositoryImpl on GF / Weld 2.0.4

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.7.0
    • Component/s: Core impl
    • Labels:
      None
    • Environment:

      Glassfish 4 with Weld upgraded to 2.0.4-Final

      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]

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                antoinesabot-durand Antoine Sabot-Durand
                Reporter:
                JLuv John Schneider
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: