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

Unserializable exception for OAuthSession on Wildfly 8.0

    Details

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

      Wildfly 8 (CDI 1.1 / Weld 2.0)

      Description

      When launching Agorava code on Wildfly, you get the following exception

      org.jboss.weld.exceptions.UnserializableDependencyException: WELD-001413 The bean Producer Method [OAuthSession]
      with qualifiers [@LinkedIn @Current @Any] declared as [[BackedAnnotatedMethod] @SessionScoped @Produces @LinkedIn
       @Current public org.gastaldi.app.agorava.settings.OauthSettingsProducer.produceOauthSession(@LinkedIn @Default
       OAuthSession)] declares passivating scope but has non-serializable dependency Custom Bean with bean class class
       org.agorava.core.oauth.OAuthSessionImpl and qualifiers [@org.agorava.LinkedIn(), @javax.enterprise.inject.Any(),
       @javax.enterprise.inject.Default()]
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                aslak Aslak Knutsen
                Reporter:
                aslak Aslak Knutsen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: