[
https://issues.apache.org/jira/browse/SYNCOPE-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17909067#comment-17909067
]
ASF subversion and git services commented on SYNCOPE-1849:
----------------------------------------------------------
Commit 656ae60d2b7c88233519003c9ececb8367fc11bc in syncope's branch
refs/heads/3_0_X from Francesco Chicchiriccò
[ https://gitbox.apache.org/repos/asf?p=syncope.git;h=656ae60d2b ]
[SYNCOPE-1849] More robust reading of git info from actuator
> NullPointerException when logging into Console
> ----------------------------------------------
>
> Key: SYNCOPE-1849
> URL: https://issues.apache.org/jira/browse/SYNCOPE-1849
> Project: Syncope
> Issue Type: Bug
> Components: client
> Affects Versions: 3.0.10, 4.0.0-M0
> Reporter: Francesco Chicchiriccò
> Assignee: Francesco Chicchiriccò
> Priority: Major
> Fix For: 3.0.11, 4.0.0
>
>
> It seems that the {{git-commit-id-plugin}} has slightly changed the way how
> the {{git.properties}} file is generated on git tags.
> As a result, the client library, when reading such information via Spring
> Boot's actuator upon Console login, throws the following exception, which is
> not allowing the login to complete successfully.
> {code:java}
> 09:30:31.870 ERROR org.apache.syncope.client.console.SyncopeConsoleSession -
> Authentication failed
> java.lang.NullPointerException: null
> at
> org.apache.syncope.client.lib.SyncopeAnonymousClient.gitAndBuildInfo(SyncopeAnonymousClient.java:77)
> ~[syncope-client-idrepo-lib-3.0.10.jar:3.0.10]
> at
> org.apache.syncope.client.console.SyncopeConsoleSession.refreshAuth(SyncopeConsoleSession.java:373)
> ~[syncope-client-idrepo-console-3.0.10.jar:3.0.10]
> at
> org.apache.syncope.client.console.SyncopeConsoleSession.authenticate(SyncopeConsoleSession.java:225)
> ~[syncope-client-idrepo-console-3.0.10.jar:3.0.10]
> at
> org.apache.wicket.authroles.authentication.AuthenticatedWebSession.signIn(AuthenticatedWebSession.java:66)
> ~[wicket-auth-roles-9.19.0.jar:9.19.0]
> at
> org.apache.syncope.client.console.pages.Login.authenticate(Login.java:77)
> ~[syncope-client-idrepo-console-3.0.10.jar:3.0.10]
> {code}
> This issue is not affecting the official Docker images.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)