Bug 8361 - NetconfConnector cannot be created due to NullPointerException 63/56463/2
authorMartin Mihálek <mamihale@cisco.com>
Wed, 3 May 2017 11:24:02 +0000 (13:24 +0200)
committerTomas Cere <tcere@cisco.com>
Thu, 4 May 2017 14:30:22 +0000 (16:30 +0200)
commitc2c13cf2c32e67bde365aa17b5704a0ba645b343
tree23c3bd53a3fc6e6987904d779c55a0777ad2bfdf
parent5ee44740e99f60768f488b7c8fb00873ed758a79
Bug 8361 - NetconfConnector cannot be created due to NullPointerException

- Adds Nullpointer checks in RemoteDeviceConnecterImpl
- If Yang module capabilities are missing its override flag is set to false
- If Non module capabilities are missing its override flag is set to false

Change-Id: I25d172e94a1013d79c0c7db37c930c89ad2ed94f
Signed-off-by: Martin Mihálek <mamihale@cisco.com>
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/impl/RemoteDeviceConnectorImpl.java