[OPNFLWPLUG-684] NullPointerException in StatPermCollectorImp on shutdown Created: 07/May/16  Updated: 27/Sep/21  Resolved: 27/Nov/17

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

Type: Bug
Reporter: Colin Dixon Assignee: Anil Vishnoi
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: 5857

 Description   

On shutting down OpenDaylight, I saw the following exception:

Exception in thread "odl-stat-collector-1-thread-0" java.lang.NullPointerException
at org.opendaylight.openflowplugin.applications.statistics.manager.impl.StatPermCollectorImpl.isThisInstanceNodeOwner(StatPermCollectorImpl.java:368)
at org.opendaylight.openflowplugin.applications.statistics.manager.impl.StatPermCollectorImpl.collectStatCrossNetwork(StatPermCollectorImpl.java:293)
at org.opendaylight.openflowplugin.applications.statistics.manager.impl.StatPermCollectorImpl.run(StatPermCollectorImpl.java:248)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)



 Comments   
Comment by Shuva Jyoti Kar [ 11/May/16 ]

Can you specify the branch(master/stable-Be) and the condition - did you have any switches connected? I assume its a single node test and not a clustered one and you used "shutdown -f" to shut it down gracefully, am i correct ?

Comment by Sunil Kumar M S [ 17/Apr/17 ]

Hello Colin,

Can you check if this issue still exist.
if the issue exist, then can you provide logs and scenario/use case.

Comment by Colin Dixon [ 24/Apr/17 ]

(In reply to Sunil Kumar M S from comment #2)
> Hello Colin,
>
> Can you check if this issue still exist.
> if the issue exist, then can you provide logs and scenario/use case.

I was running Beryllium-SR1 and was connecting a small number of OVS instances using mininet, then running a ping from one host to another followed by shutting things down and saw this. My guess is that you can close this as wontfix because it's from Beryllium and I don't have a good way to reproduce it.

Comment by Abhijit Kumbhare [ 27/Nov/17 ]

Closing as per Colin's comments.

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