Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.4
-
None
Description
When trying to login with normal or social accounts, nothing happens in the UI, it looks like the login is stuck. I checked the logs and I saw a NullPointerException. I digged in more and I found out that the following line of code is causing the exception : https://github.com/xwiki-contrib/xwiki-social-login/blob/xwiki-social-login-2.4/xwiki-social-login-api/src/main/java/org/xwiki/social/authentication/internal/SocialAuthServiceImpl.java#L125 . It's because manager is null, so manager.isConnected() generates the exception. In the 2.4 release, the manager variable was redefined for AUTHSL-12 . This could be the cause of the issue. Note that AUTHSL-12 was not closed, even if some commits were done for it and they were included in 2.4. That's because the 'Fix Version/s' value was not set on the task.