net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by martin-g
, 1 year ago
java.lang.reflect.InvocationTargetException-->null
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)
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)
at net.sf.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:85)
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.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.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.apache.wicket.examples.StartExamples.main(StartExamples.java:110)

Users with the same issue

2 times, 2 months ago
44 times, 4 months ago
4 times, 7 months ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 3 days ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.