Bug 2932: NPE on bundle activation
authorMarian Dubai <mdubai@cisco.com>
Wed, 22 Apr 2015 07:53:21 +0000 (09:53 +0200)
committerMarian Dubai <mdubai@cisco.com>
Mon, 27 Apr 2015 10:04:01 +0000 (12:04 +0200)
commite8a563f5c45e739574a4815b2a793b3a630ae1dd
tree7ee3df658ec7389a3e90f57dfcc2d5e27477a1e1
parentee86c530c3c50ea660cde5fa74cf3fb1e6f88ab2
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