net.sf.cglib.core.CodeGenerationException

java.lang.reflect.InvocationTargetException-->null

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web119

  • java.lang.reflect.InvocationTargetException-->null
  • via GitHub by leisim
    , 1 year ago
    java.lang.reflect.InvocationTargetException-->null
  • via Google Groups by Brice Dutheil, 2 weeks ago
    java.lang.reflect.InvocationTargetException-->null
  • Stack trace

    • net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null at net.sf.cglib.core.AbstractClassGenerator.generate(AbstractClassGenerator.java:332) at net.sf.cglib.proxy.Enhancer.generate(Enhancer.java:445) at net.sf.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:85) at net.sf.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:83) at net.sf.cglib.core.internal.LoadingCache$2.call(LoadingCache.java:54) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at net.sf.cglib.core.internal.LoadingCache.createEntry(LoadingCache.java:61) at net.sf.cglib.core.internal.LoadingCache.get(LoadingCache.java:34) at net.sf.cglib.core.AbstractClassGenerator$ClassLoaderData.get(AbstractClassGenerator.java:108) at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:282) at net.sf.cglib.proxy.Enhancer.nextInstance(Enhancer.java:643) at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:286) at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:433) at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:304) at org.apache.wicket.jmx.Initializer.createProxy(Initializer.java:295) at org.apache.wicket.jmx.Initializer.register(Initializer.java:249) at org.apache.wicket.jmx.Initializer.init(Initializer.java:192) at org.apache.wicket.Application.initInitializers(Application.java:568) at org.apache.wicket.Application.initApplication(Application.java:776) at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:431) at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:355) at org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:137) at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:856) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:346) at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1380) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:772) at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:259) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:518) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) at org.eclipse.jetty.server.Server.start(Server.java:405) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:106) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) at org.eclipse.jetty.server.Server.doStart(Server.java:372) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.apache.wicket.examples.StartExamples.main(StartExamples.java:110) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:409) at net.sf.cglib.core.AbstractClassGenerator.generate(AbstractClassGenerator.java:323) ... 36 more Caused by: java.lang.LinkageError: loader (instance of org/eclipse/jetty/webapp/WebAppClassLoader): attempted duplicate class definition for name: "org/apache/wicket/jmx/Application" at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ... 42 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 5 days ago
    4 times, 1 month ago
    Unknown user
    Once, 7 months ago
    39 more bugmates