Forum Stats

  • 3,815,804 Users
  • 2,259,089 Discussions
  • 7,893,248 Comments

Discussions

Error while starting cluster: java.lang.NullPointerException

snidely_whiplash
snidely_whiplash Member Posts: 576
edited Mar 6, 2019 5:10PM in Coherence Support

I'm seeing this when joining a cluster.  I think it's because windows firewall is blocking the executable.  Probably the error should be more helpful.

Exception in thread "main" java.lang.reflect.InvocationTargetException

2019-02-27 15:59:45.550/11.531 Oracle Coherence GE 12.2.1.3.0 <Error> (thread=main, member=n/a): Error while starting cluster: java.lang.NullPointerException

        at com.oracle.common.internal.net.MultiplexedSocketProvider$MultiplexedServerSocketChannel$1.accept(MultiplexedSocketProvider.java:871)

        at com.oracle.common.net.InetAddresses.isNatLocalAddress(InetAddresses.java:1211)

        at com.oracle.common.net.InetAddresses.isNatLocalAddress(InetAddresses.java:1127)

        at com.tangosol.coherence.component.net.Cluster.configureSockets(Cluster.CDB:161)

        at com.tangosol.coherence.component.net.Cluster.onStart(Cluster.CDB:29)

        at com.tangosol.coherence.component.net.Cluster.start(Cluster.CDB:12)

        at com.tangosol.coherence.component.util.SafeCluster.startCluster(SafeCluster.CDB:4)

        at com.tangosol.coherence.component.util.SafeCluster.restartCluster(SafeCluster.CDB:10)

        at com.tangosol.coherence.component.util.SafeCluster.ensureRunningCluster(SafeCluster.CDB:32)

        at com.tangosol.coherence.component.util.SafeCluster.getRunningCluster(SafeCluster.CDB:7)

        at com.tangosol.coherence.component.util.SafeCluster.start(SafeCluster.CDB:5)

        at com.tangosol.net.CacheFactory.ensureCluster(CacheFactory.java:580)

        at com.tangosol.coherence.component.application.console.Coherence.run(Coherence.CDB:27)

        at com.tangosol.coherence.component.application.console.Coherence.main(Coherence.CDB:3)

        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.base/java.lang.reflect.Method.invoke(Method.java:566)

        at com.tangosol.net.CacheFactory.main(CacheFactory.java:1040)

        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.base/java.lang.reflect.Method.invoke(Method.java:566)

        at com.tangosol.net.CacheFactory.main(CacheFactory.java:1040)

Caused by: java.lang.NullPointerException

        at com.oracle.common.internal.net.MultiplexedSocketProvider$MultiplexedServerSocketChannel$1.accept(MultiplexedSocketProvider.java:871)

        at com.oracle.common.net.InetAddresses.isNatLocalAddress(InetAddresses.java:1211)

        at com.oracle.common.net.InetAddresses.isNatLocalAddress(InetAddresses.java:1127)

        at com.tangosol.coherence.component.net.Cluster.configureSockets(Cluster.CDB:161)

        at com.tangosol.coherence.component.net.Cluster.onStart(Cluster.CDB:29)

        at com.tangosol.coherence.component.net.Cluster.start(Cluster.CDB:12)

        at com.tangosol.coherence.component.util.SafeCluster.startCluster(SafeCluster.CDB:4)

        at com.tangosol.coherence.component.util.SafeCluster.restartCluster(SafeCluster.CDB:10)

        at com.tangosol.coherence.component.util.SafeCluster.ensureRunningCluster(SafeCluster.CDB:32)

        at com.tangosol.coherence.component.util.SafeCluster.getRunningCluster(SafeCluster.CDB:7)

        at com.tangosol.coherence.component.util.SafeCluster.start(SafeCluster.CDB:5)

        at com.tangosol.net.CacheFactory.ensureCluster(CacheFactory.java:580)

        at com.tangosol.coherence.component.application.console.Coherence.run(Coherence.CDB:27)

        at com.tangosol.coherence.component.application.console.Coherence.main(Coherence.CDB:3)

Answers