3 Replies Latest reply on Jun 17, 2013 3:53 AM by Tianwei Du

    HornetQException[errorType=INTERNAL_ERROR message=null]

    Tianwei Du Newbie

      Excuse me, I have met this problem with hornetq-2.3.0.Final.

      hornetqException.jpg

      But after I restart my application , the problem has gone.

       

      At the server side :

      17:48:15,921 WARN  [org.hornetq.core.server] Sending unexpected exception to the client: java.lang.NullPointerException

              at org.hornetq.core.postoffice.impl.WildcardAddressManager.addBinding(WildcardAddressManager.java:112) [hornetq-server.jar:]

              at org.hornetq.core.postoffice.impl.PostOfficeImpl.addBinding(PostOfficeImpl.java:453) [hornetq-server.jar:]

              at org.hornetq.core.server.impl.HornetQServerImpl.createQueue(HornetQServerImpl.java:1850) [hornetq-server.jar:]

              at org.hornetq.core.server.impl.HornetQServerImpl.createQueue(HornetQServerImpl.java:1107) [hornetq-server.jar:]

              at org.hornetq.core.server.impl.ServerSessionImpl.createQueue(ServerSessionImpl.java:427) [hornetq-server.jar:]

              at org.hornetq.core.protocol.core.ServerSessionPacketHandler.handlePacket(ServerSessionPacketHandler.java:235) [hornetq-server.jar:]

              at org.hornetq.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:631) [hornetq-core-client.jar:]

              at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:547) [hornetq-core-client.jar:]

              at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:523) [hornetq-core-client.jar:]

              at org.hornetq.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:564) [hornetq-server.jar:]

              at org.hornetq.core.remoting.impl.netty.HornetQChannelHandler.messageReceived(HornetQChannelHandler.java:72) [hornetq-core-client.jar:]

              at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:88) [netty.jar:]

              at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560) [netty.jar:]

              at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:787) [netty.jar:]

              at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:281) [netty.jar:]

              at org.hornetq.core.remoting.impl.netty.HornetQFrameDecoder2.decode(HornetQFrameDecoder2.java:169) [hornetq-core-client.jar:]

              at org.hornetq.core.remoting.impl.netty.HornetQFrameDecoder2.messageReceived(HornetQFrameDecoder2.java:134) [hornetq-core-client.jar:]

              at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [netty.jar:]

              at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560) [netty.jar:]

              at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:555) [netty.jar:]

              at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268) [netty.jar:]

              at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255) [netty.jar:]

              at org.jboss.netty.channel.socket.oio.OioWorker.process(OioWorker.java:71) [netty.jar:]

              at org.jboss.netty.channel.socket.oio.AbstractOioWorker.run(AbstractOioWorker.java:73) [netty.jar:]

              at org.jboss.netty.channel.socket.oio.OioWorker.run(OioWorker.java:51) [netty.jar:]

              at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) [netty.jar:]

              at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) [netty.jar:]

              at org.jboss.netty.util.VirtualExecutorService$ChildExecutorRunnable.run(VirtualExecutorService.java:175) [netty.jar:]

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_15]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_15]

              at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_15]

        • 1. Re: HornetQException[errorType=INTERNAL_ERROR message=null]
          Andy Taylor Master

          I cant read the first exception and the second doesnt tell me much, I will need more info to help you, version, code, scenario etc

          • 2. Re: HornetQException[errorType=INTERNAL_ERROR message=null]
            Tianwei Du Newbie

            Sorry , could you try to click the pic to see it clear ?

            • 3. Re: HornetQException[errorType=INTERNAL_ERROR message=null]
              Tianwei Du Newbie

              this is the Exception on the client:

               

              Exception in thread "main" javax.jms.JMSException

                      at org.hornetq.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:378)

                      at org.hornetq.core.client.impl.ClientSessionImpl.internalCreateQueue(ClientSessionImpl.java:1987)

                      at org.hornetq.core.client.impl.ClientSessionImpl.createTemporaryQueue(ClientSessionImpl.java:356)

                      at org.hornetq.core.client.impl.DelegatingSession.createTemporaryQueue(DelegatingSession.java:304)

                      at org.hornetq.jms.client.HornetQSession.createConsumer(HornetQSession.java:559)

                      at org.hornetq.jms.client.HornetQSession.createConsumer(HornetQSession.java:378)

                      at org.hornetq.jms.client.HornetQSession.createConsumer(HornetQSession.java:348)

                                  .

                                  .

                                  .

              Caused by: HornetQException[errorType=INTERNAL_ERROR message=null]

                      ...  9 more