[ https://issues.apache.org/jira/browse/ARTEMIS-241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14943750#comment-14943750 ]
Glaucio Melo commented on ARTEMIS-241: -------------------------------------- Not sure I'm talking to a real person (lol), but I just put the current JMeter distribution I'm using, in order to replicate the issue using Jmeter directly, saving some time from your side to simulate the issue. As I did before, the PR was closed and the branch is there for simulation purposes, no intent to merge them all. Thanks, > NoSuchElementException / NPE while testing Pub / Sub with JMeter > ---------------------------------------------------------------- > > Key: ARTEMIS-241 > URL: https://issues.apache.org/jira/browse/ARTEMIS-241 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: OpenWire > Affects Versions: 1.1.0 > Environment: Mac OS 10.10.5 (Yosemite) > Reporter: Glaucio Melo > Fix For: 1.1.1 > > > Hello folks, > I'm trying to perform a JMeter Pub / Sub simple Test and sometimes I'm > getting the following error during the tests (see below). This error looks > intermittent, sometimes it works, sometimes it doesn't. I can attach my > JMeter file as well as my jndi.jar needed to use under jmeter's lib folder if > needed. > Thanks, > 09:52:34,808 INFO [org.apache.activemq.artemis.integration.bootstrap] > AMQ101000: Starting ActiveMQ Artemis Server > 09:52:34,813 INFO [org.apache.activemq.artemis.core.server] AMQ221000: live > Message Broker is starting with configuration Broker Configuration > (clustered=false,journalDirectory=./data/journal,bindingsDirectory=./data/bindings,largeMessagesDirectory=./data/large-messages,pagingDirectory=./data/paging) > 09:52:34,836 INFO [org.apache.activemq.artemis.core.server] AMQ221013: Using > NIO Journal > 09:52:34,869 INFO [org.apache.activemq.artemis.core.server] AMQ221043: > Protocol module found: [artemis-server]. Adding protocol support for: CORE > 09:52:34,872 INFO [org.apache.activemq.artemis.core.server] AMQ221043: > Protocol module found: [artemis-amqp-protocol]. Adding protocol support for: > AMQP > 09:52:34,879 INFO [org.apache.activemq.artemis.core.server] AMQ221043: > Protocol module found: [artemis-hornetq-protocol]. Adding protocol support > for: HORNETQ > 09:52:34,880 INFO [org.apache.activemq.artemis.core.server] AMQ221043: > Protocol module found: [artemis-mqtt-protocol]. Adding protocol support for: > MQTT > 09:52:34,882 INFO [org.apache.activemq.artemis.core.server] AMQ221043: > Protocol module found: [artemis-openwire-protocol]. Adding protocol support > for: OPENWIRE > 09:52:35,412 INFO [org.apache.activemq.artemis.core.server] AMQ221043: > Protocol module found: [artemis-stomp-protocol]. Adding protocol support for: > STOMP > 09:52:36,674 INFO [org.apache.activemq.artemis.core.server] AMQ221003: > trying to deploy queue jms.queue.DLQ > 09:52:36,678 INFO [org.apache.activemq.artemis.core.server] AMQ221003: > trying to deploy queue jms.queue.ExpiryQueue > 09:52:36,680 INFO [org.apache.activemq.artemis.core.server] AMQ221003: > trying to deploy queue jms.topic.exampleTopic > 09:52:36,768 INFO [org.apache.activemq.artemis.core.server] AMQ221020: > Started Acceptor at 0.0.0.0:61616 for protocols > [CORE,MQTT,AMQP,HORNETQ,STOMP,OPENWIRE] > 09:52:36,771 INFO [org.apache.activemq.artemis.core.server] AMQ221020: > Started Acceptor at 0.0.0.0:5445 for protocols [HORNETQ,STOMP] > 09:52:36,773 INFO [org.apache.activemq.artemis.core.server] AMQ221020: > Started Acceptor at 0.0.0.0:5672 for protocols [AMQP] > 09:52:36,775 INFO [org.apache.activemq.artemis.core.server] AMQ221020: > Started Acceptor at 0.0.0.0:1883 for protocols [MQTT] > 09:52:36,777 INFO [org.apache.activemq.artemis.core.server] AMQ221020: > Started Acceptor at 0.0.0.0:61613 for protocols [STOMP] > 09:52:36,778 INFO [org.apache.activemq.artemis.core.server] AMQ221007: > Server is now live > 09:52:36,778 INFO [org.apache.activemq.artemis.core.server] AMQ221001: > Apache ActiveMQ Artemis Message Broker version 1.1.1-SNAPSHOT > [nodeID=0fb16d13-6b5b-11e5-813b-fddb9116a7e5] > HTTP Server started at http://localhost:8161 > 09:58:23,760 WARN [org.apache.activemq.artemis.core.server] AMQ222151: > removing consumer which did not handle a message, consumer=ServerConsumerImpl > [id=162127, filter=null, binding=LocalQueueBinding > [address=jms.topic.topic/exampleTopic, > queue=QueueImpl[name=452583af-73ae-4061-9155-ba5f247c297d, > postOffice=PostOfficeImpl > [server=ActiveMQServerImpl::serverUUID=0fb16d13-6b5b-11e5-813b-fddb9116a7e5]]@496f25e2, > filter=null, name=452583af-73ae-4061-9155-ba5f247c297d, > clusterName=452583af-73ae-4061-9155-ba5f247c297d0fb16d13-6b5b-11e5-813b-fddb9116a7e5]], > > message=Reference[162148]:RELIABLE:ServerMessage[messageID=162148,durable=true,userID=null,priority=0, > bodySize=2048, timestamp=Mon Oct 05 09:58:23 BRT 2015,expiration=Mon Oct 05 > 09:58:33 BRT 2015, durable=true, > address=jms.topic.topic/exampleTopic,properties=TypedProperties[__HDR_BROKER_IN_TIME=1444049903758,__HDR_ARRIVAL=0,__HDR_GROUP_SEQUENCE=0,__HDR_REDELIVER_COUNTER=0,__HDR_COMMAND_ID=5,__HDR_PRODUCER_ID=[0000 > 0031 7B01 2B00 2849 443A 4D41 432D 3132 342E 6C6F 6361 6C2D 3537 3336 372D > 3134 3434 3034 3939 3033 3539 372D 363A 3100 0100 01),__HDR_MESSAGE_ID=[0000 > 0035 6E02 AE02 7B00 2849 443A 4D41 432D 3132 342E 6C6F 6361 6C2D 3537 3336 > 372D 3134 3434 3034 3939 3033 3539 372D 363A 3100 0100 0100 > 01),__HDR_DROPPABLE=false]]@921025921: java.lang.NullPointerException > at > org.apache.activemq.artemis.core.protocol.openwire.amq.AMQSession.hasCredits(AMQSession.java:204) > [artemis-openwire-protocol-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.handle(ServerConsumerImpl.java:267) > [artemis-server-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT] > at > org.apache.activemq.artemis.core.server.impl.QueueImpl.handle(QueueImpl.java:2388) > [artemis-server-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT] > at > org.apache.activemq.artemis.core.server.impl.QueueImpl.deliver(QueueImpl.java:1799) > [artemis-server-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT] > at > org.apache.activemq.artemis.core.server.impl.QueueImpl.access$1400(QueueImpl.java:96) > [artemis-server-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT] > at > org.apache.activemq.artemis.core.server.impl.QueueImpl$DeliverRunner.run(QueueImpl.java:2551) > [artemis-server-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT] > at > org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:94) > [artemis-core-client-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > [rt.jar:1.8.0_60] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > [rt.jar:1.8.0_60] > at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_60] > 09:58:23,774 ERROR [org.apache.activemq.artemis.core.server] AMQ224041: > Failed to deliver: java.util.NoSuchElementException > at > org.apache.activemq.artemis.utils.PriorityLinkedListImpl$PriorityLinkedListIterator.repeat(PriorityLinkedListImpl.java:154) > [artemis-core-client-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT] > at > org.apache.activemq.artemis.core.server.impl.QueueImpl.deliver(QueueImpl.java:1818) > [artemis-server-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT] > at > org.apache.activemq.artemis.core.server.impl.QueueImpl.access$1400(QueueImpl.java:96) > [artemis-server-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT] > at > org.apache.activemq.artemis.core.server.impl.QueueImpl$DeliverRunner.run(QueueImpl.java:2551) > [artemis-server-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT] > at > org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:94) > [artemis-core-client-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > [rt.jar:1.8.0_60] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > [rt.jar:1.8.0_60] > at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_60] -- This message was sent by Atlassian JIRA (v6.3.4#6332)