-
Bug
-
Resolution: Done
-
Major
-
9.0.0.Final
-
None
The following test fails:
import static org.testng.AssertJUnit.assertEquals; import org.infinispan.configuration.cache.ConfigurationBuilder; import org.infinispan.configuration.cache.Index; import org.infinispan.manager.EmbeddedCacheManager; import org.infinispan.test.SingleCacheManagerTest; import org.infinispan.test.fwk.TestCacheManagerFactory; import org.testng.annotations.Test; ; @Test(groups = "functional") public class CacheCreateTest extends SingleCacheManagerTest { @Override protected EmbeddedCacheManager createCacheManager() throws Exception { ConfigurationBuilder builder = new ConfigurationBuilder(); builder.indexing().index(Index.ALL); return TestCacheManagerFactory.createCacheManager(builder); } public void createCacheTest() { ConfigurationBuilder builder = new ConfigurationBuilder(); builder.read(cacheManager.getDefaultCacheConfiguration()); builder.template(false); cacheManager.defineConfiguration("newCache", builder.build()); assertEquals(cacheManager.getDefaultCacheConfiguration(), cacheManager.getCacheConfiguration("newCache")); cacheManager.getCache("newCache"); } }
With the following stacktrace:
/usr/lib/jvm/java-8-oracle/bin/java -ea -Dinfinispan.test.jgroups.protocol=tcp -Djgroups.bind_addr=127.0.0.1 -Djgroups.join_timeout=2000 -Djava.net.preferIPv4Stack=true -Dlog4j.configurationFile=/home/tst/Work/JBoss/infinispan/client/hotrod-client/../../etc/log4j2.xml -Dbuild.directory=/home/tst/Work/JBoss/infinispan/client/hotrod-client/target -Dinfinispan.module-suffix=-infinispan-client-hotrod -Xmx2G -Dsun.nio.ch.bugLevel -Didea.test.cyclic.buffer.size=1048576 -javaagent:/home/tst/Applications/idea/lib/idea_rt.jar=39215:/home/tst/Applications/idea/bin -Dfile.encoding=UTF-8 -classpath /home/tst/Applications/idea/lib/idea_rt.jar:/home/tst/Applications/idea/plugins/testng/lib/testng-plugin.jar:/usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-8-oracle/jre/lib/deploy.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jaccess.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jfxrt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/nashorn.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-8-oracle/jre/lib/javaws.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfxswt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-8-oracle/jre/lib/management-agent.jar:/usr/lib/jvm/java-8-oracle/jre/lib/plugin.jar:/usr/lib/jvm/java-8-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar:/home/tst/Work/JBoss/infinispan/client/hotrod-client/target/test-classes:/home/tst/Work/JBoss/infinispan/client/hotrod-client/target/classes:/home/tst/Work/JBoss/infinispan/commons/target/classes:/home/tst/.m2/repository/com/github/ben-manes/caffeine/caffeine/2.4.0/caffeine-2.4.0.jar:/home/tst/.m2/repository/org/jboss/logging/jboss-logging/3.3.0.Final/jboss-logging-3.3.0.Final.jar:/home/tst/.m2/repository/org/jboss/marshalling/jboss-marshalling-osgi/2.0.0.Beta3/jboss-marshalling-osgi-2.0.0.Beta3.jar:/home/tst/.m2/repository/commons-pool/commons-pool/1.6/commons-pool-1.6.jar:/home/tst/Work/JBoss/infinispan/commons-test/target/classes:/home/tst/Work/JBoss/infinispan/core/target/test-classes:/home/tst/.m2/repository/org/jgroups/jgroups/4.0.1.Final/jgroups-4.0.1.Final.jar:/home/tst/.m2/repository/org/jboss/spec/javax/transaction/jboss-transaction-api_1.1_spec/1.0.1.Final/jboss-transaction-api_1.1_spec-1.0.1.Final.jar:/home/tst/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/home/tst/Work/JBoss/infinispan/query/target/test-classes:/home/tst/Work/JBoss/infinispan/core/target/classes:/home/tst/Work/JBoss/infinispan/object-filter/target/classes:/home/tst/.m2/repository/org/antlr/antlr-runtime/3.4/antlr-runtime-3.4.jar:/home/tst/.m2/repository/org/antlr/stringtemplate/3.2.1/stringtemplate-3.2.1.jar:/home/tst/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar:/home/tst/.m2/repository/org/hibernate/hibernate-search-engine/5.8.0.Beta1/hibernate-search-engine-5.8.0.Beta1.jar:/home/tst/.m2/repository/org/hibernate/common/hibernate-commons-annotations/5.0.1.Final/hibernate-commons-annotations-5.0.1.Final.jar:/home/tst/.m2/repository/org/apache/lucene/lucene-core/5.5.4/lucene-core-5.5.4.jar:/home/tst/.m2/repository/org/apache/lucene/lucene-misc/5.5.4/lucene-misc-5.5.4.jar:/home/tst/.m2/repository/org/apache/lucene/lucene-analyzers-common/5.5.4/lucene-analyzers-common-5.5.4.jar:/home/tst/.m2/repository/org/apache/lucene/lucene-facet/5.5.4/lucene-facet-5.5.4.jar:/home/tst/.m2/repository/org/apache/lucene/lucene-queries/5.5.4/lucene-queries-5.5.4.jar:/home/tst/.m2/repository/org/apache/lucene/lucene-queryparser/5.5.4/lucene-queryparser-5.5.4.jar:/home/tst/Work/JBoss/infinispan/lucene/directory-provider/target/classes:/home/tst/.m2/repository/org/hibernate/hibernate-search-serialization-avro/5.8.0.Beta1/hibernate-search-serialization-avro-5.8.0.Beta1.jar:/home/tst/.m2/repository/org/apache/avro/avro/1.7.6/avro-1.7.6.jar:/home/tst/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar:/home/tst/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar:/home/tst/.m2/repository/com/thoughtworks/paranamer/paranamer/2.3/paranamer-2.3.jar:/home/tst/.m2/repository/org/apache/commons/commons-compress/1.4/commons-compress-1.4.jar:/home/tst/Work/JBoss/infinispan/lucene/lucene-directory/target/classes:/home/tst/Work/JBoss/infinispan/remote-query/remote-query-server/target/classes:/home/tst/Work/JBoss/infinispan/query/target/classes:/home/tst/Work/JBoss/infinispan/server/core/target/classes:/home/tst/Work/JBoss/infinispan/tasks/scripting/target/classes:/home/tst/Work/JBoss/infinispan/tasks/manager/target/classes:/home/tst/Work/JBoss/infinispan/tasks/api/target/classes:/home/tst/Work/JBoss/infinispan/tasks/scripting/target/test-classes:/home/tst/Work/JBoss/infinispan/server/hotrod/target/classes:/home/tst/.m2/repository/io/netty/netty-all/4.1.9.Final/netty-all-4.1.9.Final.jar:/home/tst/Work/JBoss/infinispan/server/hotrod/target/test-classes:/home/tst/Work/JBoss/infinispan/server/core/target/test-classes:/home/tst/.m2/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.8.1/log4j-slf4j-impl-2.8.1.jar:/home/tst/.m2/repository/org/slf4j/slf4j-api/1.7.7.jbossorg-1/slf4j-api-1.7.7.jbossorg-1.jar:/home/tst/Work/JBoss/infinispan/query-dsl/target/classes:/home/tst/Work/JBoss/infinispan/remote-query/remote-query-client/target/classes:/home/tst/.m2/repository/org/infinispan/protostream/protostream/4.0.0.Final/protostream-4.0.0.Final.jar:/home/tst/.m2/repository/com/google/protobuf/protobuf-java/3.0.2/protobuf-java-3.0.2.jar:/home/tst/.m2/repository/com/squareup/protoparser/4.0.3/protoparser-4.0.3.jar:/home/tst/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar:/home/tst/.m2/repository/org/infinispan/protostream/sample-domain-definition/4.0.0.Final/sample-domain-definition-4.0.0.Final.jar:/home/tst/.m2/repository/org/jboss/sasl/jboss-sasl/1.0.5.Final/jboss-sasl-1.0.5.Final.jar:/home/tst/.m2/repository/org/testng/testng/6.8.8/testng-6.8.8.jar:/home/tst/.m2/repository/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar:/home/tst/.m2/repository/com/beust/jcommander/1.27/jcommander-1.27.jar:/home/tst/.m2/repository/org/mockito/mockito-core/2.7.21/mockito-core-2.7.21.jar:/home/tst/.m2/repository/net/bytebuddy/byte-buddy/1.6.11/byte-buddy-1.6.11.jar:/home/tst/.m2/repository/net/bytebuddy/byte-buddy-agent/1.6.11/byte-buddy-agent-1.6.11.jar:/home/tst/.m2/repository/org/objenesis/objenesis/2.5/objenesis-2.5.jar:/home/tst/.m2/repository/org/apache/logging/log4j/log4j-core/2.8.1/log4j-core-2.8.1.jar:/home/tst/.m2/repository/org/apache/logging/log4j/log4j-api/2.8.1/log4j-api-2.8.1.jar:/home/tst/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar:/home/tst/.m2/repository/org/jboss/jboss-transaction-spi/7.1.0.Final/jboss-transaction-spi-7.1.0.Final.jar:/home/tst/.m2/repository/org/jboss/narayana/jta/narayana-jta/5.0.4.Final/narayana-jta-5.0.4.Final.jar:/home/tst/.m2/repository/org/jboss/spec/javax/interceptor/jboss-interceptors-api_1.2_spec/1.0.0.Final/jboss-interceptors-api_1.2_spec-1.0.0.Final.jar:/home/tst/.m2/repository/org/jboss/logging/jboss-logging-processor/1.2.1.Final/jboss-logging-processor-1.2.1.Final.jar:/home/tst/.m2/repository/org/jboss/logging/jboss-logging-annotations/2.0.1.Final/jboss-logging-annotations-2.0.1.Final.jar:/home/tst/.m2/repository/org/jboss/jdeparser/jdeparser/1.0.0.Final/jdeparser-1.0.0.Final.jar:/home/tst/.m2/repository/org/jacoco/org.jacoco.agent/0.7.5.201505241946/org.jacoco.agent-0.7.5.201505241946-runtime.jar:/home/tst/Work/JBoss/infinispan/license/target/classes:/home/tst/Applications/idea/plugins/testng/lib/jcommander.jar org.testng.RemoteTestNGStarter -usedefaultlisteners false -socket34137 @w@/tmp/idea_working_dirs_testng.tmp -temp /tmp/idea_testng.tmp [TestNG] Running: /home/tst/.IdeaIC2017.1/system/temp-testng-customsuite.xml org.infinispan.commons.CacheException: Unable to construct a ComponentRegistry! at org.infinispan.factories.ComponentRegistry.<init>(ComponentRegistry.java:94) at org.infinispan.factories.InternalCacheFactory$2.<init>(InternalCacheFactory.java:164) at org.infinispan.factories.InternalCacheFactory.bootstrap(InternalCacheFactory.java:164) at org.infinispan.factories.InternalCacheFactory.createAndWire(InternalCacheFactory.java:101) at org.infinispan.factories.InternalCacheFactory.createCache(InternalCacheFactory.java:65) at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:646) at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:596) at org.infinispan.manager.DefaultCacheManager.internalGetCache(DefaultCacheManager.java:460) at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:450) at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:435) at org.infinispan.client.hotrod.admin.CacheCreateTest.createCacheTest(CacheCreateTest.java:34) 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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) at org.testng.internal.Invoker.invokeMethod(Invoker.java:714) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) at org.testng.TestRunner.privateRun(TestRunner.java:767) at org.testng.TestRunner.run(TestRunner.java:617) at org.testng.SuiteRunner.runTest(SuiteRunner.java:348) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305) at org.testng.SuiteRunner.run(SuiteRunner.java:254) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.run(TestNG.java:1057) at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72) at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:127) Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.cache.impl.TypeConverterDelegatingAdvancedCache.wireRealCache(org.infinispan.factories.ComponentRegistry,org.infinispan.container.InternalEntryFactory) on object of type TypeConverterDelegatingAdvancedCache with parameters [org.infinispan.factories.InternalCacheFactory$2@344561e0, org.infinispan.container.InternalEntryFactoryImpl@66d23e4a] at org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:95) at org.infinispan.commons.util.SecurityActions.doPrivileged(SecurityActions.java:83) at org.infinispan.commons.util.SecurityActions.invokeAccessibly(SecurityActions.java:88) at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:165) at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:252) at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:72) at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:794) at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:222) at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:186) at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:174) at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:303) at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:155) at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:249) at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:72) at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:794) at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:222) at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:186) at org.infinispan.factories.AbstractComponentRegistry.registerNonVolatileComponent(AbstractComponentRegistry.java:182) at org.infinispan.factories.ComponentRegistry.<init>(ComponentRegistry.java:88) ... 33 more Caused by: org.infinispan.commons.CacheConfigurationException: Unable to configure component (type: class org.infinispan.cache.impl.CacheImpl, instance Cache 'newCache'@0) at org.infinispan.factories.AbstractComponentRegistry.wireDependencies(AbstractComponentRegistry.java:154) at org.infinispan.cache.impl.TypeConverterDelegatingAdvancedCache.wireRealCache(TypeConverterDelegatingAdvancedCache.java:67) 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.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:91) ... 51 more Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.cache.impl.TypeConverterDelegatingAdvancedCache.wireRealCache(org.infinispan.factories.ComponentRegistry,org.infinispan.container.InternalEntryFactory) on object of type TypeConverterDelegatingAdvancedCache with parameters [org.infinispan.factories.InternalCacheFactory$2@344561e0, org.infinispan.container.InternalEntryFactoryImpl@66d23e4a] at org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:95) at org.infinispan.commons.util.SecurityActions.doPrivileged(SecurityActions.java:83) at org.infinispan.commons.util.SecurityActions.invokeAccessibly(SecurityActions.java:88) at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:165) at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:252) at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:72) at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:794) at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:222) at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:186) at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:174) at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:303) at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:155) at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:249) at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:72) at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:794) at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:222) at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:186) at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:174) at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:303) at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:155) at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:249) at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:72) at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:794) at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:222) at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:186) at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:174) at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:303) at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:155) at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:249) at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:72) at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:794) at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:222) at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:186) at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:174) at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:303) at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:155) at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:249) at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:72) at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:794) at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:222) at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:186) at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:174) at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:303) at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:155) at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:249) at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:72) at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:794) at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:222) at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:186) at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:174) at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:303) at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:155) at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:249) at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:72) at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:794) at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:222) at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:186) at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:174) at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:303) at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:155) at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:249) at org.infinispan.factories.AbstractComponentRegistry.wireDependencies(AbstractComponentRegistry.java:148) ... 57 more Caused by: org.infinispan.commons.CacheConfigurationException: Unable to configure component (type: class org.infinispan.cache.impl.CacheImpl, instance Cache 'newCache'@0) at org.infinispan.factories.AbstractComponentRegistry.wireDependencies(AbstractComponentRegistry.java:154) at org.infinispan.cache.impl.TypeConverterDelegatingAdvancedCache.wireRealCache(TypeConverterDelegatingAdvancedCache.java:67) 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.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:91) ... 118 more Caused by: org.infinispan.commons.CacheException: Unable to invoke method protected void org.infinispan.query.backend.QueryInterceptor.injectDependencies(javax.transaction.TransactionManager,javax.transaction.TransactionSynchronizationRegistry,org.infinispan.Cache,org.infinispan.manager.EmbeddedCacheManager,org.infinispan.registry.InternalCacheRegistry,org.infinispan.distribution.DistributionManager,org.infinispan.remoting.rpc.RpcManager,org.infinispan.container.DataContainer,java.util.concurrent.ExecutorService,org.infinispan.compat.TypeConverter) on object of type QueryInterceptor with parameters [null, null, Cache 'newCache'@0, org.infinispan.manager.DefaultCacheManager@2a551a63@Address:null, org.infinispan.registry.impl.InternalCacheRegistryImpl@1a6f5124, null, null, org.infinispan.container.DefaultDataContainer@1edb61b1, org.infinispan.executors.LazyInitializingExecutorService@ec2bf82, org.infinispan.interceptors.impl.WrappedByteArrayConverter@cc62a3b] at org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:95) at org.infinispan.commons.util.SecurityActions.doPrivileged(SecurityActions.java:83) at org.infinispan.commons.util.SecurityActions.invokeAccessibly(SecurityActions.java:88) at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:165) at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:252) at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:72) at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:794) at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:222) at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:186) at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:174) at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:166) at org.infinispan.factories.InterceptorChainFactory.register(InterceptorChainFactory.java:94) at org.infinispan.factories.InterceptorChainFactory.buildCustomInterceptors(InterceptorChainFactory.java:311) at org.infinispan.factories.InterceptorChainFactory.buildInterceptorChain(InterceptorChainFactory.java:301) at org.infinispan.factories.InterceptorChainFactory.construct(InterceptorChainFactory.java:349) at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:300) at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:155) at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:249) at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:72) at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:794) at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:222) at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:186) at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:174) at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:303) at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:155) at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:249) at org.infinispan.factories.AbstractComponentRegistry.wireDependencies(AbstractComponentRegistry.java:148) ... 124 more Caused by: java.lang.NullPointerException at org.infinispan.query.backend.QueryInterceptor.injectDependencies(QueryInterceptor.java:115) 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.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:91) ... 150 more =============================================== Default Suite Total tests run: 1, Failures: 1, Skips: 0 =============================================== Process finished with exit code 0
- is cloned by
-
JDG-989 Cache templates with Type fail when they enable indexing
- Closed