Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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:
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)
Attachments
Issue Links
- links to