[
https://issues.apache.org/jira/browse/ARTEMIS-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15132965#comment-15132965
]
ASF GitHub Bot commented on ARTEMIS-376:
----------------------------------------
GitHub user jbertram opened a pull request:
https://github.com/apache/activemq-artemis/pull/372
ARTEMIS-376 NPE during fail-back
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jbertram/activemq-artemis ARTEMIS-376
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/372.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #372
----
commit 5a483f922a63729f4d16904c6ea4f985c9a49b41
Author: jbertram <[email protected]>
Date: 2016-02-04T20:20:02Z
ARTEMIS-376 NPE during fail-back
----
> NPE occurs when backup handover to live
> ---------------------------------------
>
> Key: ARTEMIS-376
> URL: https://issues.apache.org/jira/browse/ARTEMIS-376
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 1.2.0
> Reporter: Howard Nguyen
> Attachments: backup1-artemis.log, backup2-artemis.log,
> backup3-artemis.log, backup4-artemis.log, live1-artemis.log,
> live2-artemis.log, live3-artemis.log, live4-artemis.log
>
>
> Producing project:
> https://github.com/khaing211/artemis-cluster-example
> See all attached logs from all the nodes.
> exception from backup1 node
> {code}
> 13:32:29,953 ERROR [org.apache.activemq.artemis.core.client] AMQ214014:
> Failed to execute failure listener: java.lang.NullPointerException
> at
> org.apache.activemq.artemis.core.server.impl.SharedNothingLiveActivation$ReplicationFailureListener.connectionClosed(SharedNothingLiveActivation.java:233)
> [artemis-server-1.2.0.jar:1.2.0]
> at
> org.apache.activemq.artemis.spi.core.protocol.AbstractRemotingConnection.callClosingListeners(AbstractRemotingConnection.java:84)
> [artemis-core-client-1.2.0.jar:1.2.0]
> at
> org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.destroy(RemotingConnectionImpl.java:233)
> [artemis-core-client-1.2.0.jar:1.2.0]
> at
> org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl.connectionDestroyed(RemotingServiceImpl.java:529)
> [artemis-server-1.2.0.jar:1.2.0]
> at
> org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptor$Listener.connectionDestroyed(NettyAcceptor.java:667)
> [artemis-server-1.2.0.jar:1.2.0]
> at
> org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelInactive(ActiveMQChannelHandler.java:75)
> [artemis-core-client-1.2.0.jar:1.2.0]
> at
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:208)
> [netty-all-4.0.32.Final.jar:4.0.32.Final]
> at
> io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:194)
> [netty-all-4.0.32.Final.jar:4.0.32.Final]
> at
> io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:328)
> [netty-all-4.0.32.Final.jar:4.0.32.Final]
> at
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:208)
> [netty-all-4.0.32.Final.jar:4.0.32.Final]
> at
> io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:194)
> [netty-all-4.0.32.Final.jar:4.0.32.Final]
> at
> io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:828)
> [netty-all-4.0.32.Final.jar:4.0.32.Final]
> at
> io.netty.channel.AbstractChannel$AbstractUnsafe$7.run(AbstractChannel.java:625)
> [netty-all-4.0.32.Final.jar:4.0.32.Final]
> at
> io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
> [netty-all-4.0.32.Final.jar:4.0.32.Final]
> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)
> [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)