bug 2616 - NPE in ControllerContext.toQName method
authorVaclav Demcak <vdemcak@cisco.com>
Wed, 21 Jan 2015 09:55:14 +0000 (10:55 +0100)
committerVaclav Demcak <vdemcak@cisco.com>
Wed, 21 Jan 2015 10:33:01 +0000 (11:33 +0100)
commit02ed5aed08ef2d50d23cdca2e0717db7ac4b9229
tree5aecd71e79a85d5118fd94120277e93f99639557
parent83f533ca5b729f3bb9b1067586a278c261b68279
bug 2616 - NPE in ControllerContext.toQName method

Method works with globalSchema property without validation and somtimes it could be null.

- add a missing check method call for toQName method
- add a missing check method call for collectPathArguments method (mountpoint - line 549)

Change-Id: I4a568bbeb54720592ef42990d7dcd430df170c12
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/ControllerContext.java