[
https://issues.apache.org/jira/browse/SYNCOPE-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17903254#comment-17903254
]
ASF subversion and git services commented on SYNCOPE-1847:
----------------------------------------------------------
Commit 6c2a994f36caa50f76d5038bf8ea5949d279f881 in syncope's branch
refs/heads/master from Andrea Patricelli
[ https://gitbox.apache.org/repos/asf?p=syncope.git;h=6c2a994f36 ]
[SYNCOPE-1847] added PropagationTaskInfoSerializer to avoid serialization
errors, especially on audit (#929)
> Propagation task audit throws exception during serialzation
> -----------------------------------------------------------
>
> Key: SYNCOPE-1847
> URL: https://issues.apache.org/jira/browse/SYNCOPE-1847
> Project: Syncope
> Issue Type: Bug
> Components: core
> Affects Versions: 3.0.9
> Reporter: Andrea Patricelli
> Assignee: Andrea Patricelli
> Priority: Minor
> Fix For: 3.0.10, 4.0.0
>
>
> # Login in console as admin
> # Enable audit events on PROPAGATION, e.g.
> {{[PROPAGATION]:[USER]:[resource-ldap]:[create]:[SUCCESS]}} and
> {{[PROPAGATION]:[USER]:[resource-ldap]:[create]:[SUCCESS]}}
> # Perform a propagation on an user and look at logs in core.log file. A
> non-blocking error like this is printed out
> {code:java}
> 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"])
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)