net.sf.cglib.core.CodeGenerationException

java.lang.reflect.InvocationTargetException-->null

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web211

  • via Unknown by Krzysztof Dabrowski,
  • via Unknown by Krzysztof Dabrowski,
  • via Unknown by Benoit Menendez,
  • Stack trace

    • net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:192) 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 org.apache.struts.action.ActionServlet.init(ActionServlet.java:473) 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) Caused by: java.lang.reflect.InvocationTargetException 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) ... 33 more Caused by: 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) ... 39 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 visitor
    Unknown visitorOnce,