Email Notification from Agile Is Not Received in User's Email Inbox with "java.lang.NullPointerException: null" in Notification Debug Log
(Doc ID 2865538.1)
Last updated on SEPTEMBER 29, 2023
Applies to:
Oracle Agile PLM Framework - Version 9.3.6.0 and laterInformation in this document applies to any platform.
Symptoms
Email Notification sent from Agile is not received in users email inbox after enabling Notification debug log. Below exception is seen in Notification debug log:
Error
java.lang.NullPointerException: null
at com.agile.common.server.notification.NotifyService.sendEmail(NotifyService.java:1105) ~[agileclasses.jar:?]
Steps
The issue can be reproduced at will with the following steps:
- Take backup of log.xml file under: %Agile_Home%/agileDomain/config
- Edit log.xml file, and add below lines:
- Save the file
- Restart Agile Application Server
- Log into Java Client as admin user, and go to Admin tab > Server Settings > Database, and confirm Notification Enabled is set to Yes, and appropriate values are set for Mail From Domain, Mail From User, Mail Server External and Mail Server Internal
- Go to Admin tab > System Settings > Notifications. Locate Notification "users - User Send", and double click to open. Confirm Notification Type is set to: Email
- Log into Web Client, and click My Settings
- Do Actions > Send
- Edit Notify field and add the name of the user to send email notification, and Send
- Check the email inbox (i.e. Outlook) as the user. Do not receive email notification
- Check Notify.log generated under %Agile_Home%\agileDomain\servers\{host_name}-Agile\logs. See below exception generated:
java.lang.NullPointerException: null
at com.agile.common.server.notification.NotifyService.sendEmail(NotifyService.java:1105) ~[agileclasses.jar:?]
Changes
Notification Debug log was enabled in log.xml
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |