[ 
https://issues.apache.org/jira/browse/SYNCOPE-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17903247#comment-17903247
 ] 

ASF subversion and git services commented on SYNCOPE-1847:
----------------------------------------------------------

Commit 77dd1ecda42c2d70402a06fb848af59f1f86f9be in syncope's branch 
refs/heads/3_0_X from Andrea Patricelli
[ https://gitbox.apache.org/repos/asf?p=syncope.git;h=77dd1ecda4 ]

[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)

Reply via email to