[ https://issues.apache.org/jira/browse/SYNCOPE-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13668188#comment-13668188 ]
Hudson commented on SYNCOPE-373: -------------------------------- Integrated in Syncope-1_1_X #48 (See [https://builds.apache.org/job/Syncope-1_1_X/48/]) [SYNCOPE-373] Return fake UserTO for admin when self-reading (Revision 1486793) Result = SUCCESS ilgrosso : Files : * /syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/rest/data/UserDataBinder.java * /syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/security/SyncopeAuthenticationProvider.java * /syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/security/SyncopeUserDetailsService.java * /syncope/branches/1_1_X/core/src/main/resources/restContext.xml * /syncope/branches/1_1_X/core/src/main/resources/securityContext.xml * /syncope/branches/1_1_X/core/src/main/resources/syncopeContext.xml * /syncope/branches/1_1_X/core/src/main/resources/workflowContext.xml * /syncope/branches/1_1_X/core/src/test/java/org/apache/syncope/core/rest/AbstractTest.java * /syncope/branches/1_1_X/core/src/test/java/org/apache/syncope/core/rest/UserTestITCase.java > 500 when self reading admin user > -------------------------------- > > Key: SYNCOPE-373 > URL: https://issues.apache.org/jira/browse/SYNCOPE-373 > Project: Syncope > Issue Type: Bug > Components: core > Affects Versions: 1.1.1 > Reporter: Francesco Chicchiriccò > Assignee: Francesco Chicchiriccò > Fix For: 1.1.2, 1.2.0 > > > When accessing [1] or [2], an error 500 is returned and the following > stacktrace is found in the logs: > 08:43:48.525 ERROR org.apache.syncope.core.rest.controller.AbstractController > - Exception thrown by REST methods > java.lang.IllegalArgumentException: Source must not be null > at org.springframework.util.Assert.notNull(Assert.java:112) > ~[spring-core-3.2.3.RELEASE.jar:3.2.3.RELEASE] > at > org.springframework.beans.BeanUtils.copyProperties(BeanUtils.java:589) > ~[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] > at > org.springframework.beans.BeanUtils.copyProperties(BeanUtils.java:571) > ~[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] > at > org.apache.syncope.core.rest.data.UserDataBinder.getUserTO(UserDataBinder.java:394) > ~[UserDataBinder.class:na] > at > org.apache.syncope.core.rest.data.UserDataBinder.getAuthenticatedUserTO(UserDataBinder.java:100) > ~[UserDataBinder.class:na] > [1] /syncope/cxf/users/self > [2] /syncope/rest/user/read/self.json -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira