[GENIUS-68] NullPointerException at org.opendaylight.genius.datastoreutils.DataStoreJobCoordinator.getHashKey Created: 30/Mar/17  Updated: 30/Oct/17  Resolved: 07/Apr/17

Status: Resolved
Project: genius
Component/s: General
Affects Version/s: (unspecified)
Fix Version/s: None

Type: Bug
Reporter: Janki Chhatbar Assignee: Faseela K
Resolution: Done 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: 8106

 Description   

Found in https://logs.opendaylight.org/releng/jenkins092/netvirt-csit-1node-openstack-newton-nodl-v2-upstream-stateful-carbon/274/archives/odl1_karaf.log.gz

2017-03-30 01:33:02,961 | ERROR | eChangeHandler-0 | AsyncDataTreeChangeListenerBase | 299 - org.opendaylight.genius.mdsalutil-api - 0.2.0.SNAPSHOT | Thread terminated due to uncaught exception: AsyncDataTreeChangeListenerBase-DataTreeChangeHandler-0
java.lang.NullPointerException
at org.opendaylight.genius.datastoreutils.DataStoreJobCoordinator.getHashKey(DataStoreJobCoordinator.java:166)[299:org.opendaylight.genius.mdsalutil-api:0.2.0.SNAPSHOT]
at org.opendaylight.genius.datastoreutils.DataStoreJobCoordinator.enqueueJob(DataStoreJobCoordinator.java:114)[299:org.opendaylight.genius.mdsalutil-api:0.2.0.SNAPSHOT]
at org.opendaylight.genius.datastoreutils.DataStoreJobCoordinator.enqueueJob(DataStoreJobCoordinator.java:89)[299:org.opendaylight.genius.mdsalutil-api:0.2.0.SNAPSHOT]
at org.opendaylight.netvirt.policyservice.util.PolicyServiceUtil.updateTunnelInterfaceForUnderlayNetwork(PolicyServiceUtil.java:153)[352:org.opendaylight.netvirt.policyservice-impl:0.4.0.SNAPSHOT]
at org.opendaylight.netvirt.policyservice.listeners.TunnelStateChangeListener.handleTunnelUpdate(TunnelStateChangeListener.java:108)[352:org.opendaylight.netvirt.policyservice-impl:0.4.0.SNAPSHOT]
at org.opendaylight.netvirt.policyservice.listeners.TunnelStateChangeListener.add(TunnelStateChangeListener.java:80)[352:org.opendaylight.netvirt.policyservice-impl:0.4.0.SNAPSHOT]
at org.opendaylight.netvirt.policyservice.listeners.TunnelStateChangeListener.add(TunnelStateChangeListener.java:35)[352:org.opendaylight.netvirt.policyservice-impl:0.4.0.SNAPSHOT]
at org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase$DataTreeChangeHandler.run(AsyncDataTreeChangeListenerBase.java:155)[299:org.opendaylight.genius.mdsalutil-api:0.2.0.SNAPSHOT]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]



 Comments   
Comment by Faseela K [ 07/Apr/17 ]

Tali, isn't this already fixed?
Can we close this?

Comment by Tali Ben-Meir [ 07/Apr/17 ]

(In reply to Faseela K from comment #1)
> Tali, isn't this already fixed?
> Can we close this?

I fixed in in the application side. Maybe it would also be safer to protect the DjC itself

Comment by Faseela K [ 07/Apr/17 ]

Since DJC is already moving to infrautils, and this is already fixed there, I think we can close this TR now.

Generated at Wed Feb 07 19:59:50 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.