Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-1847

Propagation task audit throws exception during serialzation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Resolved
    • 3.0.9
    • 3.0.10, 4.0.0-M0
    • core
    • None

    Description

      1. Login in console as admin
      2. Enable audit events on PROPAGATION, e.g. [PROPAGATION]:[USER]:[resource-ldap]:[create]:[SUCCESS] and [PROPAGATION]:[USER]:[resource-ldap]:[create]:[SUCCESS]
      3. Perform a propagation on an user and look at logs in core.log file. A non-blocking error like this is printed out
      com.fasterxml.jackson.databind.JsonMappingException: Cannot invoke "java.util.List.stream()" because the return value of "org.apache.syncope.core.persistence.jpa.entity.JPARealm.getResources()" is null (through reference chain: org.apache.syncope.core.provisioning.api.propagation.PropagationTaskInfo["resource"]->org.apache.syncope.core.persistence.jpa.entity.JPAExternalResource["connector"]->org.apache.syncope.core.persistence.jpa.entity.JPAConnInstance["adminRealm"]->org.apache.syncope.core.persistence.jpa.entity.JPARealm["resourceKeys"]) 

      Attachments

        Issue Links

          Activity

            People

              andreapatricelli Andrea Patricelli
              andreapatricelli Andrea Patricelli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: