These are chat archives for atomix/atomix

27th
Apr 2016
Jordan Halterman
@kuujo
Apr 27 2016 03:35
Sorry I missed this.... Hmm
Jonathan Halterman
@jhalterman
Apr 27 2016 03:35
that lambda$null class name is odd
@grahamashby out of curiosity, what compiler and JVM are you running on?
grahamashby
@grahamashby
Apr 27 2016 12:44
java version "1.8.0"
Java(TM) SE Runtime Environment (build pwa6480sr2-20151023_01(SR2))
IBM J9 VM (build 2.8, JRE 1.8.0 Windows 7 amd64-64 Compressed References 20151019_272764 (JIT enabled, AOT enabled)
grahamashby
@grahamashby
Apr 27 2016 14:20
I did some debugging, and I'm suspecting the "return null" in BalancingClusterManager.start() (but I'm no expert) . The line " .thenCompose(v -> clusterManager.start(server.server().cluster(), this))" in AtomixReplica.bootstrap() triggers the NullPointerException in CompletableFuture$TenCompose.run(), since "fn.apply(t)" returns null.
grahamashby
@grahamashby
Apr 27 2016 18:07
OK, replacing the "return null" in BalancingClusterManager.start() with "return CompletableFuture.completedFuture(null)" seems to do the trick.