Following error is being thrown, same client works fine with the node running as a java service on the system.
java.lang.NullPointerException: null
at org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnector.createConnection(NettyConnector.java:800) ~[artemis-core-client-2.6.3.jar!/:2.6.3]
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.openTransportConnection(ClientSessionFactoryImpl.java:1046) [artemis-core-client-2.6.3.jar!/:2.6.3]
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createTransportConnection(ClientSessionFactoryImpl.java:1086) [artemis-core-client-2.6.3.jar!/:2.6.3]
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.establishNewConnection(ClientSessionFactoryImpl.java:1297) [artemis-core-client-2.6.3.jar!/:2.6.3]
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.getConnection(ClientSessionFactoryImpl.java:901) [artemis-core-client-2.6.3.jar!/:2.6.3]
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.getConnectionWithRetry(ClientSessionFactoryImpl.java:797) [artemis-core-client-2.6.3.jar!/:2.6.3]
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.reconnectSessions(ClientSessionFactoryImpl.java:746) [artemis-core-client-2.6.3.jar!/:2.6.3]
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.failoverOrReconnect(ClientSessionFactoryImpl.java:616) [artemis-core-client-2.6.3.jar!/:2.6.3]
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.handleConnectionFailure(ClientSessionFactoryImpl.java:506) [artemis-core-client-2.6.3.jar!/:2.6.3]
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.handleConnectionFailure(ClientSessionFactoryImpl.java:499) [artemis-core-client-2.6.3.jar!/:2.6.3]
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.connectionException(ClientSessionFactoryImpl.java:370) [artemis-core-client-2.6.3.jar!/:2.6.3]
at org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnector$Listener$2.run(NettyConnector.java:1073) [artemis-core-client-2.6.3.jar!/:2.6.3]
答案 0 :(得分:0)
因此,看起来整个堆栈跟踪都在Artemis内,并且不在Corda的范围内。
但是,尝试建立连接的Corda节点可能以某种方式被错误配置,因此节点尝试进行通信的网络无法正常工作;那是我要调查的地方,因为这可能是一个更晦涩的问题,导致artemis崩溃。
如果您可以在此处共享您的节点配置,那么可以很好地验证网络配置是否正确。