[NETVIRT-867] NPE at org.opendaylight.netvirt.elan.arp.responder.ArpResponderUtil.getMatchCriteria(ArpResponderUtil.java:178) Created: 23/Aug/17 Updated: 05/Dec/17 Resolved: 05/Dec/17 |
|
| Status: | Resolved |
| Project: | netvirt |
| Component/s: | General |
| Affects Version/s: | Carbon |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Michael Vorburger | Assignee: | Vinoth B |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 9035 |
| Description |
|
In the logs of 2017-08-22 17:11:50,048 | ERROR | Pool-1-worker-45 | DataStoreJobCoordinator | 319 - org.opendaylight.genius.mdsalutil-api - 0.2.2.Carbon | Exception when executing jobEntry: JobEntry {key='VPNINTERFACE- 55ef861d-a228-4f3c-9b1c-110017f6604e', mainWorker=org.opendaylight.netvirt.vpnmanager.VpnInterfaceManager$$Lambda$584/679401846@6c234385, rollbackWorker=null, retryCount=0, futures=null}java.lang.NullPointerException |
| Comments |
| Comment by Vinoth B [ 30/Aug/17 ] |
|
After analyzing the karaf log, the ELANInstance is null for the particular interfaces. The VPN interface add event for these interfaces may be failed because of OOM. It causes the NPE while retrieving the ELAN instances. I have added the null check before adding the ARP flow. Please mention the steps to reproduce to verify the fix. |
| Comment by Michael Vorburger [ 30/Aug/17 ] |
|
> The VPN interface add event for these interfaces may be failed because of OOM That is very likely, because in case of an OOM we shut down Karaf completely, we don't just not do certain things... so this explanation doesn't really make that much sense. > Please mention the steps to reproduce to verify the fix. I've no idea - quote |
| Comment by Vinoth B [ 31/Aug/17 ] |
|
Patch pushed: |