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

Fix EmbeddedAllTest.testAllEmbeddedJpaStore

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 9.0.0.CR1
    • None
    • None

    Description

      After latest changes in ISPN-7426, EmbeddedAllTest.testAllEmbeddedJpaStore is failing:

      org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.persistence.manager.PersistenceManagerImpl.start() on object of type PersistenceManagerImpl
          at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
          at java.lang.Class.getDeclaredMethods0(Native Method)
          at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
          at java.lang.Class.privateGetPublicMethods(Class.java:2902)
          at java.lang.Class.getMethods(Class.java:1615)
          at org.infinispan.commons.util.Util.getFactoryMethod(Util.java:220)
          at org.infinispan.commons.util.Util.getInstanceStrict(Util.java:259)
          at org.infinispan.commons.util.Util.getInstance(Util.java:238)
          at org.infinispan.persistence.factory.LocalClassLoaderCacheStoreFactory.createInstance(LocalClassLoaderCacheStoreFactory.java:25)
          at org.infinispan.persistence.factory.CacheStoreFactoryRegistry.createInstance(CacheStoreFactoryRegistry.java:39)
          at org.infinispan.persistence.manager.PersistenceManagerImpl.createLoadersAndWriters(PersistenceManagerImpl.java:592)
          at org.infinispan.persistence.manager.PersistenceManagerImpl.start(PersistenceManagerImpl.java:148)
          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:497)
          at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168)
          at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:867)
          at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:633)
          at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:622)
          at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:547)
          at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:231)
          at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:803)
          at org.infinispan.cache.impl.AbstractDelegatingCache.start(AbstractDelegatingCache.java:411)
          at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:638)
          at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:586)
          at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:450)
          at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:429)
          at org.infinispan.all.embedded.EmbeddedAllTest.testAllEmbeddedJpaStore(EmbeddedAllTest.java:102)
      

      The actual root cause is:

      java.lang.NoClassDefFoundError: org/hibernate/criterion/Projection
      

      Attachments

        Issue Links

          Activity

            People

              sgrinove Sanne Grinovero
              gzamarre Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: