> On April 28, 2022, 10:05 a.m., Kirby Zhou wrote: > > I have some doubts, under what circumstances will sessionMgr == null. > > Spring shoud auto-wire it. > > Maybe we should check whether authentication == null instead. > > bhavik patel wrote: > exactly sessionMgr is comming as a null. I tried by removing that check. > > Kirby Zhou wrote: > Can you show me your test case?
we can discuss at Jira board. - bhavik ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/73963/#review224382 ----------------------------------------------------------- On April 28, 2022, 10:16 a.m., bhavik patel wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/73963/ > ----------------------------------------------------------- > > (Updated April 28, 2022, 10:16 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/2/ > > > Testing > ------- > > Verfied on cluster and usersync are working fine. > > > Thanks, > > bhavik patel > >
