java.lang.reflect.InvocationTargetException

GitHub | vpablos | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Cannot initialize plugin 'org.hotswap.agent.plugin.hotswapper.HotswapperPlugin', appClassLoader is null.

    at org.hotswap.agent.config.PluginRegistry.initializePlugin()
  2. org.hotswap.agent
    HotswapperPlugin.init
    1. org.hotswap.agent.config.PluginRegistry.initializePlugin(PluginRegistry.java:137)
    2. org.hotswap.agent.util.PluginManagerInvoker.callInitializePlugin(PluginManagerInvoker.java:26)
    3. org.hotswap.agent.plugin.hotswapper.HotswapperPlugin.init(HotswapperPlugin.java:127)
    3 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.InitHandler.invokeInitMethod(InitHandler.java:86)
    2. org.hotswap.agent.annotation.handler.InitHandler.access$100(InitHandler.java:28)
    3. org.hotswap.agent.annotation.handler.InitHandler$1.onInit(InitHandler.java:110)
    4. org.hotswap.agent.config.PluginManager.initClassLoader(PluginManager.java:175)
    5. org.hotswap.agent.util.HotswapTransformer.ensureClassLoaderInitialized(HotswapTransformer.java:170)
    6. org.hotswap.agent.util.HotswapTransformer.transform(HotswapTransformer.java:129)
    6 frames
  5. Java RT
    InstrumentationImpl.transform
    1. sun.instrument.TransformerManager.transform(TransformerManager.java:188)
    2. sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:424)
    2 frames