1 Reply Latest reply on Aug 20, 2003 11:29 AM by Eric Devlin

    java.lang.VerifyError

    ewertonluis Newbie

      Hi! I'm using jboss-3.2.2RC1_tomcat-4.1.24 and Hibernate2...
      When I try to run my web application I get the following error...
      java.lang.VerifyError: (class: net/sf/cglib/BCELBackend, method: invoke_special signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)V) Incompatible argument to function
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:120)
      at net.sf.cglib.CodeGenerator.class$(CodeGenerator.java:63)
      at net.sf.cglib.CodeGenerator.(CodeGenerator.java:105)
      at net.sf.cglib.KeyFactoryGenerator.(KeyFactoryGenerator.java:93)
      at net.sf.cglib.KeyFactory.create(KeyFactory.java:114)
      at net.sf.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:318)
      at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:613)
      at com.dcx.sein.prismareports.ReportDAO.(Unknown Source)
      at com.dcx.sein.prismareports.ReportDAO.getInstance(Unknown Source)
      at com.dcx.sein.prismareports.handler.PrismaReportsHandler.fillComboBox(Unknown Source)
      at com.dcx.sein.prismareports.handler.PrismaReportsHandler.onLoad(Unknown Source)
      at com.dcx.sein.xbtk.RequestProcessor.xmlBufferActionInit(RequestProcessor.java:625)
      at com.dcx.sein.xbtk.RequestProcessor.service(RequestProcessor.java:231)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.jboss.web.catalina.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:229)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
      at java.lang.Thread.run(Thread.java:484)

      Could you help me?
      Thanks!
      Ewerton

        • 1. Re: java.lang.VerifyError
          Eric Devlin Newbie

          Hey,
          I had a similar experience, but it was with Caucho's xsl parser, code generator. The xsl parsed fine and the code was generated and compiled correctly, but one code segment was larger than 32k. The jvm would not load it. I had to break the xsl into smaller chunks then all was well.
          Hope it helps,
          Eric