replaced getOne with findById in order to get optionals and handle those some places still have the general abstracto run time exception
myWarnings