-
Bug
-
Resolution: Done
-
Major
-
4.0.0.Final
-
None
-
None
-
Workaround Exists
-
org.infinispan.CacheException: Unable to construct a GlobalComponentRegistry!
at org.infinispan.factories.GlobalComponentRegistry.<init>(GlobalComponentRegistry.java:63)
at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:235)
at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:213)
at org.infinispan.test.fwk.TestCacheManagerFactory.newDefaultCacheManager(TestCacheManagerFactory.java:40)
at org.infinispan.test.fwk.TestCacheManagerFactory.createLocalCacheManager(TestCacheManagerFactory.java:99)
at org.infinispan.test.fwk.TestCacheManagerFactory.createLocalCacheManager(TestCacheManagerFactory.java:85)
at org.infinispan.server.memcached.FunctionalTest.createCacheManager(FunctionalTest.java:63)
at org.infinispan.test.SingleCacheManagerTest.createBeforeClass(SingleCacheManagerTest.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:644)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:443)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:160)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:90)
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:183)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:115)
at org.testng.TestRunner.runWorkers(TestRunner.java:908)
at org.testng.TestRunner.privateRun(TestRunner.java:617)
at org.testng.TestRunner.run(TestRunner.java:498)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:329)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:324)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:296)
at org.testng.SuiteRunner.run(SuiteRunner.java:201)
at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:915)
at org.testng.TestNG.runSuitesLocally(TestNG.java:879)
at org.testng.TestNG.run(TestNG.java:787)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:75)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:110)
Caused by: java.lang.NullPointerException
at org.infinispan.manager.DefaultCacheManager.getAddress(DefaultCacheManager.java:486)
at org.infinispan.manager.DefaultCacheManager.toString(DefaultCacheManager.java:668)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at org.infinispan.factories.AbstractComponentRegistry$Component.toString(AbstractComponentRegistry.java:792)
at java.lang.String.valueOf(String.java:2838)
at org.infinispan.util.Util.formatString(Util.java:243)
at org.infinispan.util.logging.AbstractLogImpl.trace(AbstractLogImpl.java:12)
at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:221)
at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:186)
at org.infinispan.factories.GlobalComponentRegistry.<init>(GlobalComponentRegistry.java:58)
... 34 more
- is duplicated by
-
ISPN-356 NPE when log level is set to TRACE
- Closed