Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
master
-
None
-
None
-
Operating System: All
Platform: All
-
6053
Description
The following Null Pointer Exception is thrown when creating a Neutron Port as specified below:
<p>Problem accessing /controller/nb/v2/neutron/ports. Reason:
<pre> Server Error</pre></p><h3>Caused by:</h3><pre>java.lang.NullPointerException
at org.opendaylight.neutron.transcriber.NeutronPortInterface.toMd(NeutronPortInterface.java:288)
at org.opendaylight.neutron.transcriber.NeutronPortInterface.toMd(NeutronPortInterface.java:55)
at org.opendaylight.neutron.transcriber.AbstractNeutronInterface.updateMd(AbstractNeutronInterface.java:119)
at org.opendaylight.neutron.transcriber.AbstractNeutronInterface.addMd(AbstractNeutronInterface.java:102)
at org.opendaylight.neutron.transcriber.AbstractNeutronInterface.add(AbstractNeutronInterface.java:283)
at org.opendaylight.neutron.transcriber.AbstractNeutronInterface.add(AbstractNeutronInterface.java:293)
"port": [
{
"binding:host_id": "overcloud-novacompute-1",
"description": "",
"allowed_address_pairs": [],
"extra_dhcp_opts": [],
"updated_at": "2016-06-10T17:15:19",
"device_owner": "",
"port_security_enabled": true,
"binding:profile": {},
"qos_policy_id": null,
"fixed_ips": [
],
"id": "06bbd0b0-fda8-4c40-a793-99fcc0aaa746",
"security_groups": [
{
"tenant_id": "0b18aae5ad924a01a594bd5148fc95df",
"description": "Default security group",
"id": "9d3c207a-3d2a-488d-9be1-cf6387bc59af",
"security_group_rules": [
,
,
,
{ "direction": "ingress", "protocol": null, "description": "", "port_range_max": null, "id": "eec6078c-e9a1-409c-84e7-fa6d675c4fa4", "remote_group_id": "9d3c207a-3d2a-488d-9be1-cf6387bc59af", "remote_ip_prefix": null, "security_group_id": "9d3c207a-3d2a-488d-9be1-cf6387bc59af", "tenant_id": "0b18aae5ad924a01a594bd5148fc95df", "port_range_min": null, "ethertype": "IPv4" } ],
"name": "default"
}