Bug 2932: NPE on bundle activation 09/19309/1
authorMarian Dubai <mdubai@cisco.com>
Wed, 22 Apr 2015 07:53:21 +0000 (09:53 +0200)
committerMarian Dubai <mdubai@cisco.com>
Wed, 29 Apr 2015 15:00:13 +0000 (15:00 +0000)
commit9908837f34ef339f39e2ec5a7736923035f10ed1
treec8e9e0196c0645b61d70f5acd5042f9fbfcf1c9e
parente68e389f007c9fd63ae10abb2e8f9f8b190fadd8
Bug 2932: NPE on bundle activation

Error might occured when value containing YangStoreContext
is overwritten to null by refresh method, executed within another thread.
After fix, in case context is null, context is calculated again.

Change-Id: Icefe2a5970ec2ce0b67d5b3b386a35f781fc4156
Signed-off-by: Marian Dubai <mdubai@cisco.com>
opendaylight/netconf/config-netconf-connector/src/main/java/org/opendaylight/controller/netconf/confignetconfconnector/osgi/YangStoreService.java