ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.
Why am I getting a NullPointerException when sending credential management reports by e-mail ?
Article ID: 108642
CA Privileged Access Manager - Cloakware Password Authority (PA)PAM SAFENET LUNA HSMCA Privileged Access Manager (PAM)
We are trying to configure scheduled reports of Credential Management to be scheduled and sent via e-mail
If in the In the "manage password" interface, we go to Policy > Manage Password, then into Reports > Scheduled, and then we hit the test-send command, A NullPointerException is generated in the catalina logs
Jun 08, 2018 3:14:21 PM com.cloakware.cspm.server.app.impl.r c INFO: AddScheduleJobCmd DEFAULT.test job has been scheduled to run at: Fri Jun 08 15:18:00 UTC 2018 Jun 08, 2018 3:18:00 PM com.cloakware.cspm.server.security.ScheduledJob execute INFO: ScheduledJob.execute starting Jun 08, 2018 3:18:00 PM com.cloakware.cspm.server.security.ScheduledJob execute INFO: ScheduledJob.execute commandRequest:scheduleReport Jun 08, 2018 3:18:00 PM com.cloakware.cspm.common.util.ab g SEVERE: XmlUtils.XML2Doc error java.lang.NullPointerException
However, CA PAM is authorized to send email and it is correctly configured since the reports sent by email from the access management part of the product ("sessions > Logs") works. In the password management part of the product, all jobs end up in error.
How can we solve this problem ?
CA PAM 2.8.4 and below
The reason for the mail error in version 2.8.4 is that the timezone region and timezone information are missing in the Database and User interface. The fastest solution for this is to go to Settings ---> UI Settings---> Default Preferences, choose your timezone details and 'save' it: this will write the missing data in Database again and the error will cease to be