[JBoss JIRA] (ISPN-10876) NPE when using PutMap with listener
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-10876?page=com.atlassian.jira.plugin... ]
Ryan Emerson resolved ISPN-10876.
---------------------------------
Resolution: Done
> NPE when using PutMap with listener
> -----------------------------------
>
> Key: ISPN-10876
> URL: https://issues.jboss.org/browse/ISPN-10876
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 10.0.0.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
> Fix For: 10.0.1.Final, 10.1.0.Final
>
>
> This was observed in the Spark connector test suite, that internally relies on a listener with the {{KeyValueVersionConverter}}:
> {noformat}
> 18:19:30,559 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (SINGLE_PORT-ServerIO-5-2) ISPN000136: Error executing command PutMapCommand on Cache 'default', writing keys [WrappedByteArray{bytes=03\L1082\UF1B317D005, hashCode=2062121617}, WrappedByteArray{bytes=03\L1082\UF1B214F000, hashCode=2062089930}, WrappedByteArray{bytes=03\L1082\UF1B214E000, hashCode=2062089434}, WrappedByteArray{bytes=03\L1082\UF1B4\T1001, hashCode=2062212009}, WrappedByteArray{bytes=03\L1082\UF1B3D69001, hashCode=2062057164}]: java.lang.NullPointerException
> at org.infinispan.server.hotrod.KeyValueVersionConverter.convert(KeyValueVersionConverter.java:41)
> at org.infinispan.server.hotrod.KeyValueVersionConverter.convert(KeyValueVersionConverter.java:16)
> at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.convertValue(CacheNotifierImpl.java:1977)
> at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.invokeNoChecks(CacheNotifierImpl.java:1834)
> at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.invoke(CacheNotifierImpl.java:1818)
> at org.infinispan.notifications.cachelistener.CacheNotifierImpl.doNotifyModified(CacheNotifierImpl.java:450)
> at org.infinispan.notifications.cachelistener.CacheNotifierImpl.notifyCacheEntryModified(CacheNotifierImpl.java:432)
> at org.infinispan.notifications.cachelistener.NotifyHelper.entryCommitted(NotifyHelper.java:70)
> at org.infinispan.interceptors.locking.ClusteringDependentLogic$DistributionLogic.lambda$commitSingleEntry$0(ClusteringDependentLogic.java:648)
> at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1106)
> at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2235)
> at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:143)
> at org.infinispan.interceptors.locking.ClusteringDependentLogic$DistributionLogic.commitSingleEntry(ClusteringDependentLogic.java:648)
> at org.infinispan.interceptors.locking.ClusteringDependentLogic$AbstractClusteringDependentLogic.commitEntry(ClusteringDependentLogic.java:230)
> at org.infinispan.interceptors.impl.EntryWrappingInterceptor.commitContextEntry(EntryWrappingInterceptor.java:599)
> at org.infinispan.interceptors.impl.EntryWrappingInterceptor.commitEntryIfNeeded(EntryWrappingInterceptor.java:842)
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months
[JBoss JIRA] (ISPN-10877) REST API consistency fixes
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-10877?page=com.atlassian.jira.plugin... ]
Ryan Emerson resolved ISPN-10877.
---------------------------------
Resolution: Done
> REST API consistency fixes
> --------------------------
>
> Key: ISPN-10877
> URL: https://issues.jboss.org/browse/ISPN-10877
> Project: Infinispan
> Issue Type: Bug
> Components: REST
> Affects Versions: 10.0.0.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
> Fix For: 10.0.1.Final, 10.1.0.Final
>
>
> * Some resources outputs fields using camel case, others with lowercase with underscores.
> * The xsite resource takeOffline config payload doesn't follow the configuration naming, and uses minTimeToWait instead of min_wait
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months
[JBoss JIRA] (ISPN-10880) JCacheConfigurationTest leaks cache manager
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-10880?page=com.atlassian.jira.plugin... ]
Dan Berindei updated ISPN-10880:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/7530
> JCacheConfigurationTest leaks cache manager
> -------------------------------------------
>
> Key: ISPN-10880
> URL: https://issues.jboss.org/browse/ISPN-10880
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 10.0.0.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
> Fix For: 10.1.0.Beta1
>
>
> {noformat}
> ThreadLeakCheckerorg.infinispan.commons.test.ThreadLeakChecker$LeakException: Leaked thread: expiration-thread--p446-t1 << testng-JCacheConfigurationTest << org.infinispan.jcache.JCacheConfigurationTest
> ...
> Caused by: org.infinispan.commons.test.ThreadLeakChecker$LeakException: testng-JCacheConfigurationTest << org.infinispan.jcache.JCacheConfigurationTest
> at org.infinispan.commons.test.ThreadLeakChecker$ThreadInfoLocal.childValue(ThreadLeakChecker.java:107)
> ...
> at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:713)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:391)
> at org.infinispan.jcache.embedded.JCacheManager.<init>(JCacheManager.java:75)
> at org.infinispan.jcache.JCacheConfigurationTest.lambda$testJCacheManagerWithRealJarFileSchema$1(JCacheConfigurationTest.java:107)
> at org.infinispan.jcache.util.JCacheTestingUtil.withCachingProvider(JCacheTestingUtil.java:36)
> at org.infinispan.jcache.JCacheConfigurationTest.testJCacheManagerWithRealJarFileSchema(JCacheConfigurationTest.java:104)
> {noformat}
> The leak is only reported some of the time because {{AbstractJCacheManager}} has a {{finalize()}} method and stops the underlying cache manager.
> The threads created by {{DefaultCacheManager}} ensure it's still referenced during finalization, allowing it to stop cleanly.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months
[JBoss JIRA] (ISPN-10880) JCacheConfigurationTest leaks cache manager
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-10880?page=com.atlassian.jira.plugin... ]
Dan Berindei updated ISPN-10880:
--------------------------------
Summary: JCacheConfigurationTest leaks cache manager (was: JCacheConfigurationTest.testJCacheManagerWithRealJarFileSchema leaks cache manager)
> JCacheConfigurationTest leaks cache manager
> -------------------------------------------
>
> Key: ISPN-10880
> URL: https://issues.jboss.org/browse/ISPN-10880
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 10.0.0.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
> Fix For: 10.1.0.Beta1
>
>
> {noformat}
> ThreadLeakCheckerorg.infinispan.commons.test.ThreadLeakChecker$LeakException: Leaked thread: expiration-thread--p446-t1 << testng-JCacheConfigurationTest << org.infinispan.jcache.JCacheConfigurationTest
> ...
> Caused by: org.infinispan.commons.test.ThreadLeakChecker$LeakException: testng-JCacheConfigurationTest << org.infinispan.jcache.JCacheConfigurationTest
> at org.infinispan.commons.test.ThreadLeakChecker$ThreadInfoLocal.childValue(ThreadLeakChecker.java:107)
> ...
> at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:713)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:391)
> at org.infinispan.jcache.embedded.JCacheManager.<init>(JCacheManager.java:75)
> at org.infinispan.jcache.JCacheConfigurationTest.lambda$testJCacheManagerWithRealJarFileSchema$1(JCacheConfigurationTest.java:107)
> at org.infinispan.jcache.util.JCacheTestingUtil.withCachingProvider(JCacheTestingUtil.java:36)
> at org.infinispan.jcache.JCacheConfigurationTest.testJCacheManagerWithRealJarFileSchema(JCacheConfigurationTest.java:104)
> {noformat}
> The leak is only reported some of the time because {{AbstractJCacheManager}} has a {{finalize()}} method and stops the underlying cache manager.
> The threads created by {{DefaultCacheManager}} ensure it's still referenced during finalization, allowing it to stop cleanly.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months
[JBoss JIRA] (ISPN-10824) Hanged tests are ignored by Jenkins
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-10824?page=com.atlassian.jira.plugin... ]
Dan Berindei reopened ISPN-10824:
---------------------------------
> Hanged tests are ignored by Jenkins
> -----------------------------------
>
> Key: ISPN-10824
> URL: https://issues.jboss.org/browse/ISPN-10824
> Project: Infinispan
> Issue Type: Bug
> Components: Build, Test Suite - Core
> Affects Versions: 9.4.16.Final, 10.0.0.CR3
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 10.0.0.Final
>
>
> ISPN-10161 was supposed to add a custom JUnit report in {{RunningTestsRegistry}} just before killing the JVM. Unfortunately it only calls {{TestSuiteProgress.fakeTestFailure()}}, which sounds like it should do it, but actually only writes a {{Test failed:}} messsage to the console, which Jenkins ignores.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months
[JBoss JIRA] (ISPN-10880) JCacheConfigurationTest.testJCacheManagerWithRealJarFileSchema leaks cache manager
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-10880?page=com.atlassian.jira.plugin... ]
Dan Berindei updated ISPN-10880:
--------------------------------
Status: Open (was: New)
> JCacheConfigurationTest.testJCacheManagerWithRealJarFileSchema leaks cache manager
> ----------------------------------------------------------------------------------
>
> Key: ISPN-10880
> URL: https://issues.jboss.org/browse/ISPN-10880
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 10.0.0.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
> Fix For: 10.1.0.Beta1
>
>
> {noformat}
> ThreadLeakCheckerorg.infinispan.commons.test.ThreadLeakChecker$LeakException: Leaked thread: expiration-thread--p446-t1 << testng-JCacheConfigurationTest << org.infinispan.jcache.JCacheConfigurationTest
> ...
> Caused by: org.infinispan.commons.test.ThreadLeakChecker$LeakException: testng-JCacheConfigurationTest << org.infinispan.jcache.JCacheConfigurationTest
> at org.infinispan.commons.test.ThreadLeakChecker$ThreadInfoLocal.childValue(ThreadLeakChecker.java:107)
> ...
> at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:713)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:391)
> at org.infinispan.jcache.embedded.JCacheManager.<init>(JCacheManager.java:75)
> at org.infinispan.jcache.JCacheConfigurationTest.lambda$testJCacheManagerWithRealJarFileSchema$1(JCacheConfigurationTest.java:107)
> at org.infinispan.jcache.util.JCacheTestingUtil.withCachingProvider(JCacheTestingUtil.java:36)
> at org.infinispan.jcache.JCacheConfigurationTest.testJCacheManagerWithRealJarFileSchema(JCacheConfigurationTest.java:104)
> {noformat}
> The leak is only reported some of the time because {{AbstractJCacheManager}} has a {{finalize()}} method and stops the underlying cache manager.
> The threads created by {{DefaultCacheManager}} ensure it's still referenced during finalization, allowing it to stop cleanly.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months
[JBoss JIRA] (ISPN-10880) JCacheConfigurationTest.testJCacheManagerWithRealJarFileSchema leaks cache manager
by Dan Berindei (Jira)
Dan Berindei created ISPN-10880:
-----------------------------------
Summary: JCacheConfigurationTest.testJCacheManagerWithRealJarFileSchema leaks cache manager
Key: ISPN-10880
URL: https://issues.jboss.org/browse/ISPN-10880
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 10.0.0.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 10.1.0.Beta1
{noformat}
ThreadLeakCheckerorg.infinispan.commons.test.ThreadLeakChecker$LeakException: Leaked thread: expiration-thread--p446-t1 << testng-JCacheConfigurationTest << org.infinispan.jcache.JCacheConfigurationTest
...
Caused by: org.infinispan.commons.test.ThreadLeakChecker$LeakException: testng-JCacheConfigurationTest << org.infinispan.jcache.JCacheConfigurationTest
at org.infinispan.commons.test.ThreadLeakChecker$ThreadInfoLocal.childValue(ThreadLeakChecker.java:107)
...
at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:713)
at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:391)
at org.infinispan.jcache.embedded.JCacheManager.<init>(JCacheManager.java:75)
at org.infinispan.jcache.JCacheConfigurationTest.lambda$testJCacheManagerWithRealJarFileSchema$1(JCacheConfigurationTest.java:107)
at org.infinispan.jcache.util.JCacheTestingUtil.withCachingProvider(JCacheTestingUtil.java:36)
at org.infinispan.jcache.JCacheConfigurationTest.testJCacheManagerWithRealJarFileSchema(JCacheConfigurationTest.java:104)
{noformat}
The leak is only reported some of the time because {{AbstractJCacheManager}} has a {{finalize()}} method and stops the underlying cache manager.
The threads created by {{DefaultCacheManager}} ensure it's still referenced during finalization, allowing it to stop cleanly.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months
[JBoss JIRA] (ISPN-10866) Wildfly InfinispanExtension Should always use jboss-marshalling
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-10866?page=com.atlassian.jira.plugin... ]
Gustavo Fernandes updated ISPN-10866:
-------------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Wildfly InfinispanExtension Should always use jboss-marshalling
> ---------------------------------------------------------------
>
> Key: ISPN-10866
> URL: https://issues.jboss.org/browse/ISPN-10866
> Project: Infinispan
> Issue Type: Bug
> Components: WildFly Server
> Affects Versions: 10.0.0.Final
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.0.1.Final, 10.1.0.Final
>
>
> The InfinsipanExtension should always utilise the {{JBossUserMarshaller}} as it's not possible to configure a user marshaller via the DMR or server XML. This means that the marshalling behaviour is the same as in the 9.4.x stream and provided Externalizers are still used.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months