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 Hibernate JIRA by Krzysztof Dabrowski, 1 year ago
java.lang.reflect.InvocationTargetException-->null
via Hibernate JIRA by Krzysztof Dabrowski, 1 year ago
java.lang.reflect.InvocationTargetException-->null
via Hibernate JIRA by Moshe Ben Shoham, 1 year ago
java.lang.reflect.InvocationTargetException-->null
via Hibernate JIRA by Moshe Ben Shoham, 1 year ago
java.lang.reflect.InvocationTargetException-->null
via Oracle Community by Rajeev Shankar, 1 year ago
java.lang.reflect.InvocationTargetException-->null
via GitHub by glassfishrobot
, 6 months ago
java.lang.reflect.InvocationTargetException-->null
java.lang.ClassFormatError: Illegal Field name "CGLIB$load_class$ARRAY0$_Ljava_lang_String;"
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.lang.ClassLoader.defineClass(ClassLoader.java:382)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:373)
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:181)
at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:330)
at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:246)
at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:406)
at org.logicalcobwebs.proxool.ProxyFactory.buildProxyConnection(ProxyFactory.java:44)
at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:150)
at org.logicalcobwebs.proxool.PrototyperController.buildConnection(PrototyperController.java:88)
at org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:222)
at org.logicalcobwebs.proxool.ProxoolDriver.connect(ProxoolDriver.java:89)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:193)
at net.sf.hibernate.connection.ProxoolConnectionProvider.getConnection(ProxoolConnectionProvider.java:46)
at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:71)
at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1078)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724)
at pl.elysium.hibernate.struts.util.HibernatePlugIn.initHibernate(HibernatePlugIn.java:113)
at pl.elysium.hibernate.struts.util.HibernatePlugIn.init(HibernatePlugIn.java:90)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)
at javax.servlet.GenericServlet.init(GenericServlet.java:82)
at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:511)
at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:153)
at com.caucho.server.webapp.Application.start(Application.java:1318)
at com.caucho.server.webapp.WebAppEntry.createApplicationInt(WebAppEntry.java:656)
at com.caucho.server.webapp.WebAppEntry.createApplication(WebAppEntry.java:460)
at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:541)
at com.caucho.server.host.Host.start(Host.java:433)
at com.caucho.server.host.HostEntry.createHostInt(HostEntry.java:520)
at com.caucho.server.host.HostEntry.createHost(HostEntry.java:298)
at com.caucho.server.host.HostContainer.start(HostContainer.java:504)
at com.caucho.server.resin.ServletServer.start(ServletServer.java:727)
at com.caucho.server.resin.ResinServer.start(ResinServer.java:363)
at com.caucho.server.resin.Resin.init(Resin.java:284)
at com.caucho.server.resin.Resin.main(Resin.java:490)

Users with the same issue

You are the first who have seen this exception.

Write tip

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