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

Clebert Suconic updated ARTEMIS-3425:
-------------------------------------
    Description: 
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}
 

  was:
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}
org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.run(LiveOnlyActivation.java:76)
 [:] at 
org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart(ActiveMQServerImpl.java:642)
 [:] at 
org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start(ActiveMQServerImpl.java:561)
 [:]

 


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

Reply via email to