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 2022/12/15 16:50:00 UTC

[jira] [Work logged] (ARTEMIS-4115) ArrayIndexOutOfBoundsException when duplicate cache size is 0

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

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

                Author: ASF GitHub Bot
            Created on: 15/Dec/22 16:49
            Start Date: 15/Dec/22 16:49
    Worklog Time Spent: 10m 
      Work Description: clebertsuconic commented on PR #4314:
URL: https://github.com/apache/activemq-artemis/pull/4314#issuecomment-1353386918

   @jbertram test failures...
   
   
   if you could also run a whole CI in your env before we merge this please?




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

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

> ArrayIndexOutOfBoundsException when duplicate cache size is 0
> -------------------------------------------------------------
>
>                 Key: ARTEMIS-4115
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4115
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When the duplicate ID cache size is set to {{0}} (e.g. via broker properties) this exception occurs when sending a message with a {{_AMQ_DUPL_ID}} header:
> {noformat}
> java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
> 	at org.apache.activemq.artemis.core.postoffice.impl.IntegerCache.lambda$boxedInts$0(IntegerCache.java:52)
> 	at org.apache.activemq.artemis.core.postoffice.impl.PersistentDuplicateIDCache.addToCacheInMemory(PersistentDuplicateIDCache.java:271)
> 	at org.apache.activemq.artemis.core.postoffice.impl.PersistentDuplicateIDCache.addToCache(PersistentDuplicateIDCache.java:235)
> 	at org.apache.activemq.artemis.core.postoffice.impl.PersistentDuplicateIDCache.addToCache(PersistentDuplicateIDCache.java:225)
> 	at org.apache.activemq.artemis.core.postoffice.impl.PersistentDuplicateIDCache.addToCache(PersistentDuplicateIDCache.java:202){noformat}



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