Dear all,
I noticed that in Orekit version 11.1.2 the following pseudo code was working fine, i.e. it was entering the withHandler() method and I was able to use the evaluated variables state, detector, increasing:
While in the latest version of Orekit 12.0.1, the withHandler() is not working anymore, it is not entering properly the withHandler() method and in my pseudo code above it is in practice not able to print the message “entering here”.
Is there a different way in Orekit 12.0.1 to use withHandler((state, detector, increasing) → {…}) after a eventsLogger.monitorDetector(detector) in order to use the variables state, detector and increasing?
I guess this is due to the fix for issue 1016, which was introduced in January 2023.
Just for double checking, can you confirm that the detector used in the propagation is the one returned by monitorDetector? I think you did the right thing and I think you identified a bug.