LPS-49196 Exceptions when running the mail-portlet under osgi