[CONTROLLER-1590] DOMRpcBroker: NPE during listener notification Created: 27/Jan/17  Updated: 25/Jul/23  Resolved: 27/Mar/17

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Blocks
blocks MDSAL-225 NullPointerException at Maps.doDiffer... Resolved
Duplicate
is duplicated by MDSAL-225 NullPointerException at Maps.doDiffer... Resolved
External issue ID: 7697

 Description   

Autorelease shows a NPE in DOMRpcRouter, as evidenced in https://logs.opendaylight.org/releng/jenkins092/autorelease-release-carbon/135/archives/l2switch/features/target/surefire-reports/org.opendaylight.odlparent.featuretest.SingleFeatureTest-output.txt.gz:

Exception in thread "DOMRpcRouter-listener-0" java.lang.NullPointerException
at com.google.common.collect.Maps.doDifference(Maps.java:428)
at com.google.common.collect.Maps.difference(Maps.java:419)
at com.google.common.collect.Maps.difference(Maps.java:387)
at org.opendaylight.controller.md.sal.dom.broker.impl.DOMRpcRouter$Registration.addRpc(DOMRpcRouter.java:185)
at org.opendaylight.controller.md.sal.dom.broker.impl.DOMRpcRouter.notifyAdded(DOMRpcRouter.java:109)
at org.opendaylight.controller.md.sal.dom.broker.impl.DOMRpcRouter.lambda$registerRpcImplementation$1(DOMRpcRouter.java:87)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

This should not be happening, as at that point the initial table should have been seeded.



 Comments   
Comment by Robert Varga [ 27/Jan/17 ]

master: https://git.opendaylight.org/gerrit/51150

Comment by Michael Vorburger [ 30/Jan/17 ]

MDSAL-225 may be a duplicate of this one?

Comment by Robert Varga [ 27/Mar/17 ]

boron: https://git.opendaylight.org/gerrit/51203

Comment by Michael Vorburger [ 03/Jul/18 ]

MDSAL-359 solves a re-occcurence of this today.

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