java.lang.reflect.InvocationTargetException

Google Groups | Unknown author | 2 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.

Root Cause Analysis

  1. org.hotswap.agent.javassist.NotFoundException

    getResource(..) is not found in org.apache.catalina.loader.WebappClassLoader

    at org.hotswap.agent.javassist.CtClassType.getDeclaredMethod()
  2. org.hotswap.agent
    WebappLoaderTransformer.patchWebappClassLoader
    1. org.hotswap.agent.javassist.CtClassType.getDeclaredMethod(CtClassType.java:1186)
    2. org.hotswap.agent.plugin.tomcat.WebappLoaderTransformer.patchWebappClassLoader(WebappLoaderTransformer.java:188)
    2 frames
  3. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  4. org.hotswap.agent
    HotswapTransformer.transform
    1. org.hotswap.agent.annotation.handler.OnClassLoadedHandler.transform(OnClassLoadedHandler.java:157)
    2. org.hotswap.agent.annotation.handler.OnClassLoadedHandler$1.transform(OnClassLoadedHandler.java:76)
    3. org.hotswap.agent.util.HotswapTransformer.transform(HotswapTransformer.java:129)
    3 frames
  5. Java RT
    ClassLoader.loadClass
    1. sun.instrument.TransformerManager.transform(TransformerManager.java:188)
    2. sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)
    3. java.lang.ClassLoader.defineClass1(Native Method)
    4. java.lang.ClassLoader.defineClass(ClassLoader.java:760)
    5. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    6. java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
    7. java.net.URLClassLoader.access$100(URLClassLoader.java:73)
    8. java.net.URLClassLoader$1.run(URLClassLoader.java:368)
    9. java.net.URLClassLoader$1.run(URLClassLoader.java:362)
    10. java.security.AccessController.doPrivileged(Native Method)
    11. java.net.URLClassLoader.findClass(URLClassLoader.java:361)
    12. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    13. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    13 frames
  6. Glassfish Core
    HostConfig$DeployDirectory.run
    1. org.apache.catalina.loader.WebappLoader.<init>(WebappLoader.java:116)
    2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4978)
    3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    4. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
    5. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
    6. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    7. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1096)
    8. org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1756)
    8 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames