Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-3549

NPE in DHCP during IP renew when no IP range is registered

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.4.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      1

      Description

      DHCP throws NPE during IP renew when no IP range is registered and use the service only for "rangeNotEnforced" static mapping. Even if I add default service range, no NPE but DHCP ACK is not generated for rangeNotForced IP.

      -------------------------
      2015-12-07 19:03:27,313 | WARN | ew I/O worker #1 | PacketManager | 143 - org.onosproject.onos-core-net - 1.4.0.SNAPSHOT | Packet processor org.onosproject.dhcp.impl.DhcpManager$DhcpPacketProcessor@76ac3cde threw an exception
      java.lang.NullPointerException
      at org.onosproject.dhcp.impl.DistributedDhcpStore.ipWithinRange(DistributedDhcpStore.java:358)[185:org.onosproject.onos-app-dhcp:1.4.0.SNAPSHOT]
      at org.onosproject.dhcp.impl.DistributedDhcpStore.assignIP(DistributedDhcpStore.java:178)[185:org.onosproject.onos-app-dhcp:1.4.0.SNAPSHOT]
      at org.onosproject.dhcp.impl.DhcpManager$DhcpPacketProcessor.processDhcpPacket(DhcpManager.java:520)[185:org.onosproject.onos-app-dhcp:1.4.0.SNAPSHOT]
      at org.onosproject.dhcp.impl.DhcpManager$DhcpPacketProcessor.process(DhcpManager.java:609)[185:org.onosproject.onos-app-dhcp:1.4.0.SNAPSHOT]
      at org.onosproject.net.packet.impl.PacketManager$InternalPacketProviderService.processPacket(PacketManager.java:317)[143:org.onosproject.onos-core-net:1.4.0.SNAPSHOT]
      at org.onosproject.provider.of.packet.impl.OpenFlowPacketProvider$InternalPacketProvider.handlePacket(OpenFlowPacketProvider.java:170)[172:org.onosproject.onos-of-provider-packet:1.4.0.SNAPSHOT]

        Attachments

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

          Activity

            People

            • Assignee:
              hyunsun Hyunsun Moon
              Reporter:
              hyunsun Hyunsun Moon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: