You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (JIRA)" <ji...@apache.org> on 2016/02/05 20:14:39 UTC

[jira] [Commented] (ARTEMIS-390) ReplicationAddMessage java.lang.IllegalStateException: Cannot find add info

    [ https://issues.apache.org/jira/browse/ARTEMIS-390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15134751#comment-15134751 ] 

Justin Bertram commented on ARTEMIS-390:
----------------------------------------

Can you provide details on the use-case here or (ideally) a reproducible test-case?  The IllegalStateException is thrown intentionally here when the data can't be found.  The real question is why the data isn't there at this point.  Please provide additional details or we'll just have to close this JIRA.  Thanks!

> ReplicationAddMessage java.lang.IllegalStateException: Cannot find add info
> ---------------------------------------------------------------------------
>
>                 Key: ARTEMIS-390
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-390
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>         Environment: production
>            Reporter: Howard Nguyen
>
> {code}
> 00:05:12,746 WARN  [org.apache.activemq.artemis.core.server] AMQ222086: error handling packet PACKET(ReplicationAddMessage)[type=91, channelID=2, packetObject=ReplicationAddMessage] for replication: java.lang.IllegalStateException: Cannot find add info 226853
>         at org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendUpdateRecord(JournalImpl.java:756) [artemis-journal-1.2.0.jar:1.2.0]
>         at org.apache.activemq.artemis.core.journal.impl.JournalBase.appendUpdateRecord(JournalBase.java:183) [artemis-journal-1.2.0.jar:1.2.0]
>         at org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendUpdateRecord(JournalImpl.java:78) [artemis-journal-1.2.0.jar:1.2.0]
>         at org.apache.activemq.artemis.core.journal.impl.JournalBase.appendUpdateRecord(JournalBase.java:129) [artemis-journal-1.2.0.jar:1.2.0]
>         at org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendUpdateRecord(JournalImpl.java:78) [artemis-journal-1.2.0.jar:1.2.0]
>         at org.apache.activemq.artemis.core.replication.ReplicationEndpoint.handleAppendAddRecord(ReplicationEndpoint.java:668) [artemis-server-1.2.0.jar:1.2.0]
>         at org.apache.activemq.artemis.core.replication.ReplicationEndpoint.handlePacket(ReplicationEndpoint.java:167) [artemis-server-1.2.0.jar:1.2.0]
>         at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:594) [artemis-core-client-1.2.0.jar:1.2.0]
>         at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:368) [artemis-core-client-1.2.0.jar:1.2.0]
>         at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:350) [artemis-core-client-1.2.0.jar:1.2.0]
>         at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$DelegatingBufferHandler.bufferReceived(ClientSessionFactoryImpl.java:1140) [artemis-core-client-1.2.0.jar:1.2.0]
>         at org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:68) [artemis-core-client-1.2.0.jar:1.2.0]
>         at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [netty-all-4.0.32.Final.jar:4.0.32.Final]
>         at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [netty-all-4.0.32.Final.jar:4.0.32.Final]
>         at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265) [netty-all-4.0.32.Final.jar:4.0.32.Final]
>         at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [netty-all-4.0.32.Final.jar:4.0.32.Final]
>         at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [netty-all-4.0.32.Final.jar:4.0.32.Final]
>         at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846) [netty-all-4.0.32.Final.jar:4.0.32.Final]
>         at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131) [netty-all-4.0.32.Final.jar:4.0.32.Final]
>         at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) [netty-all-4.0.32.Final.jar:4.0.32.Final]
>         at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468) [netty-all-4.0.32.Final.jar:4.0.32.Final]
>         at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) [netty-all-4.0.32.Final.jar:4.0.32.Final]
>         at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) [netty-all-4.0.32.Final.jar:4.0.32.Final]
>         at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112) [netty-all-4.0.32.Final.jar:4.0.32.Final]
>         at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_60]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Re: [jira] [Commented] (ARTEMIS-390) ReplicationAddMessage java.lang.IllegalStateException: Cannot find add info

Posted by Khai Nguyen <kh...@gmail.com>.
Thank you for your explanation of the cause of the exception. I don't think
anyone would go on artemis server and remove the data directory.

=| I can't provide any more information. You can close this. Sorry for the
noise. Same goes for ARTEMIS-389. This happens on the backup so. We don't
see any failover.

On Fri, Feb 5, 2016 at 11:14 AM Justin Bertram (JIRA) <ji...@apache.org>
wrote:

>
>     [
> https://issues.apache.org/jira/browse/ARTEMIS-390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15134751#comment-15134751
> ]
>
> Justin Bertram commented on ARTEMIS-390:
> ----------------------------------------
>
> Can you provide details on the use-case here or (ideally) a reproducible
> test-case?  The IllegalStateException is thrown intentionally here when the
> data can't be found.  The real question is why the data isn't there at this
> point.  Please provide additional details or we'll just have to close this
> JIRA.  Thanks!
>
> > ReplicationAddMessage java.lang.IllegalStateException: Cannot find add
> info
> >
> ---------------------------------------------------------------------------
> >
> >                 Key: ARTEMIS-390
> >                 URL: https://issues.apache.org/jira/browse/ARTEMIS-390
> >             Project: ActiveMQ Artemis
> >          Issue Type: Bug
> >    Affects Versions: 1.2.0
> >         Environment: production
> >            Reporter: Howard Nguyen
> >
> > {code}
> > 00:05:12,746 WARN  [org.apache.activemq.artemis.core.server] AMQ222086:
> error handling packet PACKET(ReplicationAddMessage)[type=91, channelID=2,
> packetObject=ReplicationAddMessage] for replication:
> java.lang.IllegalStateException: Cannot find add info 226853
> >         at
> org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendUpdateRecord(JournalImpl.java:756)
> [artemis-journal-1.2.0.jar:1.2.0]
> >         at
> org.apache.activemq.artemis.core.journal.impl.JournalBase.appendUpdateRecord(JournalBase.java:183)
> [artemis-journal-1.2.0.jar:1.2.0]
> >         at
> org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendUpdateRecord(JournalImpl.java:78)
> [artemis-journal-1.2.0.jar:1.2.0]
> >         at
> org.apache.activemq.artemis.core.journal.impl.JournalBase.appendUpdateRecord(JournalBase.java:129)
> [artemis-journal-1.2.0.jar:1.2.0]
> >         at
> org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendUpdateRecord(JournalImpl.java:78)
> [artemis-journal-1.2.0.jar:1.2.0]
> >         at
> org.apache.activemq.artemis.core.replication.ReplicationEndpoint.handleAppendAddRecord(ReplicationEndpoint.java:668)
> [artemis-server-1.2.0.jar:1.2.0]
> >         at
> org.apache.activemq.artemis.core.replication.ReplicationEndpoint.handlePacket(ReplicationEndpoint.java:167)
> [artemis-server-1.2.0.jar:1.2.0]
> >         at
> org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:594)
> [artemis-core-client-1.2.0.jar:1.2.0]
> >         at
> org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:368)
> [artemis-core-client-1.2.0.jar:1.2.0]
> >         at
> org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:350)
> [artemis-core-client-1.2.0.jar:1.2.0]
> >         at
> org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$DelegatingBufferHandler.bufferReceived(ClientSessionFactoryImpl.java:1140)
> [artemis-core-client-1.2.0.jar:1.2.0]
> >         at
> org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:68)
> [artemis-core-client-1.2.0.jar:1.2.0]
> >         at
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
> [netty-all-4.0.32.Final.jar:4.0.32.Final]
> >         at
> io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
> [netty-all-4.0.32.Final.jar:4.0.32.Final]
> >         at
> io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265)
> [netty-all-4.0.32.Final.jar:4.0.32.Final]
> >         at
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
> [netty-all-4.0.32.Final.jar:4.0.32.Final]
> >         at
> io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
> [netty-all-4.0.32.Final.jar:4.0.32.Final]
> >         at
> io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
> [netty-all-4.0.32.Final.jar:4.0.32.Final]
> >         at
> io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
> [netty-all-4.0.32.Final.jar:4.0.32.Final]
> >         at
> io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
> [netty-all-4.0.32.Final.jar:4.0.32.Final]
> >         at
> io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
> [netty-all-4.0.32.Final.jar:4.0.32.Final]
> >         at
> io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
> [netty-all-4.0.32.Final.jar:4.0.32.Final]
> >         at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
> [netty-all-4.0.32.Final.jar:4.0.32.Final]
> >         at
> io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
> [netty-all-4.0.32.Final.jar:4.0.32.Final]
> >         at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_60]
> > {code}
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)
>