[ 
https://issues.apache.org/jira/browse/ARTEMIS-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17065085#comment-17065085
 ] 

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

Commit 402dda216187ec316b3bbe47f64509e270059a36 in activemq-artemis's branch 
refs/heads/master from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=402dda2 ]

ARTEMIS-2667 NPE w/clearing non-durable dupl ID cache


> NPE when clearing non-persistent duplicate ID cache
> ---------------------------------------------------
>
>                 Key: ARTEMIS-2667
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2667
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Adding a call to {{clear()}} at the end of 
> {{org.apache.activemq.artemis.tests.integration.persistence.DuplicateCacheTest#testDuplicateNonPersistent}}
>  triggers an NPE:
> {noformat}
> java.lang.NullPointerException
>       at 
> org.apache.activemq.artemis.core.postoffice.impl.DuplicateIDCacheImpl.clear(DuplicateIDCacheImpl.java:307)
>       at 
> org.apache.activemq.artemis.tests.integration.persistence.DuplicateCacheTest.testDuplicateNonPersistent(DuplicateCacheTest.java:122)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
>       ...
>       at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:58)
> {noformat}



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

Reply via email to