Installation 7.3.0 : Shuting down the server log a ResourceException


At shuting down the bonita server the problem log in boot.log is :

How to get user's manager name,info using Groovy script?

I am using below groovy script to get users Manager Name,Email. Using Bonitasoft Studio 6.5

${import org.bonitasoft.engine.IdentityAPI;
import org.bonitasoft.engine.identity.User;
IdentityAPI api = apiAccessor.getIdentityAPI();
User user = api.findUserByUserName(processInstance.getStartedBy());
User manager1 = api.getUserByUUID(user.getManagerUUID());

What am I doing wrong above?

If Manager is out of office how to handle forms to approve


I want to ask a question about leave of absence.

If a manager name A leaves office for vacation and fills a form and gives power of attorney to Manager name B. So Forms for approval or any workflow process goes to Manager B to approve.

How can this be made by Bonita? Is there an internal system or how?

Sorry for my English.