Andrea Patricelli created SYNCOPE-1847:
------------------------------------------
Summary: 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
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)