[STUDIO-2817]Avoid NPE in logs
Merge branch 'CoreProduct-6.1.x' of https://github.com/bonitasoft/bonita-studio into CoreProduct-6.1.x