JAVA-trustAnchors parameter must not be non-empty

I recently installed Kubuntu 18.04. In order to reach to my company e-mail on office365 Outlook, also installed DavMail. Then started to configure my Kmail. But when I start checking my e-mails to download as fresh on my KMail, then everything is stopping down by a notification from DavMail saying:
DavMail configuration exception. Connect exception
: javax.net ssl. SSLException java.lang.RuntimeException
:Unexpected error: java.security. InvalidAlgorithmParameterException
: the trustAnchors parameter must be non-empty
I am in need to solve this issue in order to reach to my e-mails with KMail or I can install and use ThunderBird also. I need to find a solution to this subject.
While installing Kubuntu 18.04, I choosed to manually arrange drives and I arranged “/” and “/home” separately and two of them I checked for formatting, so that I can be able to have full clear install from scratch.
Please help me to solve the issue

I’ve moved this to the https://community.ubuntu.com/c/support-help-requests category because this site isn’t designed to take tech support questions. Sorry. I’d recommend using one of the official support channels listed on the https://community.ubuntu.com/t/finding-help/712 page