You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2021/09/20 22:16:00 UTC

[jira] [Resolved] (ARTEMIS-3425) Paging NPE on reloading after PageComplete record and PageACK record

     [ https://issues.apache.org/jira/browse/ARTEMIS-3425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Bertram resolved ARTEMIS-3425.
-------------------------------------
    Fix Version/s: 2.19.0
       Resolution: Fixed

> Paging NPE on reloading after PageComplete record and PageACK record
> --------------------------------------------------------------------
>
>                 Key: ARTEMIS-3425
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3425
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Clebert Suconic
>            Assignee: Clebert Suconic
>            Priority: Major
>             Fix For: 2.19.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I was reported about a NPE condition that would happen after some race between cleanup and removing records:
> {code:java}
> org.apache.activemq.artemis.core.paging.cursor.impl.PageSubscriptionImpl$PageCursorInfo.getValidCache(PageSubscriptionImpl.java:1199) [:] at org.apache.activemq.artemis.core.paging.cursor.impl.PageSubscriptionImpl$PageCursorInfo.getValidCache(PageSubscriptionImpl.java:1199) [:] at org.apache.activemq.artemis.core.paging.cursor.impl.PageSubscriptionImpl.processReload(PageSubscriptionImpl.java:759) [:] at org.apache.activemq.artemis.core.paging.cursor.impl.PageCursorProviderImpl.processReload(PageCursorProviderImpl.java:304) [:] at org.apache.activemq.artemis.core.paging.impl.PagingStoreImpl.processReload(PagingStoreImpl.java:346) [:] at org.apache.activemq.artemis.core.paging.impl.PagingManagerImpl.processReload(PagingManagerImpl.java:486) [:] at org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.loadMessageJournal(AbstractJournalStorageManager.java:1227) [:] at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals(ActiveMQServerImpl.java:3558) [:] at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:3221) [:] at {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)