- 
        1. Re: Strange message after invoking management queryjmesnil Aug 16, 2012 4:39 AM (in response to javahamburg)what's the stacktrace of the NPE on the server? 
- 
        2. Re: Strange message after invoking management queryjavahamburg Aug 16, 2012 6:22 AM (in response to jmesnil)Here is the full stacktrace on the server, only happens when calling close(), otherwise only the mentioned "Failed to remove temporary queue" log message is printed: [Old I/O server worker (parentId: 1230646724, [id: 0x495a2dc4, localhost/127.0.0.1:5445])] 11:29:10,099 WARNING [org.hornetq.core.protocol.core.ServerSessionPacketHandler] Sending unexpected exception to the client java.lang.NullPointerException at org.hornetq.core.server.impl.ScheduledDeliveryHandlerImpl.cancel(ScheduledDeliveryHandlerImpl.java:119) at org.hornetq.core.server.impl.QueueImpl.deleteMatchingReferences(QueueImpl.java:948) at org.hornetq.core.server.impl.QueueImpl.deleteAllReferences(QueueImpl.java:921) at org.hornetq.core.server.impl.HornetQServerImpl.destroyQueue(HornetQServerImpl.java:1101) at org.hornetq.core.server.impl.ServerSessionImpl.deleteQueue(ServerSessionImpl.java:483) at org.hornetq.core.protocol.core.ServerSessionPacketHandler.handlePacket(ServerSessionPacketHandler.java:245) 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) [Old I/O server worker (parentId: 1230646724, [id: 0x495a2dc4, localhost/127.0.0.1:5445])] 11:29:10,107 SEVERE [org.hornetq.core.server.impl.ServerSessionImpl] Failed to remove temporary queue jms.queue.hornetq.management.3e7f73e5-500a-44d3-b4aa-573f25518a83 On the client side: HornetQException[errorCode=0 message=null] at org.hornetq.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:286) at org.hornetq.core.client.impl.ClientSessionImpl.deleteQueue(ClientSessionImpl.java:350) at org.hornetq.core.client.impl.DelegatingSession.deleteQueue(DelegatingSession.java:322) at org.hornetq.api.core.client.ClientRequestor.close(ClientRequestor.java:106) at caller ... 
- 
        3. Re: Strange message after invoking management queryjavahamburg Oct 9, 2012 7:59 AM (in response to jmesnil)Any idea? 
- 
        4. Re: Strange message after invoking management queryjbertram Oct 9, 2012 8:38 AM (in response to javahamburg)What version of HornetQ are you using? 
- 
        5. Re: Strange message after invoking management queryjavahamburg Oct 9, 2012 8:47 AM (in response to jbertram)2.2.5.Final on Linux 64bit. JDK 1.6u33 
- 
        6. Re: Strange message after invoking management queryclebert.suconic Oct 9, 2012 11:18 AM (in response to javahamburg)this was fixed on later versions: https://github.com/hornetq/hornetq/commit/852f1b41da6a63a9b8f56f36c5151a500bf61bc3 
- 
        7. Re: Strange message after invoking management queryclebert.suconic Oct 9, 2012 1:17 PM (in response to clebert.suconic)1 of 1 people found this helpfulyou should move to a later release. 2.2.5 is fairly old now 
- 
        8. Re: Strange message after invoking management queryjavahamburg Oct 10, 2012 5:02 AM (in response to clebert.suconic)Thanks, I'll wait for 2.3.0, since I'm really interessted in the replication feature. Updating the poms from 2.0.0 to 2.2.5 was a pain, and there seems not to be any official documentation for this - so I just want to delay this pain. 
 
     
     
    