[OPNFLWPLUG-433] LLDP fails to stop Created: 06/May/15  Updated: 27/Sep/21  Resolved: 10/Nov/15

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Robert Varga Assignee: Unassigned
Resolution: Cannot Reproduce 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: 3137

 Description   

Running vpnservice feature tests reports the following exception:

ERROR: Bundle org.opendaylight.openflowplugin.applications.topology-lldp-discovery [228] Error stopping mvn:org.opendaylight.openflowplugin.applications/topology-lldp-discovery/0.1.0-SNAPSHOT (org.osgi.framework.BundleException: Activator stop error in bundle org.opendaylight.openflowplugin.applications.topology-lldp-discovery [228].)
java.lang.Error: java.lang.NullPointerException
at org.opendaylight.openflowplugin.applications.topology.lldp.LLDPDiscoveryProvider.close(LLDPDiscoveryProvider.java:63)
at org.opendaylight.openflowplugin.applications.topology.lldp.LLDPActivator.stopImpl(LLDPActivator.java:28)
at org.opendaylight.controller.sal.binding.api.AbstractBrokerAwareActivator.stop(AbstractBrokerAwareActivator.java:75)
at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667)
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2530)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1309)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at org.opendaylight.openflowplugin.applications.topology.lldp.LLDPDiscoveryProvider.close(LLDPDiscoveryProvider.java:61)
... 7 more



 Comments   
Comment by Jozef Gloncak [ 02/Jun/15 ]

I started feature feature:install odl-openflowplugin-nsf-services in openflowplugin karaf.
I tried to stop running karaf via system:shutdown.
In logs I found:

2015-06-02 15:19:43,273 | INFO | Bundle Shutdown | LLDPDiscoveryProvider | 190 - org.opendaylight.openflowplugin.applications.topology-lldp-discovery - 0.1.0.SNAPSHOT |
LLDPDiscoveryListener stopped.
2015-06-02 15:19:43,273 | INFO | pool-13-thread-7 | LLDPDiscoveryProvider | 190 - org.opendaylight.openflowplugin.applications.topology-lldp-discovery - 0.1.0.SNAPSHOT | LLDPDiscoveryListener stopped.

No errors regarding topology-lldp-discovery.

What is vpnservice feature. I wasn't able to find it via
feature:list | grep vpn

Comment by Icaro Camelo [ 19/Aug/15 ]

I've tried to simulate this case, but it works perfectly.

Mininet topology:
sudo mn --topo tree,2 --controller 'remote,ip=127.0.0.1,port=6653' --switch ovsk,protocols=OpenFlow13

1) Karaf logs after start: http://pastebin.com/7h8w1KG4
2) Inventory XML: http://pastebin.com/CN2jHcCb
3) Inventory after shutdown: response status was 0.

Could you please re-test it?

Comment by Abhijit Kumbhare [ 10/Nov/15 ]

Changed as per Icaro's comments that it works.

Generated at Wed Feb 07 20:32:28 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.