Details

      Description

      When address does not include sub-topic, push fails with:

      Invalid filter: OR false AND __HQ_CID<>'ba97ff8b-6a0c-11e0-b8c4-005056c00008': org.hornetq.core.filter.impl.ParseException: Encountered "OR" at line 1, column 2.
      Was expecting one of:
      "TRUE" ...
      "FALSE" ...
      "NOT" ...
      "(" ...
      "-" ...
      "+" ...
      <INTEGER_LITERAL> ...
      <FLOATING_POINT_LITERAL> ...
      <SIMPLE_STRING> ...
      <IDENTIFIER> ...

      at org.hornetq.core.filter.impl.FilterParser.generateParseException(FilterParser.java:1472) [:6.0.0.Final]
      at org.hornetq.core.filter.impl.FilterParser.jj_consume_token(FilterParser.java:1352) [:6.0.0.Final]
      at org.hornetq.core.filter.impl.FilterParser.selectorFactor(FilterParser.java:179) [:6.0.0.Final]
      at org.hornetq.core.filter.impl.FilterParser.selectorTerm(FilterParser.java:137) [:6.0.0.Final]
      at org.hornetq.core.filter.impl.FilterParser.selectorExpression(FilterParser.java:115) [:6.0.0.Final]
      at org.hornetq.core.filter.impl.FilterParser.expression(FilterParser.java:106) [:6.0.0.Final]
      at org.hornetq.core.filter.impl.FilterParser.parse(FilterParser.java:59) [:6.0.0.Final]
      at org.hornetq.core.filter.impl.FilterParser.parse(FilterParser.java:39) [:6.0.0.Final]
      at org.hornetq.core.filter.impl.FilterImpl.<init>(FilterImpl.java:109) [:6.0.0.Final]
      at org.hornetq.core.filter.impl.FilterImpl.createFilter(FilterImpl.java:97) [:6.0.0.Final]
      at org.hornetq.core.server.impl.HornetQServerImpl.createQueue(HornetQServerImpl.java:1325) [:6.0.0.Final]
      at org.hornetq.core.server.impl.HornetQServerImpl.createQueue(HornetQServerImpl.java:688) [:6.0.0.Final]
      at org.hornetq.core.server.impl.ServerSessionImpl.createQueue(ServerSessionImpl.java:354) [:6.0.0.Final]
      at org.hornetq.core.protocol.core.ServerSessionPacketHandler.handlePacket(ServerSessionPacketHandler.java:251) [:6.0.0.Final]
      at org.hornetq.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:471) [:6.0.0.Final]
      at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:451) [:6.0.0.Final]
      at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:412) [:6.0.0.Final]
      at org.hornetq.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:459) [:6.0.0.Final]
      at org.hornetq.core.remoting.impl.netty.HornetQChannelHandler.messageReceived(HornetQChannelHandler.java:67) [:6.0.0.Final]
      at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:100) [:6.0.0.Final]
      at org.jboss.netty.channel.StaticChannelPipeline.sendUpstream(StaticChannelPipeline.java:362) [:6.0.0.Final]
      at org.jboss.netty.channel.StaticChannelPipeline$StaticChannelHandlerContext.sendUpstream(StaticChannelPipeline.java:514) [:6.0.0.Final]
      at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:287) [:6.0.0.Final]
      at org.hornetq.core.remoting.impl.netty.HornetQFrameDecoder2.decode(HornetQFrameDecoder2.java:169) [:6.0.0.Final]
      at org.hornetq.core.remoting.impl.netty.HornetQFrameDecoder2.messageReceived(HornetQFrameDecoder2.java:134) [:6.0.0.Final]
      at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80) [:6.0.0.Final]
      at org.jboss.netty.channel.StaticChannelPipeline.sendUpstream(StaticChannelPipeline.java:362) [:6.0.0.Final]
      at org.jboss.netty.channel.StaticChannelPipeline.sendUpstream(StaticChannelPipeline.java:357) [:6.0.0.Final]
      at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:274) [:6.0.0.Final]
      at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:261) [:6.0.0.Final]
      at org.jboss.netty.channel.socket.oio.OioWorker.run(OioWorker.java:90) [:6.0.0.Final]
      at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) [:6.0.0.Final]
      at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46) [:6.0.0.Final]
      at org.jboss.netty.util.VirtualExecutorService$ChildExecutorRunnable.run(VirtualExecutorService.java:181) [:6.0.0.Final]
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
      at java.lang.Thread.run(Thread.java:680) [:1.6.0_24]

      18:39:55,851 SEVERE [org.richfaces.log.Application] Invalid filter: OR false AND __HQ_CID<>'ba97ff8b-6a0c-11e0-b8c4-005056c00008' Encountered "OR" at line 1, column 2.
      Was expecting one of:
      "TRUE" ...
      "FALSE" ...
      "NOT" ...
      "(" ...
      "-" ...
      "+" ...
      <INTEGER_LITERAL> ...
      <FLOATING_POINT_LITERAL> ...
      <SIMPLE_STRING> ...
      <IDENTIFIER> ...
      : javax.jms.InvalidSelectorException: Invalid filter: OR false AND __HQ_CID<>'ba97ff8b-6a0c-11e0-b8c4-005056c00008' Encountered "OR" at line 1, column 2.
      Was expecting one of:
      "TRUE" ...
      "FALSE" ...
      "NOT" ...
      "(" ...
      "-" ...
      "+" ...
      <INTEGER_LITERAL> ...
      <FLOATING_POINT_LITERAL> ...
      <SIMPLE_STRING> ...
      <IDENTIFIER> ...

      at org.hornetq.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:287) [:6.0.0.Final]
      at org.hornetq.core.client.impl.ClientSessionImpl.internalCreateQueue(ClientSessionImpl.java:1627) [:6.0.0.Final]
      at org.hornetq.core.client.impl.ClientSessionImpl.createQueue(ClientSessionImpl.java:290) [:6.0.0.Final]
      at org.hornetq.core.client.impl.DelegatingSession.createQueue(DelegatingSession.java:283) [:6.0.0.Final]
      at org.hornetq.jms.client.HornetQSession.createConsumer(HornetQSession.java:577) [:6.0.0.Final]
      at org.hornetq.jms.client.HornetQSession.createDurableSubscriber(HornetQSession.java:481) [:6.0.0.Final]
      at org.richfaces.application.push.impl.jms.MessagingContext.createTopicSubscriber(MessagingContext.java:175) [:4.0.0.Final]
      at org.richfaces.application.push.impl.jms.SessionImpl.createSubscriptions(SessionImpl.java:119) [:4.0.0.Final]
      at org.richfaces.application.push.impl.jms.SessionImpl.subscribe(SessionImpl.java:235) [:4.0.0.Final]
      at org.richfaces.resource.PushResource.encode(PushResource.java:90) [:4.0.0.Final]
      at org.richfaces.resource.Use

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                nbelaevski Nick Belaevski
                Reporter:
                nbelaevski Nick Belaevski
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: