[ https://issues.apache.org/jira/browse/ARTEMIS-1344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Bertram resolved ARTEMIS-1344. ------------------------------------- Resolution: Abandoned > JMS test TemporaryQueueClusterTest#testTemporaryQueue fails on the OpenWire > protocol (with activemq-client JMS library) > ----------------------------------------------------------------------------------------------------------------------- > > Key: ARTEMIS-1344 > URL: https://issues.apache.org/jira/browse/ARTEMIS-1344 > Project: ActiveMQ Artemis > Issue Type: Test > Components: Broker, OpenWire > Affects Versions: 2.3.0 > Reporter: Jiri Daněk > Priority: Major > > Consider test > {{org.apache.activemq.artemis.tests.integration.jms.cluster.TemporaryQueueClusterTest#testTemporaryQueue}}, > adapted to run on multiple JMS ConnectionFactories in turn. > The test is failing with AMQP (reported in ARTEMIS-1345) and it is failing > with OpenWire (reported here). > A comment on the test says > bq. // TODO: this is broken because temporary queues are no longer created > with the "jms.temp-queue" prefix which means the cluster-connection won't > match it > But actually, the test is passing with Core protocol. (I think test was > already updated for the change and comment was not removed. > The OpenWire run produces following logs from Artemis Broker > {noformat} > [Thread-1 (activemq-netty-threads)] 10:18:13,311 ERROR > [org.apache.activemq.artemis.core.server] AMQ224014: Failed to close session: > java.lang.NullPointerException > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.doClose(ServerSessionImpl.java:348) > [:] > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl$1.done(ServerSessionImpl.java:1254) > [:] > at > org.apache.activemq.artemis.core.persistence.impl.nullpm.NullStorageManager$2.executeOnCompletion(NullStorageManager.java:150) > [:] > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.close(ServerSessionImpl.java:1246) > [:] > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.connectionFailed(ServerSessionImpl.java:1525) > [:] > at > org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection.callFailureListeners(OpenWireConnection.java:416) > [:] > at > org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection.disconnect(OpenWireConnection.java:578) > [:] > at > org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection.disconnect(OpenWireConnection.java:392) > [:] > at > org.apache.activemq.artemis.core.protocol.openwire.OpenWireProtocolManager.removeConnection(OpenWireProtocolManager.java:170) > [:] > at > org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection$CommandProcessor.processRemoveConnection(OpenWireConnection.java:1531) > [:] > at org.apache.activemq.command.RemoveInfo.visit(RemoveInfo.java:73) > [activemq-client-5.14.5.jar:5.14.5] > at > org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection.bufferReceived(OpenWireConnection.java:273) > [:] > at > org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:642) > [:] > at > org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:68) > [:] > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1342) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:934) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:979) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:404) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:307) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_131] > [Thread-1 (activemq-netty-threads)] 10:18:13,312 WARN > [org.apache.activemq.artemis.core.server] AMQ222107: Cleared up resources for > session 723761d6-7da4-11e7-a7bc-0a0027000001 > [Thread-1 (activemq-netty-threads)] 10:18:13,312 WARN > [org.apache.activemq.artemis.core.server] AMQ222061: Client connection > failed, clearing up resources for session ID:nixos-40927-1502353079227-7:1:-1 > [Thread-1 (activemq-netty-threads)] 10:18:13,312 WARN > [org.apache.activemq.artemis.core.server] AMQ222107: Cleared up resources for > session ID:nixos-40927-1502353079227-7:1:-1 > [Thread-1 (activemq-netty-threads)] 10:18:13,316 WARN > [org.apache.activemq.artemis.core.server] AMQ222061: Client connection > failed, clearing up resources for session ID:nixos-40927-1502353079227-7:1:1 > [Thread-1 (activemq-netty-threads)] 10:18:13,317 WARN > [org.apache.activemq.artemis.core.server] AMQ222107: Cleared up resources for > session ID:nixos-40927-1502353079227-7:1:1 > [Thread-1 (activemq-netty-threads)] 10:18:13,324 WARN > [org.apache.activemq.artemis.core.server] AMQ222061: Client connection > failed, clearing up resources for session 72390f8b-7da4-11e7-a7bc-0a0027000001 > [Thread-1 (activemq-netty-threads)] 10:18:13,324 ERROR > [org.apache.activemq.artemis.core.server] AMQ224014: Failed to close session: > java.lang.NullPointerException > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.doClose(ServerSessionImpl.java:348) > [:] > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl$1.done(ServerSessionImpl.java:1254) > [:] > at > org.apache.activemq.artemis.core.persistence.impl.nullpm.NullStorageManager$2.executeOnCompletion(NullStorageManager.java:150) > [:] > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.close(ServerSessionImpl.java:1246) > [:] > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.connectionFailed(ServerSessionImpl.java:1525) > [:] > at > org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection.callFailureListeners(OpenWireConnection.java:416) > [:] > at > org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection.disconnect(OpenWireConnection.java:578) > [:] > at > org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection.disconnect(OpenWireConnection.java:392) > [:] > at > org.apache.activemq.artemis.core.protocol.openwire.OpenWireProtocolManager.removeConnection(OpenWireProtocolManager.java:170) > [:] > at > org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection$CommandProcessor.processRemoveConnection(OpenWireConnection.java:1531) > [:] > at org.apache.activemq.command.RemoveInfo.visit(RemoveInfo.java:73) > [activemq-client-5.14.5.jar:5.14.5] > at > org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection.bufferReceived(OpenWireConnection.java:273) > [:] > at > org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:642) > [:] > at > org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:68) > [:] > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1342) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:934) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:979) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:404) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:307) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at > io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) > [netty-all-4.1.14.Final.jar:4.1.14.Final] > at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_131] > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)