Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1511

JDBC stores don't shutdown properly in case of errors in init

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.1.0.BETA4
    • 5.1.0.BETA3
    • Loaders and Stores
    • None

      > 2011-11-07 17:00:14,644 TRACE [L1ManagerImpl]
      > (testng-InfinispanDirectoryIOTest) Invalidating L1 caches for keys
      > [longFile.writtenInMultipleFlushes|2|index]
      > 2011-11-07 17:00:14,647 TRACE [L1ManagerImpl]
      > (testng-InfinispanDirectoryIOTest) No L1 caches to invalidate
      > 2011-11-07 17:00:14,647 WARN [ComponentRegistry]
      > (testng-DatabaseStoredIndexTest) ISPN000126: Attempted to stop() from
      > FAILED state, but caught exception; try calling destroy()
      > org.infinispan.CacheException: Unable to invoke method public void
      > org.infinispan.loaders.CacheLoaderManagerImpl.stop() on object
      > at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:205)
      > at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:825)
      > at org.infinispan.factories.AbstractComponentRegistry.internalStop(AbstractComponentRegistry.java:657)
      > at org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:548)
      > at org.infinispan.factories.ComponentRegistry.stop(ComponentRegistry.java:202)
      > at org.infinispan.CacheImpl.stop(CacheImpl.java:490)
      > at org.infinispan.CacheImpl.stop(CacheImpl.java:482)
      > at org.infinispan.manager.DefaultCacheManager.stop(DefaultCacheManager.java:652)
      > at org.infinispan.test.TestingUtil.killCacheManagers(TestingUtil.java:626)
      > at org.infinispan.test.SingleCacheManagerTest.teardown(SingleCacheManagerTest.java:59)
      > at org.infinispan.test.SingleCacheManagerTest.destroyAfterMethod(SingleCacheManagerTest.java:97)
      > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      > at java.lang.reflect.Method.invoke(Method.java:597)
      > 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.invokeMethod(Invoker.java:612)
      > at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:700)
      > at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1002)
      > at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:137)
      > at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:121)
      > at org.testng.TestRunner.runWorkers(TestRunner.java:909)
      > at org.testng.TestRunner.privateRun(TestRunner.java:618)
      > at org.testng.TestRunner.run(TestRunner.java:499)
      > at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
      > at org.testng.SuiteRunner.access$000(SuiteRunner.java:33)
      > at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:358)
      > at org.testng.internal.thread.ThreadUtil$CountDownLatchedRunnable.run(ThreadUtil.java:142)
      > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      > at java.lang.Thread.run(Thread.java:662)
      > Caused by: java.lang.reflect.InvocationTargetException
      > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      > at java.lang.reflect.Method.invoke(Method.java:597)
      > at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:203)
      > ... 32 more
      > Caused by: java.lang.NullPointerException
      > at org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStore.stop(JdbcStringBasedCacheStore.java:188)
      > at org.infinispan.loaders.CacheLoaderManagerImpl.stop(CacheLoaderManagerImpl.java:210)
      > ... 37 more

              ttarrant@redhat.com Tristan Tarrant
              NadirX NadirX
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: