ClassCastException in BSFNotificationStrategy

Description

A ClassCastException is thrown when trying to send a notification using the BSFNotificationStrategy.

This is a regression caused by https://github.com/OpenNMS/opennms/commit/39f55bbac0973871f9259ad56d341406dff5e25b.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Jesse White April 30, 2015 at 12:25 PM

Merged to develop.

Jesse White April 28, 2015 at 5:33 PM

Jesse White April 28, 2015 at 5:24 PM

On further inspection, it appears as though the OnmsNode object wasn't populated properly.

obj.retrieveParams() is called after retrieving the node id parameter, so this value may reflect the one used for the last notification.

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

PagerDuty

Created April 28, 2015 at 5:22 PM
Updated April 30, 2015 at 4:21 PM
Resolved April 30, 2015 at 12:25 PM

Flag notifications