After adding the new HIlt lib I had to remove this nice library because HIlt doesn't support support.Fragment but androidx Fragment only.
I tracked the problem to be when checking the Context in the Permission Manager class of this lib.
When arriving there the lib crash with the exception above and the message is that the Fragment is not attached.
Thanks