Add an explicit null data check 52/62652/3
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 4 Sep 2017 20:38:11 +0000 (22:38 +0200)
committerStephen Kitt <skitt@redhat.com>
Tue, 5 Sep 2017 08:37:35 +0000 (08:37 +0000)
commitee013d68ef799361ba9cdb0dfa5d8af5ece3d48a
tree582496cec4cfb5a7bc5c9a2041d6ecd470d70c9d
parent33ff7ef0c53a739a68e52db36d4b13913e1f9ae4
Add an explicit null data check

We have observed restconf attempting to put null data into a path,
leading to an implicit NPE without any explanation. Add an explicit
guard to catch such attempts.

Change-Id: I2e2125b04782d4f1c050d0aeb72161158da28c9f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/AbstractDOMBrokerWriteTransaction.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.