java.lang.reflect.InvocationTargetException

Terracotta | pgovindraj | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.lang.LinkageError

    Terracotta | 7 years ago | pgovindraj
    java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. java.lang.LinkageError

      loader constraint violation: when resolving method "org.terracotta.modules.hibernatecache.activation.BaseHibernateConfigurator.<init>(Lorg/terracotta/modules/hibernate/concurrency/instrumentation/HibernateVersion;)V" the class loader (instance of org/knopflerfish/framework/BundleClassLoader) of the current class, org/terracotta/modules/hibernatecache/v33/HibernateCacheV33TerracottaConfigurator, and the class loader (instance of org/knopflerfish/framework/BundleClassLoader) for resolved class, org/terracotta/modules/hibernatecache/activation/BaseHibernateConfigurator, have different Class objects for the type org/terracotta/modules/hibernate/concurrency/instrumentation/HibernateVersion used in the signature

      at org.terracotta.modules.hibernatecache.v33.HibernateCacheV33TerracottaConfigurator.<init>()
    2. org.terracotta.modules
      HibernateCacheV33TerracottaConfigurator.<init>
      1. org.terracotta.modules.hibernatecache.v33.HibernateCacheV33TerracottaConfigurator.<init>(HibernateCacheV33TerracottaConfigurator.java:21)
      1 frame
    3. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      5. java.lang.Class.newInstance0(Class.java:355)
      6. java.lang.Class.newInstance(Class.java:308)
      6 frames
    4. org.knopflerfish.framework
      Framework.startBundle
      1. org.knopflerfish.framework.BundleImpl.start0(BundleImpl.java:371)
      2. org.knopflerfish.framework.PermissionOps.callStart0(PermissionOps.java:198)
      3. org.knopflerfish.framework.BundleImpl.start(BundleImpl.java:320)
      4. org.knopflerfish.framework.Framework.startBundle(Framework.java:501)
      4 frames
    5. com.tc.bundles
      KnopflerfishOSGi.startBundles
      1. com.tc.bundles.KnopflerfishOSGi.startBundle(KnopflerfishOSGi.java:92)
      2. com.tc.bundles.KnopflerfishOSGi.startBundles(KnopflerfishOSGi.java:73)
      2 frames
    6. com.tc.plugins
      ModulesLoader.initModules
      1. com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:210)
      2. com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:127)
      2 frames
    7. org.terracotta.agent
      Agent$Boot.<init>
      1. org.terracotta.agent.Agent$Boot.<init>(Agent.java:352)
      1 frame
    8. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      4 frames
    9. org.terracotta.agent
      Agent.premain
      1. org.terracotta.agent.Agent.premain(Agent.java:151)
      1 frame
    10. Java RT
      InstrumentationImpl.loadClassAndCallPremain
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      5. sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:323)
      6. sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:338)
      6 frames