java.lang.reflect.InvocationTargetException

Google Groups | Martin Farrell | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

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:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    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
    Class.forName
    1. sun.instrument.TransformerManager.transform(TransformerManager.java:188)
    2. sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:424)
    3. java.lang.ClassLoader.defineClass1(Native Method)
    4. java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    5. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    6. java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    7. java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    8. java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    9. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    10. java.security.AccessController.doPrivileged(Native Method)
    11. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    12. java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    13. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    14. java.lang.Class.forName0(Native Method)
    15. java.lang.Class.forName(Class.java:191)
    15 frames
  6. Glassfish Core
    ContainerBase$StartChild.call
    1. org.apache.catalina.loader.WebappLoader.createClassLoader(WebappLoader.java:721)
    2. org.apache.catalina.loader.WebappLoader.startInternal(WebappLoader.java:582)
    3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    4. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5449)
    5. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    6. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1572)
    7. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1562)
    7 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames