Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.2.1.GA
    • Fix Version/s: 3.2.2.GA
    • Component/s: None
    • Labels:
      None

      Description

      For some reason SingletonStoreCacheLoaderTest had been configured with PL caches:

      cache1.getConfiguration().setNodeLockingScheme(NodeLockingScheme.PESSIMISTIC);
      cache2.getConfiguration().setNodeLockingScheme(NodeLockingScheme.PESSIMISTIC);
      cache3.getConfiguration().setNodeLockingScheme(NodeLockingScheme.PESSIMISTIC);

      Removing these makes caches use MVCC which in turn makes testPutCacheLoaderWithPush throw:

      java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException: Not supported in UnversionedNode
      at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
      at java.util.concurrent.FutureTask.get(FutureTask.java:111)
      at org.jboss.cache.loader.SingletonStoreCacheLoaderTest.waitForPushStateCompletion(SingletonStoreCacheLoaderTest.java:273)
      at org.jboss.cache.loader.SingletonStoreCacheLoaderTest.testPutCacheLoaderWithPush(SingletonStoreCacheLoaderTest.java:160)
      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.invokeMethod(Invoker.java:546)
      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.runSequentially(SuiteRunner.java:327)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
      at org.testng.SuiteRunner.run(SuiteRunner.java:204)
      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:73)
      at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:124)
      Caused by: java.lang.UnsupportedOperationException: Not supported in UnversionedNode
      at org.jboss.cache.AbstractNode.getChildrenDirect(AbstractNode.java:270)
      at org.jboss.cache.invocation.NodeInvocationDelegate.getChildrenDirect(NodeInvocationDelegate.java:164)
      at org.jboss.cache.loader.SingletonStoreCacheLoader.pushState(SingletonStoreCacheLoader.java:256)
      at org.jboss.cache.loader.SingletonStoreCacheLoader$2.call(SingletonStoreCacheLoader.java:227)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:636)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                galder.zamarreno Galder ZamarreƱo
                Reporter:
                mircea.markus Mircea Markus
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: