commit | 914acb8bfb750fc460d2e318c45f93cb62283dad | [log] [tgz] |
---|---|---|
author | rohitsharan <r.sharan@samsung.com> | Thu Apr 13 15:33:59 2017 +0530 |
committer | Yoonseon Han <yoonseon@onlab.us> | Thu Apr 13 20:30:39 2017 +0000 |
tree | 46d53a933cb2fdb84b9fe9f7384ba1a8352c9de3 | |
parent | 39d76ec001aecea6023ea11e994c84be701372d0 [diff] |
onos-6296: Null Pointer check before using null object Change-Id: I67aac52eb95554c19379ca7bb585d15b9f5295e6
diff --git a/incubator/store/src/main/java/org/onosproject/incubator/store/virtual/impl/SimpleVirtualGroupStore.java b/incubator/store/src/main/java/org/onosproject/incubator/store/virtual/impl/SimpleVirtualGroupStore.java index 98e3d87..9c71eb5 100644 --- a/incubator/store/src/main/java/org/onosproject/incubator/store/virtual/impl/SimpleVirtualGroupStore.java +++ b/incubator/store/src/main/java/org/onosproject/incubator/store/virtual/impl/SimpleVirtualGroupStore.java
@@ -731,6 +731,9 @@ existing = groupEntriesById.get(networkId) .get(group.deviceId()).get(group.id()); } + if (existing == null) { + break; + } log.trace("groupMissing: group " + "entry {} in device {} moving "