net.sf.ehcache.CacheException: Unable to load class net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory. Initial cause was null

Terracotta | swtet200 | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Ehcache with Felix

    Terracotta | 4 years ago | swtet200
    net.sf.ehcache.CacheException: Unable to load class net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory. Initial cause was null
  2. 0

    Ehcache + terracotta + osgi

    terracotta.org | 10 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dsoBean' defined in URL [bundle://31.0:0/META-INF/spring/osgi-dso.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Unable to load class net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory. Initial cause was null
  3. 0

    Ehcache + terracotta + osgi

    Terracotta | 6 years ago | acs
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dsoBean' defined in URL [bundle://31.0:0/META-INF/spring/osgi-dso.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Unable to load class net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory. Initial cause was null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      FakeURLStreamHandler can not be used!

      at org.apache.felix.framework.FakeURLStreamHandler.openConnection()
    2. Apache Felix Framework
      FakeURLStreamHandler.openConnection
      1. org.apache.felix.framework.FakeURLStreamHandler.openConnection(FakeURLStreamHandler.java:39)
      1 frame
    3. Java RT
      URL.openStream
      1. java.net.URL.openConnection(URL.java:969)
      2. java.net.URL.openStream(URL.java:1035)
      2 frames
    4. com.terracotta.express
      ClientFactoryImpl.<init>
      1. com.terracotta.express.ClientFactoryImpl.handleJarUrl(ClientFactoryImpl.java:100)
      2. com.terracotta.express.ClientFactoryImpl.<init>(ClientFactoryImpl.java:82)
      2 frames
    5. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:525)
      5. java.lang.Class.newInstance0(Class.java:372)
      6. java.lang.Class.newInstance(Class.java:325)
      6 frames
    6. org.terracotta.express
      ClientFactory.<clinit>
      1. org.terracotta.express.Util.getImplInstance(Util.java:11)
      2. org.terracotta.express.ClientFactory.<clinit>(ClientFactory.java:14)
      2 frames
    7. Ehcache
      StandaloneTerracottaClusteredInstanceFactory.<init>
      1. net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory.<init>(StandaloneTerracottaClusteredInstanceFactory.java:37)
      1 frame
    8. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:525)
      4 frames
    9. Ehcache
      CacheManager.<init>
      1. net.sf.ehcache.util.ClassLoaderUtil.createNewInstance(ClassLoaderUtil.java:92)
      2. net.sf.ehcache.terracotta.TerracottaClusteredInstanceHelper.newClusteredInstanceFactory(TerracottaClusteredInstanceHelper.java:176)
      3. net.sf.ehcache.terracotta.TerracottaClient.createNewClusteredInstanceFactory(TerracottaClient.java:186)
      4. net.sf.ehcache.terracotta.TerracottaClient.createClusteredInstanceFactory(TerracottaClient.java:138)
      5. net.sf.ehcache.CacheManager.doInit(CacheManager.java:432)
      6. net.sf.ehcache.CacheManager.init(CacheManager.java:377)
      7. net.sf.ehcache.CacheManager.<init>(CacheManager.java:356)
      7 frames
    10. com.stoneware.domaincache
      SWDomainCacheImpl.activated
      1. com.stoneware.domaincache.impl.SWDomainCacheImpl.activated(SWDomainCacheImpl.java:44)
      1 frame
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:601)
      4 frames
    12. Apache Felix Declarative Services
      Activator.bundleChanged
      1. org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:227)
      2. org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:38)
      3. org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:591)
      4. org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:472)
      5. org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:146)
      6. org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:226)
      7. org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:118)
      8. org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(AbstractComponentManager.java:997)
      9. org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:333)
      10. org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:157)
      11. org.apache.felix.scr.impl.config.ConfiguredComponentHolder.enableComponents(ConfiguredComponentHolder.java:256)
      12. org.apache.felix.scr.impl.BundleComponentActivator.loadDescriptor(BundleComponentActivator.java:253)
      13. org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:147)
      14. org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:111)
      15. org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:285)
      16. org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:203)
      16 frames
    13. Apache Felix Framework
      BundleImpl.update
      1. org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:868)
      2. org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)
      3. org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514)
      4. org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4244)
      5. org.apache.felix.framework.Felix.startBundle(Felix.java:1923)
      6. org.apache.felix.framework.Felix.updateBundle(Felix.java:2235)
      7. org.apache.felix.framework.BundleImpl.update(BundleImpl.java:962)
      8. org.apache.felix.framework.BundleImpl.update(BundleImpl.java:949)
      8 frames
    14. Apache Felix Gogo Command
      Basic.update
      1. org.apache.felix.gogo.command.Basic.update(Basic.java:849)
      1 frame
    15. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:601)
      4 frames
    16. Apache Felix Gogo Runtime
      CommandSessionImpl.execute
      1. org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
      2. org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
      3. org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
      4. org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
      5. org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
      6. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
      7. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
      8. org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
      8 frames
    17. Felix Gogo
      Shell.gosh
      1. org.apache.felix.gogo.shell.Console.run(Console.java:62)
      2. org.apache.felix.gogo.shell.Shell.console(Shell.java:203)
      3. org.apache.felix.gogo.shell.Shell.gosh(Shell.java:128)
      3 frames
    18. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:601)
      4 frames
    19. Apache Felix Gogo Runtime
      CommandSessionImpl.execute
      1. org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
      2. org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
      3. org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
      4. org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
      5. org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
      6. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
      7. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
      8. org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
      8 frames
    20. Felix Gogo
      Activator.run
      1. org.apache.felix.gogo.shell.Activator.run(Activator.java:75)
      1 frame
    21. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame