----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/73963/#review224382 -----------------------------------------------------------
I have some doubts, under what circumstances will sessionMgr == null. Spring shoud auto-wire it. Maybe we should check whether authentication == null instead. security-admin/src/main/java/org/apache/ranger/security/handler/RangerAuthenticationProvider.java Line 22 (original) <https://reviews.apache.org/r/73963/#comment313218> "import xxx" is not related to this bug. - Kirby Zhou On 四月 28, 2022, 9:38 a.m., bhavik patel wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/73963/ > ----------------------------------------------------------- > > (Updated 四月 28, 2022, 9:38 a.m.) > > > Review request for ranger, Kirby Zhou, Abhay Kulkarni, Madhan Neethiraj, > Mateen Mansoori, Mehul Parikh, Pradeep Agrawal, and Ramesh Mani. > > > Bugs: RANGER-3737 > https://issues.apache.org/jira/browse/RANGER-3737 > > > Repository: ranger > > > Description > ------- > > Usersync is broken due to NullPointerException*. > > Detailed exception Message copied at Jira board. > > > Diffs > ----- > > > security-admin/src/main/java/org/apache/ranger/security/handler/RangerAuthenticationProvider.java > 7c21c1f29 > > > Diff: https://reviews.apache.org/r/73963/diff/1/ > > > Testing > ------- > > Verfied on cluster and usersync are working fine. > > > Thanks, > > bhavik patel > >