Uploaded image for project: 'genius'
  1. genius
  2. GENIUS-47

NPE thrown for interface without lport tag

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • (unspecified)
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 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

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tomer.pearl@hpe.com Tomer Pearl
            tali@hpe.com Tali Ben-Meir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: