Fix nullpointer issue in pdpx heartbeat 06/86406/2
authorMichael Mokry <michael.mokry@att.com>
Fri, 26 Apr 2019 14:20:12 +0000 (09:20 -0500)
committerMichael Mokry <michael.mokry@att.com>
Fri, 26 Apr 2019 14:30:19 +0000 (09:30 -0500)
commit6632b5f4a6b3949db71228c84881c4e8badb1b64
tree598c7ac4baac8b5bfc052cfc2886d48ad15aab29
parent74ced993d23d84cc12af2978d8c9c3916a6a518b
Fix nullpointer issue in pdpx heartbeat

1. Added a null check against XacmlPdpActivator.getCurrent() method to
fix the following exception

Exception in thread "Timer-0" java.lang.NullPointerException

Change-Id: Ia6c7efc2bd317dd52e9e89dd4f9f59d9d66d0857
Issue-ID: POLICY-1703
Signed-off-by: Michael Mokry <michael.mokry@att.com>
main/src/main/java/org/onap/policy/pdpx/main/comm/XacmlPdpMessage.java