You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/04/12 23:41:00 UTC

[jira] [Work logged] (ARTEMIS-4233) QueueImpl::NPE on holder.iter == null

     [ https://issues.apache.org/jira/browse/ARTEMIS-4233?focusedWorklogId=856598&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-856598 ]

ASF GitHub Bot logged work on ARTEMIS-4233:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/Apr/23 23:40
            Start Date: 12/Apr/23 23:40
    Worklog Time Spent: 10m 
      Work Description: clebertsuconic merged PR #4434:
URL: https://github.com/apache/activemq-artemis/pull/4434




Issue Time Tracking
-------------------

            Worklog Id:     (was: 856598)
    Remaining Estimate: 0h
            Time Spent: 10m

> QueueImpl::NPE on holder.iter == null
> -------------------------------------
>
>                 Key: ARTEMIS-4233
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4233
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Clebert Suconic
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I had an user reporting the following NPE on a test:
> java.lang.NullPointerException: Cannot invoke “org.apache.activemq.artemis.utils.collections.LinkedListIterator.repeat()” because “holder.iter” is null
>         at org.apache.activemq.artemis.core.server.impl.QueueImpl.deliver(QueueImpl.java:3176) ~[artemis-server-2.29.0-SNAPSHOT.jar:2.29.0-SNAPSHOT]
>         at org.apache.activemq.artemis.core.server.impl.QueueImpl$DeliverRunner.run(QueueImpl.java:4331) ~[artemis-server-2.29.0-SNAPSHOT.jar:2.29.0-SNAPSHOT]
>         at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:57) ~[artemis-commons-2.29.0-SNAPSHOT.jar:?]
>         at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:32) ~[artemis-commons-2.29.0-SNAPSHOT.jar:?]
>         at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:68) ~[artemis-commons-2.29.0-SNAPSHOT.jar:?]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
> I am adding final variables so it's validated in compile time instead to avoid this particular issue.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)