[CONTROLLER-712] Shard Actor (Raft) applyState results in NullPointer exception Created: 20/Aug/14  Updated: 19/Oct/17  Resolved: 20/Aug/14

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

Type: Bug
Reporter: Basheeruddin Ahmed Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


Issue Links:
Duplicate
duplicates CONTROLLER-713 Clustering : NPE on startup Resolved
External issue ID: 1594

 Description   

Bring up the controller configured to use distributed datastore. Create a simple topology with mininet. If they are any errors subsequent restart of the controller shows NullPointerException



 Comments   
Comment by Basheeruddin Ahmed [ 20/Aug/14 ]

java.lang.NullPointerException
at org.opendaylight.controller.cluster.datastore.Shard$2.onSuccess(Shard.java:273)
at org.opendaylight.controller.cluster.datastore.Shard$2.onSuccess(Shard.java:271)
at com.google.common.util.concurrent.Futures$4.run(Futures.java:1149)
at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:293)
at com.google.common.util.concurrent.Futures$ImmediateFuture.addListener(Futures.java:99)
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1152)
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1088)
at org.opendaylight.controller.cluster.datastore.Shard.commit(Shard.java:271)
at org.opendaylight.controller.cluster.datastore.Shard.applyState(Shard.java:369)
at org.opendaylight.controller.cluster.raft.RaftActor.onReceiveCommand(RaftActor.java:163

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