mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-22 04:40:59 +02:00
When tableStore or rowStore is null, getBridges() should not return (null), that will cause NullPointerException in its two usages: (getBRidges only has these two usages now, but it is very foundational.) 1. OvsdbBridgeConfig.java, line 113-115: Set<OvsdbBridge> bridges = client.getBridges(); return bridges.stream()...... 2. OvsdbControllerConfig.java, line 92: .filter(cs -> cs.getBridges().stream() .anyMatch(b -> dpidMatches(b, ofDeviceId))) ...... Change-Id: Ice14a8991f5022a5041cf48f5c8431712f946228