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

NullPointerException in TransactionTable remote transactions log

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.1.0.Alpha2, 8.1.0.Final
    • 8.1.0.Alpha1
    • None
    • None

    Description

      NullPointerException is TransactionTable logging:

      2015-10-07 14:37:36,885 WARN  [org.infinispan.factories.ComponentRegistry] (testng-FunctionalPersistenceTest:[]) ISPN000189: While stopping a cache or cache manager, one of its components failed to stop
      org.infinispan.commons.CacheException: Unable to invoke method private void org.infinispan.transaction.impl.TransactionTable.stop() on object of type XaTransactionTable
      	at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:172) ~[classes/:?]
      	at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869) ~[classes/:?]
      	at org.infinispan.factories.AbstractComponentRegistry.internalStop(AbstractComponentRegistry.java:674) [classes/:?]
      	at org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:552) [classes/:?]
      	at org.infinispan.factories.ComponentRegistry.stop(ComponentRegistry.java:243) [classes/:?]
      	at org.infinispan.cache.impl.CacheImpl.stop(CacheImpl.java:869) [classes/:?]
      	at org.infinispan.cache.impl.CacheImpl.stop(CacheImpl.java:864) [classes/:?]
      	at org.infinispan.test.TestingUtil.killCaches(TestingUtil.java:796) [test-classes/:?]
      	at org.infinispan.test.TestingUtil.killCacheManagers(TestingUtil.java:633) [test-classes/:?]
      	at org.infinispan.test.TestingUtil.killCacheManagers(TestingUtil.java:626) [test-classes/:?]
      	at org.infinispan.persistence.CacheLoaderFunctionalTest.tearDown(CacheLoaderFunctionalTest.java:107) [test-classes/:?]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_40]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_40]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_40]
      	at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_40]
      	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) [testng-6.8.8.jar:?]
      	at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564) [testng-6.8.8.jar:?]
      	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213) [testng-6.8.8.jar:?]
      	at org.testng.internal.Invoker.invokeMethod(Invoker.java:786) [testng-6.8.8.jar:?]
      	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901) [testng-6.8.8.jar:?]
      	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231) [testng-6.8.8.jar:?]
      	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127) [testng-6.8.8.jar:?]
      	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) [testng-6.8.8.jar:?]
      	at org.testng.TestRunner.privateRun(TestRunner.java:767) [testng-6.8.8.jar:?]
      	at org.testng.TestRunner.run(TestRunner.java:617) [testng-6.8.8.jar:?]
      	at org.testng.SuiteRunner.runTest(SuiteRunner.java:348) [testng-6.8.8.jar:?]
      	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343) [testng-6.8.8.jar:?]
      	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305) [testng-6.8.8.jar:?]
      	at org.testng.SuiteRunner.run(SuiteRunner.java:254) [testng-6.8.8.jar:?]
      	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) [testng-6.8.8.jar:?]
      	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) [testng-6.8.8.jar:?]
      	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) [testng-6.8.8.jar:?]
      	at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) [testng-6.8.8.jar:?]
      	at org.testng.TestNG.run(TestNG.java:1057) [testng-6.8.8.jar:?]
      	at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111) [testng-6.8.8.jar:?]
      	at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204) [testng-6.8.8.jar:?]
      	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175) [testng-6.8.8.jar:?]
      	at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:125) [testng-plugin.jar:?]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_40]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_40]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_40]
      	at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_40]
      	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140) [idea_rt.jar:?]
      Caused by: java.lang.NullPointerException
      	at org.infinispan.transaction.impl.TransactionTable.shutDownGracefully(TransactionTable.java:610) ~[classes/:?]
      	at org.infinispan.transaction.impl.TransactionTable.stop(TransactionTable.java:216) ~[classes/:?]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_40]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_40]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_40]
      	at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_40]
      	at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168) ~[classes/:?]
      

      This is caused by ISPN-5783, same as with ISPN-5839

      Attachments

        Issue Links

          Activity

            People

              rh-ee-galder Galder ZamarreƱo
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: