NPE in BindingsImpl in server
tony36 Oct 26, 2012 2:29 AMHi, getting the exception below in the server logs. And my msgs do not arrive. The only difference between this failed run, and a successful run, is that i added <grouping-handler> config to my cluster of 2 instances (one with LOCAL, and one with REMOTE):
In my setup, i have 2 different consumer processes, and 2 stand alone hornetq instances. Things work fine w/o the above config, i get all messages that i send from my test program. As soon as i add the above config and restart, i get the below.
Any ideas?
[Old I/O server worker (parentId: 285747235, [id: 0x11082823, localhost/127.0.0.1:5445])] 23:02:05,860 FINEST [org.hornetq.core.security.impl.SecurityStoreImpl] checking access permissions to jms.topic.platform.account
[Thread-22 (group:HornetQ-server-threads2056454348-1629818866)] 23:02:05,862 FINEST [org.hornetq.core.server.impl.QueueImpl] Queue notif.7076b691-1f32-11e2-907b-14feb5df54db is delivering reference Reference[12884901925]:RELIABLE:ServerMessage[messageID=12884901925,priority=0,expiration=0, durable=true, address=hornetq.notifications,properties=TypedProperties[{_JBM_ProposalGroupId=99918.6cc1761c-1f32-11e2-8c95-14feb5df54db, _HQ_NotifTimestamp=1351231325861, _HQ_Binding_Type=0, _HQ_Distance=0, _HQ_NotifType=PROPOSAL, _HQ_Address=jms, _JBM_ProposalValue=platform-account--to-biz-divert}]]
[Old I/O client worker ([id: 0x79a93f38, /127.0.0.1:52862 => localhost/127.0.0.1:5446])] 23:02:05,868 FINEST [org.hornetq.core.client.impl.ClientConsumerImpl] Adding Runner on Executor for delivery
[Thread-2 (group:HornetQ-client-global-threads-1842275169)] 23:02:05,869 FINEST [org.hornetq.core.client.impl.ClientConsumerImpl] Calling handler.onMessage
[Thread-2 (group:HornetQ-client-global-threads-1842275169)] 23:02:05,869 FINEST [org.hornetq.core.client.impl.ClientConsumerImpl] Handler.onMessage done
[Thread-23 (group:HornetQ-server-threads2056454348-1629818866)] 23:02:05,870 FINEST [org.hornetq.core.server.impl.QueueImpl] Queue notif.7076b691-1f32-11e2-907b-14feb5df54db is delivering reference Reference[12884901927]:RELIABLE:ServerMessage[messageID=12884901927,priority=0,expiration=0, durable=true, address=hornetq.notifications,properties=TypedProperties[{_JBM_ProposalGroupId=99918.jms.queue.biz, _HQ_NotifTimestamp=1351231325870, _HQ_Binding_Type=0, _HQ_Distance=0, _HQ_NotifType=PROPOSAL, _HQ_Address=jms, _JBM_ProposalValue=jms.queue.biz38e4ffa9-1715-11e2-865d-14feb5df54db}]]
[Old I/O client worker ([id: 0x79a93f38, /127.0.0.1:52862 => localhost/127.0.0.1:5446])] 23:02:05,875 FINEST [org.hornetq.core.client.impl.ClientConsumerImpl] Adding Runner on Executor for delivery
[Thread-2 (group:HornetQ-client-global-threads-1842275169)] 23:02:05,875 FINEST [org.hornetq.core.client.impl.ClientConsumerImpl] Calling handler.onMessage
[Thread-2 (group:HornetQ-client-global-threads-1842275169)] 23:02:05,875 FINEST [org.hornetq.core.client.impl.ClientConsumerImpl] Handler.onMessage done
[Old I/O server worker (parentId: 285747235, [id: 0x11082823, localhost/127.0.0.1:5445])] 23:02:05,877 WARNING [org.hornetq.core.protocol.core.ServerSessionPacketHandler] Sending unexpected exception to the client
java.lang.NullPointerException
at org.hornetq.core.postoffice.impl.BindingsImpl.routeUsingStrictOrdering(BindingsImpl.java:420)
at org.hornetq.core.postoffice.impl.BindingsImpl.route(BindingsImpl.java:258)
at org.hornetq.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:599)
at org.hornetq.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:561)
at org.hornetq.core.server.impl.ServerSessionImpl.doSend(ServerSessionImpl.java:1365)
at org.hornetq.core.server.impl.ServerSessionImpl.send(ServerSessionImpl.java:1107)
at org.hornetq.core.protocol.core.ServerSessionPacketHandler.handlePacket(ServerSessionPacketHandler.java:440)
at org.hornetq.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:474)
at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:496)
at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:457)
at org.hornetq.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:459)
at org.hornetq.core.remoting.impl.netty.HornetQChannelHandler.messageReceived(HornetQChannelHandler.java:73)
at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:100)
at org.jboss.netty.channel.StaticChannelPipeline.sendUpstream(StaticChannelPipeline.java:362)
at org.jboss.netty.channel.StaticChannelPipeline$StaticChannelHandlerContext.sendUpstream(StaticChannelPipeline.java:514)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:287)
at org.hornetq.core.remoting.impl.netty.HornetQFrameDecoder2.decode(HornetQFrameDecoder2.java:169)
at org.hornetq.core.remoting.impl.netty.HornetQFrameDecoder2.messageReceived(HornetQFrameDecoder2.java:134)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80)
at org.jboss.netty.channel.StaticChannelPipeline.sendUpstream(StaticChannelPipeline.java:362)
at org.jboss.netty.channel.StaticChannelPipeline.sendUpstream(StaticChannelPipeline.java:357)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:274)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:261)
at org.jboss.netty.channel.socket.oio.OioWorker.run(OioWorker.java:90)
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
at org.jboss.netty.util.VirtualExecutorService$ChildExecutorRunnable.run(VirtualExecutorService.java:181)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)