My Oracle Support Banner

E-WF: Sending Emails from an Application Engine Fail with a "PSMCFSendMailException: Java Exception: java.lang.NullPointerException" Error After Upgrading to PeopleTools 8.60 (Doc ID 2943278.1)

Last updated on JULY 03, 2023

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.60 and later
Information in this document applies to any platform.

Symptoms

Sending emails from an application engine (AE) program fail with a "PSMCFSendMailException: Java Exception: java.lang.NullPointerException" error after upgrading to PeopleTools (PT) 8.60. Emails also fail to be sent from PIA pages.

The AE log shows the following errors.

ERROR
-----------------------

22136 13:24:03.970 4135.562000 Creating SendMailException
22137 13:24:03.971 0.000000 PSMCFSendMailException
22138 13:24:03.971 0.000000 PSMCFSendMailException: Context: OutboundEmail.Send method called
22139 13:24:03.972 0.000000 PSMCFSendMailException: Java Exception: java.lang.NullPointerException
22140 13:24:03.972 0.000000 PSMCFSendMailException: Brief Message:java.lang.NullPointerException
22141 13:24:03.973 0.000000 PSMCFSendMailException: Detail Message:java.lang.NullPointerException

at com.peoplesoft.pt.mcf.mail.MCFOutboundEmail.send(MCFOutboundEmail.java:2167)

The issue can be reproduced at will with the following steps:
1. Create a custom AE program that sends emails.
2. Run the custom AE (Navigation: PeopleTools > Process Scheduler > Schedule Processes).
3. Observe the errors above in the AE log.

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
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.