[OPNFLWPLUG-1033] org.opendaylight.openflowplugin.applications.forwardingrules-manager/0.8.0.SNAPSHOT incorrectly threw an exception from its destroy method.java.lang.StackOverflowError: null Created: 17/Sep/18  Updated: 01/Oct/18  Resolved: 01/Oct/18

Status: Resolved
Project: OpenFlowPlugin
Component/s: forwardingrules-manager
Affects Version/s: None
Fix Version/s: Fluorine-SR1, Neon

Type: Bug Priority: Medium
Reporter: Sam Hague Assignee: Somashekhar Javalagi
Resolution: Done Votes: 0
Labels: csit:3node, csit:exception
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File odl1_karaf.log.tar.xz    
Issue Links:
Relates
relates to OPNFLWPLUG-1034 NullPointerException: null at org.ope... Resolved
relates to OPNFLWPLUG-1035 Not able to set MASTER role on device... Resolved
Epic Link: Clustering Stability

 Description   

During 3node testing using graceful start and stop the following exception log repeats for hundreds of lines - guessing for each line of this array. Graceful start and stop means using the bin/stop and start commands to stop and start ODL rather than using kill -9. This means there is an orderly stop to the bundles where each bundle is destroyed. Some bundles in openflowplugin are destroyed and then this repeating log comes out.

The flow is all three ODLs are up. Then shutdown ODL1 via bin/stop. The exception comes out.

https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/builder-copy-sandbox-logs/408/shague-haproxy-netvirt-csit-3node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-neon/8/odl_1/odl1_karaf.log.gz

2018-09-17T16:51:17,027 | ERROR | Framework stop   | BeanRecipe                       | 75 - org.apache.aries.blueprint.core - 1.8.3 | The blueprint bean frmManager in bundle org.opendaylight.openflowplugin.applications.forwardingrules-manager/0.8.0.SNAPSHOT incorrectly threw an exception from its destroy method.java.lang.StackOverflowError: null	at java.util.concurrent.CopyOnWriteArrayList.remove(CopyOnWriteArrayList.java:526) ~[?:?]	at org.opendaylight.openflowplugin.impl.mastership.MastershipChangeServiceManagerImpl.lambda$register$0(MastershipChangeServiceManagerImpl.java:36) ~[?:?]	at org.opendaylight.openflowplugin.impl.mastership.MastershipServiceDelegate.close(MastershipServiceDelegate.java:34) ~[?:?]	at org.opendaylight.openflowplugin.applications.frm.impl.DeviceMastershipManager.close(DeviceMastershipManager.java:166) ~[?:?]	at org.opendaylight.openflowplugin.impl.mastership.MastershipServiceDelegate.close(MastershipServiceDelegate.java:35) ~[?:?]	at org.opendaylight.openflowplugin.applications.frm.impl.DeviceMastershipManager.close(DeviceMastershipManager.java:166) ~[?:?]	at org.opendaylight.openflowplugin.impl.mastership.MastershipServiceDelegate.close(MastershipServiceDelegate.java:35) ~[?:?]	at org.opendaylight.openflowplugin.applications.frm.impl.DeviceMastershipManager.close(DeviceMastershipManager.java:166) ~[?:?]	at org.opendaylight.openflowplugin.impl.mastership.MastershipServiceDelegate.close(MastershipServiceDelegate.java:35) ~[?:?]	at org.opendaylight.openflowplugin.applications.frm.impl.DeviceMastershipManager.close(DeviceMastershipManager.java:166) ~[?:?]	at org.opendaylight.openflowplugin.impl.mastership.MastershipServiceDelegate.close(MastershipServiceDelegate.java:35) ~[?:?]	at 

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