My Oracle Support Banner

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 JANUARY 24, 2024

Applies to:

Oracle Agile PLM Framework - Version 9.3.6.0 and later
Information 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:

  1. Take backup of log.xml file under: %Agile_Home%/agileDomain/config
  2. Edit log.xml file, and add below lines:

  3. Save the file
  4. Restart Agile Application Server
  5. 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
  6. Go to Admin tab > System Settings > Notifications. Locate Notification "users - User Send", and double click to open. Confirm Notification Type is set to: Email
  7. Log into Web Client, and click My Settings
  8. Do Actions > Send
  9. Edit Notify field and add the name of the user to send email notification, and Send
  10. Check the email inbox (i.e. Outlook) as the user. Do not receive email notification
  11. 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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.