[GENIUS-47] NPE thrown for interface without lport tag Created: 02/Jan/17  Updated: 17/Jan/17  Resolved: 17/Jan/17

Status: Resolved
Project: genius
Component/s: General
Affects Version/s: (unspecified)
Fix Version/s: None

Type: Bug
Reporter: Tali Ben-Meir Assignee: Tomer Pearl
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 7466

 Description   

While trying to get interface-state from oper DS for interfaces that do not have lport-tag using IInterfaceManager.getInterfaceInfoFromOperationalDataStore() the following exception is thrown

Exception in thread "pool-49-thread-64" java.lang.NullPointerException
at org.opendaylight.genius.interfacemanager.InterfacemgrProvider.getInterfaceInfoFromOperationalDataStore(InterfacemgrProvider.java:422)
at Proxyed20650a_aa14_4984_a46e_e87e37bcb421.getInterfaceInfoFromOperationalDataStore(Unknown Source)

because of lport-tag autoboxing in this method



 Comments   
Comment by Koby Aizer [ 15/Jan/17 ]

Review: https://git.opendaylight.org/gerrit/#/c/50372/

Generated at Wed Feb 07 19:59:47 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.