[jira] [Work logged] (ARTEMIS-2282) QueueImpl.addTail NPEs during processing of a management message
[ https://issues.apache.org/jira/browse/ARTEMIS-2282?focusedWorklogId=217625&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-217625 ] ASF GitHub Bot logged work on ARTEMIS-2282: --- Author: ASF GitHub Bot Created on: 23/Mar/19 17:49 Start Date: 23/Mar/19 17:49 Worklog Time Spent: 10m Work Description: franz1981 commented on pull request #2590: ARTEMIS-2282 QueueImpl::addTail of a management message could throw NPE URL: https://github.com/apache/activemq-artemis/pull/2590 Performing direct deliveries of management messages could enter a code path on QueueImpl::addTail with a NULL pageIterator: performing a null check will avoid it to throw NPE. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 217625) Time Spent: 10m Remaining Estimate: 0h > QueueImpl.addTail NPEs during processing of a management message > > > Key: ARTEMIS-2282 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2282 > Project: ActiveMQ Artemis > Issue Type: Bug >Affects Versions: 2.7.0 >Reporter: Keith Wall >Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > We are in the process of upgrading to Artemis 2.7.0 > ([https://github.com/EnMasseProject/enmasse/pull/2493]). We notice the > following NPE showing in the Artemis logs following a run of our test-suite. > Our application sends management messages over AMQP (to activemq.management) > to control the Broker and we can see from the stack that it is the processing > of these messages that leads to the failure. > Our test suite is passing and as far as we can tell, there is no functional > defect. > Could this be related to the recent work of ARTEMIS-1710? > > 2019-03-22T21:42:15.150Z WARN [ProtonServerReceiverContext] null: > java.lang.NullPointerException > at > org.apache.activemq.artemis.core.server.impl.QueueImpl.addTail(QueueImpl.java:898) > at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.internalprocessReferences(RoutingContextImpl.java:138) > at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.processReferences(RoutingContextImpl.java:133) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl$2.done(PostOfficeImpl.java:1370) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:189) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:130) > at > org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.afterCompleteOperations(AbstractJournalStorageManager.java:323) > at org.apac2019-03-22T21:42:15.150Z WARN [ProtonServerReceiverContext] null: > java.lang.NullPointerException > at > org.apache.activemq.artemis.core.server.impl.QueueImpl.addTail(QueueImpl.java:898) > at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.internalprocessReferences(RoutingContextImpl.java:138) > iv at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.processReferences(RoutingContextImpl.java:133) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl$2.done(PostOfficeImpl.java:1370) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:189) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:130) > at > org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.afterCompleteOperations(AbstractJournalStorageManager.java:323) > emq.artemis.core.postoffice.impl.PostOfficeImpl.processRoute(PostOfficeImpl.java:1362) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:976) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:867) > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.doSend(ServerSessionImpl.java:1972) > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.handleManagementMessage(ServerSessionImpl.java:1857) > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.send(ServerSessionImpl.java:1613) > at > org.apache.activemq.artemis.protocol.amqp.broker.AMQPSessionCallback.serve
[jira] [Work logged] (ARTEMIS-2282) QueueImpl.addTail NPEs during processing of a management message
[ https://issues.apache.org/jira/browse/ARTEMIS-2282?focusedWorklogId=217635&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-217635 ] ASF GitHub Bot logged work on ARTEMIS-2282: --- Author: ASF GitHub Bot Created on: 23/Mar/19 18:25 Start Date: 23/Mar/19 18:25 Worklog Time Spent: 10m Work Description: michaelandrepearce commented on issue #2590: ARTEMIS-2282 QueueImpl::addTail of a management message could throw NPE URL: https://github.com/apache/activemq-artemis/pull/2590#issuecomment-475893149 Test case This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 217635) Time Spent: 20m (was: 10m) > QueueImpl.addTail NPEs during processing of a management message > > > Key: ARTEMIS-2282 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2282 > Project: ActiveMQ Artemis > Issue Type: Bug >Affects Versions: 2.7.0 >Reporter: Keith Wall >Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > We are in the process of upgrading to Artemis 2.7.0 > ([https://github.com/EnMasseProject/enmasse/pull/2493]). We notice the > following NPE showing in the Artemis logs following a run of our test-suite. > Our application sends management messages over AMQP (to activemq.management) > to control the Broker and we can see from the stack that it is the processing > of these messages that leads to the failure. > Our test suite is passing and as far as we can tell, there is no functional > defect. > Could this be related to the recent work of ARTEMIS-1710? > > 2019-03-22T21:42:15.150Z WARN [ProtonServerReceiverContext] null: > java.lang.NullPointerException > at > org.apache.activemq.artemis.core.server.impl.QueueImpl.addTail(QueueImpl.java:898) > at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.internalprocessReferences(RoutingContextImpl.java:138) > at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.processReferences(RoutingContextImpl.java:133) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl$2.done(PostOfficeImpl.java:1370) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:189) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:130) > at > org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.afterCompleteOperations(AbstractJournalStorageManager.java:323) > at org.apac2019-03-22T21:42:15.150Z WARN [ProtonServerReceiverContext] null: > java.lang.NullPointerException > at > org.apache.activemq.artemis.core.server.impl.QueueImpl.addTail(QueueImpl.java:898) > at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.internalprocessReferences(RoutingContextImpl.java:138) > iv at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.processReferences(RoutingContextImpl.java:133) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl$2.done(PostOfficeImpl.java:1370) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:189) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:130) > at > org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.afterCompleteOperations(AbstractJournalStorageManager.java:323) > emq.artemis.core.postoffice.impl.PostOfficeImpl.processRoute(PostOfficeImpl.java:1362) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:976) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:867) > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.doSend(ServerSessionImpl.java:1972) > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.handleManagementMessage(ServerSessionImpl.java:1857) > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.send(ServerSessionImpl.java:1613) > at > org.apache.activemq.artemis.protocol.amqp.broker.AMQPSessionCallback.serverSend(AMQPSessionCallback.java:510) > at > org.apache.activemq.artemis.protocol.amqp.broker.AMQPSessionCallback.serverSend(AMQPSessionCallback.java:470) > at > org.apache.act
[jira] [Work logged] (ARTEMIS-2282) QueueImpl.addTail NPEs during processing of a management message
[ https://issues.apache.org/jira/browse/ARTEMIS-2282?focusedWorklogId=217638&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-217638 ] ASF GitHub Bot logged work on ARTEMIS-2282: --- Author: ASF GitHub Bot Created on: 23/Mar/19 18:31 Start Date: 23/Mar/19 18:31 Worklog Time Spent: 10m Work Description: franz1981 commented on issue #2590: ARTEMIS-2282 QueueImpl::addTail of a management message could throw NPE URL: https://github.com/apache/activemq-artemis/pull/2590#issuecomment-475893651 Sure, just need to understand how: the mechanics isn't easy to replicate looking at the logic. The guilty code path can be reached only if the last delivery check has happened more then CHECK_QUEUE_SIZE_PERIOD ie 1 second after a failed direct deliver (ie directDeliver = false). Let me think how to make it happen :+1: This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 217638) Time Spent: 0.5h (was: 20m) > QueueImpl.addTail NPEs during processing of a management message > > > Key: ARTEMIS-2282 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2282 > Project: ActiveMQ Artemis > Issue Type: Bug >Affects Versions: 2.7.0 >Reporter: Keith Wall >Priority: Major > Time Spent: 0.5h > Remaining Estimate: 0h > > We are in the process of upgrading to Artemis 2.7.0 > ([https://github.com/EnMasseProject/enmasse/pull/2493]). We notice the > following NPE showing in the Artemis logs following a run of our test-suite. > Our application sends management messages over AMQP (to activemq.management) > to control the Broker and we can see from the stack that it is the processing > of these messages that leads to the failure. > Our test suite is passing and as far as we can tell, there is no functional > defect. > Could this be related to the recent work of ARTEMIS-1710? > > 2019-03-22T21:42:15.150Z WARN [ProtonServerReceiverContext] null: > java.lang.NullPointerException > at > org.apache.activemq.artemis.core.server.impl.QueueImpl.addTail(QueueImpl.java:898) > at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.internalprocessReferences(RoutingContextImpl.java:138) > at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.processReferences(RoutingContextImpl.java:133) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl$2.done(PostOfficeImpl.java:1370) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:189) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:130) > at > org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.afterCompleteOperations(AbstractJournalStorageManager.java:323) > at org.apac2019-03-22T21:42:15.150Z WARN [ProtonServerReceiverContext] null: > java.lang.NullPointerException > at > org.apache.activemq.artemis.core.server.impl.QueueImpl.addTail(QueueImpl.java:898) > at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.internalprocessReferences(RoutingContextImpl.java:138) > iv at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.processReferences(RoutingContextImpl.java:133) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl$2.done(PostOfficeImpl.java:1370) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:189) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:130) > at > org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.afterCompleteOperations(AbstractJournalStorageManager.java:323) > emq.artemis.core.postoffice.impl.PostOfficeImpl.processRoute(PostOfficeImpl.java:1362) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:976) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:867) > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.doSend(ServerSessionImpl.java:1972) > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.handleManagementMessage(ServerSessionImpl.java:1857) > at > org.apache.activemq.artemis.core.server.impl.
[jira] [Work logged] (ARTEMIS-2282) QueueImpl.addTail NPEs during processing of a management message
[ https://issues.apache.org/jira/browse/ARTEMIS-2282?focusedWorklogId=218626&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-218626 ] ASF GitHub Bot logged work on ARTEMIS-2282: --- Author: ASF GitHub Bot Created on: 26/Mar/19 13:35 Start Date: 26/Mar/19 13:35 Worklog Time Spent: 10m Work Description: franz1981 commented on issue #2590: ARTEMIS-2282 QueueImpl::addTail of a management message could throw NPE URL: https://github.com/apache/activemq-artemis/pull/2590#issuecomment-476638141 @michaelandrepearce @k-wall I've added a test (not one of my most brilliant one I admit): it is always reproducing the issue, without needing any weird concurrent/non-deterministic behaviours :+1: This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 218626) Time Spent: 40m (was: 0.5h) > QueueImpl.addTail NPEs during processing of a management message > > > Key: ARTEMIS-2282 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2282 > Project: ActiveMQ Artemis > Issue Type: Bug >Affects Versions: 2.7.0 >Reporter: Keith Wall >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > We are in the process of upgrading to Artemis 2.7.0 > ([https://github.com/EnMasseProject/enmasse/pull/2493]). We notice the > following NPE showing in the Artemis logs following a run of our test-suite. > Our application sends management messages over AMQP (to activemq.management) > to control the Broker and we can see from the stack that it is the processing > of these messages that leads to the failure. > -Our test suite is passing and as far as we can tell, there is no functional > defect.- (Correction, we are seeing failures [updated :2019-03-25]), > Could this be related to the recent work of ARTEMIS-1710? > > 2019-03-22T21:42:15.150Z WARN [ProtonServerReceiverContext] null: > java.lang.NullPointerException > at > org.apache.activemq.artemis.core.server.impl.QueueImpl.addTail(QueueImpl.java:898) > at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.internalprocessReferences(RoutingContextImpl.java:138) > at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.processReferences(RoutingContextImpl.java:133) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl$2.done(PostOfficeImpl.java:1370) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:189) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:130) > at > org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.afterCompleteOperations(AbstractJournalStorageManager.java:323) > at org.apac2019-03-22T21:42:15.150Z WARN [ProtonServerReceiverContext] null: > java.lang.NullPointerException > at > org.apache.activemq.artemis.core.server.impl.QueueImpl.addTail(QueueImpl.java:898) > at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.internalprocessReferences(RoutingContextImpl.java:138) > iv at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.processReferences(RoutingContextImpl.java:133) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl$2.done(PostOfficeImpl.java:1370) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:189) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:130) > at > org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.afterCompleteOperations(AbstractJournalStorageManager.java:323) > emq.artemis.core.postoffice.impl.PostOfficeImpl.processRoute(PostOfficeImpl.java:1362) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:976) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:867) > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.doSend(ServerSessionImpl.java:1972) > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.handleManagementMessage(ServerSessionImpl.java:1857) > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.send(ServerSessionImpl.java:1613) > at > org.apac
[jira] [Work logged] (ARTEMIS-2282) QueueImpl.addTail NPEs during processing of a management message
[ https://issues.apache.org/jira/browse/ARTEMIS-2282?focusedWorklogId=219204&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-219204 ] ASF GitHub Bot logged work on ARTEMIS-2282: --- Author: ASF GitHub Bot Created on: 27/Mar/19 08:52 Start Date: 27/Mar/19 08:52 Worklog Time Spent: 10m Work Description: michaelandrepearce commented on issue #2590: ARTEMIS-2282 QueueImpl::addTail of a management message could throw NPE URL: https://github.com/apache/activemq-artemis/pull/2590#issuecomment-477043990 Thanks @franz1981 lgtm now This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 219204) Time Spent: 50m (was: 40m) > QueueImpl.addTail NPEs during processing of a management message > > > Key: ARTEMIS-2282 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2282 > Project: ActiveMQ Artemis > Issue Type: Bug >Affects Versions: 2.7.0 >Reporter: Keith Wall >Priority: Major > Time Spent: 50m > Remaining Estimate: 0h > > We are in the process of upgrading to Artemis 2.7.0 > ([https://github.com/EnMasseProject/enmasse/pull/2493]). We notice the > following NPE showing in the Artemis logs following a run of our test-suite. > Our application sends management messages over AMQP (to activemq.management) > to control the Broker and we can see from the stack that it is the processing > of these messages that leads to the failure. > -Our test suite is passing and as far as we can tell, there is no functional > defect.- (Correction, we are seeing failures [updated :2019-03-25]), > Could this be related to the recent work of ARTEMIS-1710? > > 2019-03-22T21:42:15.150Z WARN [ProtonServerReceiverContext] null: > java.lang.NullPointerException > at > org.apache.activemq.artemis.core.server.impl.QueueImpl.addTail(QueueImpl.java:898) > at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.internalprocessReferences(RoutingContextImpl.java:138) > at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.processReferences(RoutingContextImpl.java:133) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl$2.done(PostOfficeImpl.java:1370) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:189) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:130) > at > org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.afterCompleteOperations(AbstractJournalStorageManager.java:323) > at org.apac2019-03-22T21:42:15.150Z WARN [ProtonServerReceiverContext] null: > java.lang.NullPointerException > at > org.apache.activemq.artemis.core.server.impl.QueueImpl.addTail(QueueImpl.java:898) > at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.internalprocessReferences(RoutingContextImpl.java:138) > iv at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.processReferences(RoutingContextImpl.java:133) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl$2.done(PostOfficeImpl.java:1370) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:189) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:130) > at > org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.afterCompleteOperations(AbstractJournalStorageManager.java:323) > emq.artemis.core.postoffice.impl.PostOfficeImpl.processRoute(PostOfficeImpl.java:1362) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:976) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:867) > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.doSend(ServerSessionImpl.java:1972) > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.handleManagementMessage(ServerSessionImpl.java:1857) > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.send(ServerSessionImpl.java:1613) > at > org.apache.activemq.artemis.protocol.amqp.broker.AMQPSessionCallback.serverSend(AMQPSessionCallback.java:510) > at > org.apache.activemq.artemis.protocol.amqp.broker.AMQPS
[jira] [Work logged] (ARTEMIS-2282) QueueImpl.addTail NPEs during processing of a management message
[ https://issues.apache.org/jira/browse/ARTEMIS-2282?focusedWorklogId=219441&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-219441 ] ASF GitHub Bot logged work on ARTEMIS-2282: --- Author: ASF GitHub Bot Created on: 27/Mar/19 17:02 Start Date: 27/Mar/19 17:02 Worklog Time Spent: 10m Work Description: asfgit commented on pull request #2590: ARTEMIS-2282 QueueImpl::addTail of a management message could throw NPE URL: https://github.com/apache/activemq-artemis/pull/2590 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 219441) Time Spent: 1h (was: 50m) > QueueImpl.addTail NPEs during processing of a management message > > > Key: ARTEMIS-2282 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2282 > Project: ActiveMQ Artemis > Issue Type: Bug >Affects Versions: 2.7.0 >Reporter: Keith Wall >Priority: Major > Time Spent: 1h > Remaining Estimate: 0h > > We are in the process of upgrading to Artemis 2.7.0 > ([https://github.com/EnMasseProject/enmasse/pull/2493]). We notice the > following NPE showing in the Artemis logs following a run of our test-suite. > Our application sends management messages over AMQP (to activemq.management) > to control the Broker and we can see from the stack that it is the processing > of these messages that leads to the failure. > -Our test suite is passing and as far as we can tell, there is no functional > defect.- (Correction, we are seeing failures [updated :2019-03-25]), > Could this be related to the recent work of ARTEMIS-1710? > > 2019-03-22T21:42:15.150Z WARN [ProtonServerReceiverContext] null: > java.lang.NullPointerException > at > org.apache.activemq.artemis.core.server.impl.QueueImpl.addTail(QueueImpl.java:898) > at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.internalprocessReferences(RoutingContextImpl.java:138) > at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.processReferences(RoutingContextImpl.java:133) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl$2.done(PostOfficeImpl.java:1370) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:189) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:130) > at > org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.afterCompleteOperations(AbstractJournalStorageManager.java:323) > at org.apac2019-03-22T21:42:15.150Z WARN [ProtonServerReceiverContext] null: > java.lang.NullPointerException > at > org.apache.activemq.artemis.core.server.impl.QueueImpl.addTail(QueueImpl.java:898) > at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.internalprocessReferences(RoutingContextImpl.java:138) > iv at > org.apache.activemq.artemis.core.server.impl.RoutingContextImpl.processReferences(RoutingContextImpl.java:133) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl$2.done(PostOfficeImpl.java:1370) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:189) > at > org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl.executeOnCompletion(OperationContextImpl.java:130) > at > org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.afterCompleteOperations(AbstractJournalStorageManager.java:323) > emq.artemis.core.postoffice.impl.PostOfficeImpl.processRoute(PostOfficeImpl.java:1362) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:976) > at > org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:867) > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.doSend(ServerSessionImpl.java:1972) > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.handleManagementMessage(ServerSessionImpl.java:1857) > at > org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.send(ServerSessionImpl.java:1613) > at > org.apache.activemq.artemis.protocol.amqp.broker.AMQPSessionCallback.serverSend(AMQPSessionCallback.java:510) > at > org.apache.activemq.artemis.protocol.amqp.broker.AMQPSessionCallback.serverSend(AMQPSessionCallback.java:470)