Skip to content
Snippets Groups Projects
Commit 8d8cdf5a authored by Kim Kern's avatar Kim Kern
Browse files

prevent npe with aggregation context results

parent 4410934c
Branches
No related tags found
No related merge requests found
......@@ -30,7 +30,8 @@ public class WalletImpl extends AbstractWallet {
private transient WalletGuiControl gui;
private String preKnownNeighbourName;
private boolean isActive;
private AggregationContext aggregationContext = new AggregationContextBuilder(null, null, null, null, null).build();
private AggregationContext aggregationContext = new AggregationContextBuilder(null, null, null, new double[] { -1 },
x -> x[0]).build();
private boolean hasPendingAggregationRequest = false;
private ConcurrentLinkedQueue<ActorRef> deferedSupervisorReceivers = new ConcurrentLinkedQueue<>();
private transient final EvictingQueue<UUID> handledAggregationRequests = EvictingQueue.create(10);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment