[ https://issues.apache.org/jira/browse/ARTEMIS-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Bertram resolved ARTEMIS-376. ------------------------------------ Resolution: Fixed > 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 > Assignee: Justin Bertram > Fix For: 1.3.0 > > 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)