Re: Custom interceptor throws NPE while calling next(opContext)

2019-07-23 Thread Emmanuel Lécharny
Now, I will ask you what is this interceptor doing ? There are other means to implement a mechanism that manage authentication, through Authenticators. But that is another discussion… The interceptor I’m implementing is actually capturing LDAP add/modify/delete commands and calls REST api

Re: Custom interceptor throws NPE while calling next(opContext)

2019-07-23 Thread Philipp Grigoryev
> On Jul 23, 2019, at 5:24 PM, Emmanuel Lécharny wrote: > > So this is M23. 3 years old. Hmmm. We should have released more often, > considering it's currently M25. Nothing actually stops me from trying to update to the latest. I think I even tried to do that, but then ran into some minor

Re: Custom interceptor throws NPE while calling next(opContext)

2019-07-23 Thread Emmanuel Lécharny
So this is M23. 3 years old. Hmmm. We should have released more often, considering it's currently M25. Regardless, answering to your questions now... On 23/07/2019 18:00, Philipp Grigoryev wrote: Hi Emmanuel, Thank you for replying to my question and providing a thorough explanation. I

Re: Custom interceptor throws NPE while calling next(opContext)

2019-07-23 Thread Emmanuel Lécharny
Just for the record, which ApacheDS version is this based on ? On 23/07/2019 18:00, Philipp Grigoryev wrote: Hi Emmanuel, Thank you for replying to my question and providing a thorough explanation. I tried some recipes based on your response (with partial success) and that’s my observations.

Re: Custom interceptor throws NPE while calling next(opContext)

2019-07-23 Thread Philipp Grigoryev
Hi Emmanuel, Thank you for replying to my question and providing a thorough explanation. I tried some recipes based on your response (with partial success) and that’s my observations. 1) I have to deal with some legacy code developed by a guy who left our company, so I’m trying not to break

Re: ApacheDS db corrupt

2019-07-23 Thread Emmanuel Lécharny
Hi Sergey, On 23/07/2019 09:25, Sergey Mikhno wrote: Hi Emmanuel, Our problem is that the database became corrupt and we don't know how to repair it. We have tried to use apacheds.sh default repair and the utility says that repair went successfully but it didn't help with our problem. Our

ApacheDS db corrupt

2019-07-23 Thread Sergey Mikhno
Hi Emmanuel, Our problem is that the database became corrupt and we don't know how to repair it. We have tried to use apacheds.sh default repair and the utility says that repair went successfully but it didn't help with our problem. Our ApacheDS version is 2.0.0.AM24 There are a few bugs reported