Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-4999

Errors occurred during the buffering operation : javax.jms.IllegalStateException: Cannot add a producer to a connection that had not been registered:

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: AMQ 7.6.0.GA
    • Fix Version/s: AMQ 7.9.0.GA
    • Component/s: None
    • Labels:
      None
    • Workaround Description:
      Hide

      A AMQ broker throws an exception when trying to consume a message using openwire protocol that was produced using CORE protocol.

      2021-05-25 14:18:49,699 WARN  [org.apache.activemq.artemis.core.server] Errors occurred during the buffering operation : javax.jms.IllegalStateException: Cannot add a producer to a connection that had not been registered: ID:E75LANWP1478V-56176-637572011592193222-1:1
      	at org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection$CommandProcessor.processAddProducer(OpenWireConnection.java:1185) [artemis-openwire-protocol-2.13.0-PATCH-3063.jar:2.13.0-PATCH-3063]
      	at org.apache.activemq.command.ProducerInfo.visit(ProducerInfo.java:108) [activemq-client-5.11.0.redhat-630446.jar:5.11.0.redhat-630446]
      	at org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection.act(OpenWireConnection.java:321) [artemis-openwire-protocol-2.13.0-PATCH-3063.jar:2.13.0-PATCH-3063]
      	at org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection.bufferReceived(OpenWireConnection.java:294) [artemis-openwire-protocol-2.13.0-PATCH-3063.jar:2.13.0-PATCH-3063]
      	at org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:667) [artemis-server-2.13.0-PATCH-3063.jar:2.13.0-PATCH-3063]
      	at org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:73) [artemis-core-client-2.13.0-PATCH-3063.jar:2.13.0-PATCH-3063]
      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:321) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:295) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1486) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1235) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1282) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:498) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:437) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:792) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:475) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:378) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001]
      	at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) [artemis-commons-2.13.0-PATCH-3063.jar:2.13.0-PATCH-3063]
      
      Show
      A AMQ broker throws an exception when trying to consume a message using openwire protocol that was produced using CORE protocol. 2021-05-25 14:18:49,699 WARN [org.apache.activemq.artemis.core.server] Errors occurred during the buffering operation : javax.jms.IllegalStateException: Cannot add a producer to a connection that had not been registered: ID:E75LANWP1478V-56176-637572011592193222-1:1 at org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection$CommandProcessor.processAddProducer(OpenWireConnection.java:1185) [artemis-openwire-protocol-2.13.0-PATCH-3063.jar:2.13.0-PATCH-3063] at org.apache.activemq.command.ProducerInfo.visit(ProducerInfo.java:108) [activemq-client-5.11.0.redhat-630446.jar:5.11.0.redhat-630446] at org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection.act(OpenWireConnection.java:321) [artemis-openwire-protocol-2.13.0-PATCH-3063.jar:2.13.0-PATCH-3063] at org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection.bufferReceived(OpenWireConnection.java:294) [artemis-openwire-protocol-2.13.0-PATCH-3063.jar:2.13.0-PATCH-3063] at org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:667) [artemis-server-2.13.0-PATCH-3063.jar:2.13.0-PATCH-3063] at org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:73) [artemis-core-client-2.13.0-PATCH-3063.jar:2.13.0-PATCH-3063] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:321) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:295) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1486) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1235) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1282) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:498) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:437) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:792) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:475) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:378) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-all-4.1.48.Final-redhat-00001.jar:4.1.48.Final-redhat-00001] at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) [artemis-commons-2.13.0-PATCH-3063.jar:2.13.0-PATCH-3063]

      Attachments

        Issue Links

          Activity

            People

            Assignee:
            garytully Gary Tully
            Reporter:
            garytully Gary Tully
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: