-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: java.lang.VerifyError
PostPosted: Fri Jan 13, 2006 3:34 pm 
Newbie

Joined: Fri Jan 13, 2006 3:09 pm
Posts: 1
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version: 3.0.5

Mapping documents:

Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs:
[Servlet Error]-[action]: Failed to load servlet: java.lang.VerifyError: (class: org/objectweb/asm/ByteVector, method: enlarge signature: (I)V) Accessing value from uninitialized localvariable 6
at org.objectweb.asm.ClassWriter.<init>(Unknown Source)
at org.objectweb.asm.ClassWriter.<init>(Unknown Source)
at net.sf.cglib.core.DebuggingClassWriter.<init>(DebuggingClassWriter.java:47)
at net.sf.cglib.core.DefaultGeneratorStrategy.getClassWriter(DefaultGeneratorStrategy.java:30)
at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:24)
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:215)
at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
at org.hibernate.impl.SessionFactoryImpl.<clinit>(SessionFactoryImpl.java:321)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1005)
at com.anfcorp.util.SessionFactorySingleton.setup(SessionFactorySingleton.java:29)
at com.anfcorp.util.HibernateInit.init(HibernateInit.java:43)
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:258)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)
at com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:198)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:981)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:251)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:625)
at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1341)
at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:319)
at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:417)
at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:225)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication1(WebContainer.java:1091)
at com.ibm.ws.webcontainer.WebContainer.run(WebContainer.java:992)
at java.lang.Thread.run(Thread.java(Compiled Code))

Name and version of the database you are using:DB2 v08.01

The generated SQL (show_sql=true):

Debug level Hibernate log excerpt:

WebServer: WebSphere 5.1 Build W510224
J2RE: 1.4.2
OS: Z/OS 1.06


The above exception has been driving me crazy for the past few days. It shows up our test server but fails to show up on either my dev box or the production server, of all places. When I deployed the app to the test server a few weeks ago, the exception did not show up. Since then IBM's ITCAM monitoring software has been installed on both the test and production server. My guess is that in the process of setting up the ITCAM software, some setting somewhere was changed. I have been pouring over the various server config files in hopes of finding a solution but have so far come up with nothing. I have checked the security files as I know that CGLIB expects certain security settings, but Java2 Security is turned off on both servers. I have googled every phrase and word combination I can think of relating to the exception and still have come up with nothing. I have browsed the ASM and CGLIB sites and mailing list archives for an answer and have come up with nothing so far. I am hoping somebody out there might at least be able to point me in the right direction.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 13, 2006 4:08 pm 
CGLIB Developer
CGLIB Developer

Joined: Thu Aug 28, 2003 1:44 pm
Posts: 1217
Location: Vilnius, Lithuania
Try to recompile ASM on your platform (this is not generated code, it is compiled by javac) or try to dissable verifier (see JVM parameters)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.