-
Bug
-
Resolution: Done
-
Major
-
1.0.17.Final
-
None
The following NullPointerException is being reported as one server establishes connections to a cluster: -
15:47:07,968 INFO [org.jboss.ejb.client.remoting] (ejb-client-remote-connection-reconnect-3-thread-1) EJBCLIENT000013: Successful version handshake completed for receiver context EJBReceiverContext{clientContext=org.jboss.ejb.client.EJBClientContext@78c9b430, receiver=Remoting connection EJB receiver [connection=Remoting connection <1a2573db>,channel=jboss.ejb,nodename=nodea]} on channel Channel ID a82589bb (outbound) of Remoting connection 10cf9772 to 127.0.0.2/127.0.0.2:4447 15:47:12,720 INFO [org.jboss.ejb.client.remoting.RemotingConnectionClusterNodeManager] (ejb-client-cluster-node-connection-creation-4-thread-3) Could not create a connection for cluster node ClusterNode{clusterName='ejb', nodeName='nodea', clientMappings=[ClientMapping{sourceNetworkAddress=/0:0:0:0:0:0:0:0, sourceNetworkMaskBits=0, destinationAddress='127.0.0.2', destinationPort=4447}], resolvedDestination=[Destination address=127.0.0.2, destination port=4447]} in cluster ejb: java.lang.NullPointerException at org.jboss.ejb.client.remoting.ConnectionPool.getConnection(ConnectionPool.java:70) [jboss-ejb-client-1.0.17.Final.jar:1.0.17.Final] at org.jboss.ejb.client.remoting.RemotingConnectionManager.getConnection(RemotingConnectionManager.java:51) [jboss-ejb-client-1.0.17.Final.jar:1.0.17.Final] at org.jboss.ejb.client.remoting.RemotingConnectionClusterNodeManager.getEJBReceiver(RemotingConnectionClusterNodeManager.java:77) [jboss-ejb-client-1.0.17.Final.jar:1.0.17.Final] at org.jboss.ejb.client.ClusterContext$EJBReceiverAssociationTask.call(ClusterContext.java:406) [jboss-ejb-client-1.0.17.Final.jar:1.0.17.Final] at org.jboss.ejb.client.ClusterContext$EJBReceiverAssociationTask.call(ClusterContext.java:380) [jboss-ejb-client-1.0.17.Final.jar:1.0.17.Final] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_17] at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_17] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_17] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_17] at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_17]
Debugging further this is caused because the CallbackHandler is null so attempting to obtain the class results in this exception.
What I have not got to the bottom of is whether it is expected that the CallbackHandler is null or if the bug is that it is null.