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 subversion and git services (Jira)" <ji...@apache.org> on 2021/08/18 21:50:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17401381#comment-17401381 ] 

ASF subversion and git services commented on ARTEMIS-3425:
----------------------------------------------------------

Commit 3edb96b09baf8075a03861f7c1d0b0c488473da2 in activemq-artemis's branch refs/heads/main from Clebert Suconic
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=3edb96b ]

ARTEMIS-3425 Possible NPE on Page reload


> 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
>
> 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)