NFA Threshold Events not sending Event Manager Notification Emails
search cancel

NFA Threshold Events not sending Event Manager Notification Emails

book

Article ID: 219393

calendar_today

Updated On:

Products

CA Network Flow Analysis (NetQos / NFA)

Issue/Introduction

If you have configured email Notifications in Event Manager when a Trap is generated by NFA, and the event comes in but the Notification email never sends out, check for this log in the Event Manager logs:

Headers: {}
Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns5:PushResponse xmlns:ns2="http://netqos.com/nqevents" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns4="http://netqos.com/nqevents/filter" xmlns:ns5="http://netqos.com/nqevents/EventManager" xmlns:ns6="http://schemas.xmlsoap.org/soap/encoding/"/></soap:Body></soap:Envelope>
--------------------------------------
ERROR | pool-2-thread-4          | 2021-07-09 14:45:00,138 | com.ca.im.portal.em.notifications.BaseHandlerImpl
      | Failed to process notification with unhandled exception
java.lang.NullPointerException
 at com.ca.im.portal.em.notifications.EmailHandlerImpl.buildMessageBody(EmailHandlerImpl.java:423)
 at com.ca.im.portal.em.notifications.EmailHandlerImpl.doAction(EmailHandlerImpl.java:118)
 at com.ca.im.portal.em.notifications.BaseHandlerImpl.run(BaseHandlerImpl.java:102)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at java.lang.Thread.run(Thread.java:748)

Environment

Release : 20.2+

Component : NQRPTA - REPORTERANALYZER

Cause

This is an unhandled null pointer exception on the Event Manager side. If you setup email Notifications, with just a subject and no body, the email will not generate and you will get the above error.

Resolution

Add a body to the Notification for your NFA Threshold Events. By default you will need to add attributes or else the email will only include what is in the subject and body.

A defect on the NetOps Portal / Event Manager side has been created to handle the null pointer exception. This will allow a blank subject/body Notification email to be generated and will use the default attributes in the email just as Notifications work for other NetOps products. This will be resolved in a future release and Event Manager will send blank body emails.