bug 2616 - NPE in ControllerContext.toQName method 26/14326/2
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)
commitbaa424b6b623e3733ef4ed08928cc72979da3081
treee4bb57f584b77eb4844f8f6f41dac2049e1307d4
parenta4f9b6ea19d8f1ef1d6e9e4c2e5f39520a44a2a2
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