-->
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: cglib stackoverflow possible BUG (IMPORTANT)
PostPosted: Tue Oct 05, 2004 10:04 am 
Newbie

Joined: Sat Jan 31, 2004 3:56 pm
Posts: 8
Hibernate version:2.1

Mapping documents:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 2.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">
<hibernate-mapping>
<class name="be.vlaanderen.studietoelagen.persistence.pojo.AanvraagDossierStatus" lazy="true" table="T_STL_AVRGDOS_STAT">
<meta attribute="class-description">
Actuele status van het aanvraagdossier.
@author Cipal NV
</meta>
<meta attribute="extends">be.cipal.jade.jadeejbcommon.hibernate.AuditPojo</meta>

<id name="objectId" column="objectid" type="java.lang.Long">
<meta attribute="gen-property">false</meta>
<generator class="identity"/>
</id>

<discriminator column="status" length="50" not-null="true" type="java.lang.String"/>

<property name="code" length="50" not-null="true" type="java.lang.String"/>
<property name="definitie" not-null="true" type="java.lang.String" length="50"/>
<property name="omschrijving" not-null="false" type="java.lang.String" length="250"/>
<property name="finaleStatus" not-null="true" type="java.lang.Boolean"/>

<property name="version" column= "version" type="java.lang.Integer" not-null="true">
<meta attribute="gen-property">false</meta>
</property>
<property name="createIuid" column= "create_iuid" type="java.lang.Integer" not-null="true">
<meta attribute="gen-property">false</meta>
</property>
<property name="updateIuid" column= "update_iuid" type="java.lang.Integer" not-null="true">
<meta attribute="gen-property">false</meta>
</property>
<property name="datumCreatie" column= "datum_creatie" type="time" not-null="true">
<meta attribute="gen-property">false</meta>
</property>
<property name="datumUpdate" column= "datum_update" type="time" not-null="true">
<meta attribute="gen-property">false</meta>
</property>

<subclass
name="be.vlaanderen.studietoelagen.persistence.pojo.StatusOpen" lazy="true" discriminator-value="OPEN">
</subclass>
<subclass
name="be.vlaanderen.studietoelagen.persistence.pojo.StatusHerzieningBeraad" lazy="true" discriminator-value="HERZIENING_BERAAD">
</subclass>
<subclass
name="be.vlaanderen.studietoelagen.persistence.pojo.StatusInBeraad" lazy="true" discriminator-value="IN_BERAAD">
</subclass>
<subclass
name="be.vlaanderen.studietoelagen.persistence.pojo.StatusInBehandeling" lazy="true" discriminator-value="IN_BEHANDELING">
</subclass>
<subclass
name="be.vlaanderen.studietoelagen.persistence.pojo.StatusInWacht" lazy="true" discriminator-value="IN_WACHT">
</subclass>
<subclass
name="be.vlaanderen.studietoelagen.persistence.pojo.StatusVrijgegeven" lazy="true" discriminator-value="VRIJGEGEVEN">
</subclass>
<subclass
name="be.vlaanderen.studietoelagen.persistence.pojo.StatusAfgehandeld" lazy="true" discriminator-value="AFGEHANDELD">
</subclass>
<subclass
name="be.vlaanderen.studietoelagen.persistence.pojo.StatusOnbehandeld" lazy="true" discriminator-value="ONBEHANDELD">
</subclass>
<subclass
name="be.vlaanderen.studietoelagen.persistence.pojo.StatusInHerziening" lazy="true" discriminator-value="IN_HERZIENING">
</subclass>
<subclass
name="be.vlaanderen.studietoelagen.persistence.pojo.StatusInVrijgave" lazy="true" discriminator-value="IN_VRIJGAVE">
</subclass>

</class>
</hibernate-mapping>


Full stack trace of any exception that occurs:
[05/Oct/2004:16:04:17] INFO ( 3360): instantiating and configuring caches
[05/Oct/2004:16:04:17] INFO ( 3360): building session factory
[05/Oct/2004:16:04:26] SEVERE ( 3360): CGLIB Enhancement failed
net.sf.cglib.core.CodeGenerationException: java.lang.StackOverflowError-->null
at net.sf.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:249)
at net.sf.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:235)
at net.sf.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:231)
at net.sf.cglib.proxy.Enhancer.createUsingReflection(Enhancer.java:375)
at net.sf.cglib.proxy.Enhancer.firstInstance(Enhancer.java:351)
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 net.sf.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:74)
at net.sf.hibernate.persister.AbstractEntityPersister.<init>(AbstractEntityPersister.java:801)
at net.sf.hibernate.persister.EntityPersister.<init>(EntityPersister.java:741)
at net.sf.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:41)
at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:136)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:726)
at org.springframework.orm.hibernate.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:221)
at org.springframework.orm.hibernate.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:189)
at org.springframework.beans.factory.support.AbstractBeanFactory.callLifecycleMethodsIfNecessary(AbstractBeanFactory.java:480)
at org.springframework.beans.factory.support.AbstractBeanFactory.createBean(AbstractBeanFactory.java:304)
at org.springframework.beans.factory.support.AbstractBeanFactory.getSharedInstance(AbstractBeanFactory.java:232)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBeanInternal(AbstractBeanFactory.java:161)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveReference(AbstractBeanFactory.java:407)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveValueIfNecessary(AbstractBeanFactory.java:363)
at org.springframework.beans.factory.support.AbstractBeanFactory.applyPropertyValues(AbstractBeanFactory.java:327)
at org.springframework.beans.factory.support.AbstractBeanFactory.createBean(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.AbstractBeanFactory.getSharedInstance(AbstractBeanFactory.java:232)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBeanInternal(AbstractBeanFactory.java:161)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveReference(AbstractBeanFactory.java:407)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveValueIfNecessary(AbstractBeanFactory.java:363)
at org.springframework.beans.factory.support.AbstractBeanFactory.applyPropertyValues(AbstractBeanFactory.java:327)
at org.springframework.beans.factory.support.AbstractBeanFactory.createBean(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.AbstractBeanFactory.getSharedInstance(AbstractBeanFactory.java:232)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBeanInternal(AbstractBeanFactory.java:161)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:139)
at org.springframework.context.support.AbstractApplicationC
[05/Oct/2004:16:04:26] SEVERE ( 3360): ontext.getBean(AbstractApplicationContext.java:478)
at org.springframework.context.support.AbstractApplicationContext.preInstantiateSingletons(AbstractApplicationContext.java:308)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:234)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:60)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:29)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:28)
at be.cipal.jade.jadeejbcommon.spring.SpringConfigurator.getApplicationContext(SpringConfigurator.java:43)
at be.cipal.jade.jadeejbcommon.spring.SpringConfigurator.getService(SpringConfigurator.java:105)
at be.cipal.sessionmanagerejb.valueslistorganizer.ValuesListOrganizerBean.getValueListItems(ValuesListOrganizerBean.java:172)
at be.cipal.sessionmanagerejb.valueslistorganizer.ValuesListOrganizerBean.getValuesLists(ValuesListOrganizerBean.java:87)
at be.cipal.sessionmanagerejb.valueslistorganizer.ValuesListOrganizerBean_EJBObjectImpl.getValuesLists(ValuesListOrganizerBean_EJBObjectImpl.java:56)
at be.cipal.sessionmanagerejb.valueslistorganizer._ValuesListOrganizerBean_EJBObjectImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:569)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:211)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:113)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:275)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:83)
at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(ServicableWrapper.java:25)
at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(FastThreadPool.java:283)
at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.StackOverflowError

[05/Oct/2004:16:04:26] SEVERE ( 3360): WebModule[/stl]: Servlet /stl threw load() exception
javax.servlet.ServletException: could not initialize ApplicationInitBean for application 'STL' and module 'INTAKE'
at be.cipal.jade.jadewebcommon.config.ApplicationInitPlugin.init(ApplicationInitPlugin.java:104)
at be.vlaanderen.studietoelagen.web.config.StlApplicationInitPlugin.init(StlApplicationInitPlugin.java:30)
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 org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3355)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3601)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:345)
at org.apache.catalina.startup.Embedded.start(Embedded.java:957)
at com.iplanet.ias.web.WebContainer.start(WebContainer.java:426)
at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:514)
at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:170)
----- Root Cause -----
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: nested exception is: org.springframework.beans.FatalBeanException: Can't resolve reference to bean [myTransactionManager] while setting properties on bean [transactionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: Can't resolve reference to bean [mySessionFactory] while setting properties on bean [sessionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: afterPropertiesSet() on bean with name 'mySessionFactory' threw an exception; nested exception is:
net.sf.hibernate.HibernateException: CGLIB Enhancement failed; nested exception is:
org.springframework.beans.FatalBeanException: Can't resolve reference to bean [myTransactionManager] while setting properties on bean [transactionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: Can't resolve reference to bean [mySessionFactory] while setting properties on bean [sessionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: afterPropertiesSet() on bean with name 'mySessionFactory' threw an exception; nested exception is:
net.sf.hibernate.HibernateException: CGLIB Enhancement failed; nested exception is:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: nested exception is: org.springframework.beans.FatalBeanException: Can't resolve reference to bean [myTransactionManager] while setting properties on bean [transactionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: Can't resolve reference to bean [mySessionFactory] while setting properties on bean [sessionFactory]; nested exception is:
org.springframework.beans.FatalBea
[05/Oct/2004:16:04:26] SEVERE ( 3360): nException: afterPropertiesSet() on bean with name 'mySessionFactory' threw an exception; nested exception is:
net.sf.hibernate.HibernateException: CGLIB Enhancement failed; nested exception is:
org.springframework.beans.FatalBeanException: Can't resolve reference to bean [myTransactionManager] while setting properties on bean [transactionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: Can't resolve reference to bean [mySessionFactory] while setting properties on bean [sessionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: afterPropertiesSet() on bean with name 'mySessionFactory' threw an exception; nested exception is:
net.sf.hibernate.HibernateException: CGLIB Enhancement failed
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:68)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
at be.cipal.sessionmanagerejb.applicationsetup._ApplicationSetup_Stub.getApplicationInitSettings(Unknown Source)
at be.cipal.jade.jadewebcommon.config.ApplicationInitPlugin.init(ApplicationInitPlugin.java:86)
at be.vlaanderen.studietoelagen.web.config.StlApplicationInitPlugin.init(StlApplicationInitPlugin.java:30)
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 org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3355)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3601)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:345)
at org.apache.catalina.startup.Embedded.start(Embedded.java:957)
at com.iplanet.ias.web.WebContainer.start(WebContainer.java:426)
at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:514)
at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:170)
Caused by: java.rmi.RemoteException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: nested exception is: org.springframework.beans.FatalBeanException: Can't resolve reference to bean [myTransactionManager] while setting properties on bean [transactionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: Can't resolve reference to bean [mySessionFactory] while setting properties on bean [sessionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: afterPropertiesSet() on bean with name 'mySessionFactory' threw an exception; nested exception is:
net.sf.hibernate.HibernateException: CGLIB Enhancement failed; nested exception is:
org.springframework.beans.FatalBeanException: Can't resolve reference to bean [myTransactionManager] while setting properties on bean [transactionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: Can't resolve reference to bean [mySessionFactory] while setting properties on bean [sessionFactory]; nested exception
[05/Oct/2004:16:04:26] SEVERE ( 3360): is:
org.springframework.beans.FatalBeanException: afterPropertiesSet() on bean with name 'mySessionFactory' threw an exception; nested exception is:
net.sf.hibernate.HibernateException: CGLIB Enhancement failed; nested exception is:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: nested exception is: org.springframework.beans.FatalBeanException: Can't resolve reference to bean [myTransactionManager] while setting properties on bean [transactionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: Can't resolve reference to bean [mySessionFactory] while setting properties on bean [sessionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: afterPropertiesSet() on bean with name 'mySessionFactory' threw an exception; nested exception is:
net.sf.hibernate.HibernateException: CGLIB Enhancement failed; nested exception is:
org.springframework.beans.FatalBeanException: Can't resolve reference to bean [myTransactionManager] while setting properties on bean [transactionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: Can't resolve reference to bean [mySessionFactory] while setting properties on bean [sessionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: afterPropertiesSet() on bean with name 'mySessionFactory' threw an exception; nested exception is:
net.sf.hibernate.HibernateException: CGLIB Enhancement failed
at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:494)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:564)
at be.cipal.sessionmanagerejb.applicationsetup.ApplicationSetupBean_EJBObjectImpl.getApplicationInitSettings(ApplicationSetupBean_EJBObjectImpl.java:28)
at be.cipal.sessionmanagerejb.applicationsetup._ApplicationSetupBean_EJBObjectImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:569)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:211)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:113)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:275)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:83)
at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(ServicableWrapper.java:25)
at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(FastThreadPool.java:283)
at java.lang.Thread.run(Thread.java:536)
Caused by: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: nested exception is: org.springframework.beans.FatalBeanException: Can't resolve reference to bean [myTransactionManager] while setting properties on bean [transactionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: Can't resolve reference to bean [mySessionFactory] while setting properties on bean [sessionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: afterPropertiesSet() on bean with name 'mySessionFactory' threw an exception; nested exception is:
net.sf.hibernate.HibernateException: CGLIB Enhancement failed; nested exception is:
org.springframework.beans.FatalBeanException: Can't resolve reference to bean [myTransactionManager] while setting properties on bean [tra
[05/Oct/2004:16:04:26] SEVERE ( 3360): nsactionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: Can't resolve reference to bean [mySessionFactory] while setting properties on bean [sessionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: afterPropertiesSet() on bean with name 'mySessionFactory' threw an exception; nested exception is:
net.sf.hibernate.HibernateException: CGLIB Enhancement failed
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:68)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
at be.cipal.sessionmanagerejb.valueslistorganizer._ValuesListOrganizer_Stub.getValuesLists(Unknown Source)
at be.cipal.sessionmanagerejb.applicationsetup.ApplicationSetupBean.getApplicationInitSettings(ApplicationSetupBean.java:62)
at be.cipal.sessionmanagerejb.applicationsetup.ApplicationSetupBean_EJBObjectImpl.getApplicationInitSettings(ApplicationSetupBean_EJBObjectImpl.java:24)
... 9 more
Caused by: java.rmi.RemoteException: nested exception is: org.springframework.beans.FatalBeanException: Can't resolve reference to bean [myTransactionManager] while setting properties on bean [transactionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: Can't resolve reference to bean [mySessionFactory] while setting properties on bean [sessionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: afterPropertiesSet() on bean with name 'mySessionFactory' threw an exception; nested exception is:
net.sf.hibernate.HibernateException: CGLIB Enhancement failed; nested exception is:
org.springframework.beans.FatalBeanException: Can't resolve reference to bean [myTransactionManager] while setting properties on bean [transactionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: Can't resolve reference to bean [mySessionFactory] while setting properties on bean [sessionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: afterPropertiesSet() on bean with name 'mySessionFactory' threw an exception; nested exception is:
net.sf.hibernate.HibernateException: CGLIB Enhancement failed
at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:494)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:564)
at be.cipal.sessionmanagerejb.valueslistorganizer.ValuesListOrganizerBean_EJBObjectImpl.getValuesLists(ValuesListOrganizerBean_EJBObjectImpl.java:60)
at be.cipal.sessionmanagerejb.valueslistorganizer._ValuesListOrganizerBean_EJBObjectImpl_Tie._invoke(Unknown Source)
... 8 more
Caused by: org.springframework.beans.FatalBeanException: Can't resolve reference to bean [myTransactionManager] while setting properties on bean [transactionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: Can't resolve reference to bean [mySessionFactory] while setting properties on bean [sessionFactory]; nested exception is:
org.springframework.beans.FatalBeanException: afterPropertiesSet() on bean with name 'mySessionFactory' threw an exception; nested exception is:
net.sf.hibernate.HibernateException: CGLIB Enhancement failed
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveReference(AbstractBeanFactory.java:412)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveValueIfNecessary(AbstractBeanFactory.java:363)
at org.springframework.beans.factory.support.AbstractBeanF
[05/Oct/2004:16:04:26] SEVERE ( 3360): actory.applyPropertyValues(AbstractBeanFactory.java:327)
at org.springframework.beans.factory.support.AbstractBeanFactory.createBean(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.AbstractBeanFactory.getSharedInstance(AbstractBeanFactory.java:232)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBeanInternal(AbstractBeanFactory.java:161)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:139)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:478)
at org.springframework.context.support.AbstractApplicationContext.preInstantiateSingletons(AbstractApplicationContext.java:308)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:234)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:60)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:29)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:28)
at be.cipal.jade.jadeejbcommon.spring.SpringConfigurator.getApplicationContext(SpringConfigurator.java:43)
at be.cipal.jade.jadeejbcommon.spring.SpringConfigurator.getService(SpringConfigurator.java:105)
at be.cipal.sessionmanagerejb.valueslistorganizer.ValuesListOrganizerBean.getValueListItems(ValuesListOrganizerBean.java:172)
at be.cipal.sessionmanagerejb.valueslistorganizer.ValuesListOrganizerBean.getValuesLists(ValuesListOrganizerBean.java:87)
at be.cipal.sessionmanagerejb.valueslistorganizer.ValuesListOrganizerBean_EJBObjectImpl.getValuesLists(ValuesListOrganizerBean_EJBObjectImpl.java:56)



Name and version of the database you are using:informix 7

I got a stackoverflow->null when setting lazy on true for the parent class and all (>7) subclasses yet on parents with only 2 subclasses the proxieing works fine.


I found in the CGLIBLazyInitializer.java in the intercept method that you use invoke.

YET on the CGLIB site they say:
I found this information on the cglib HOWTO'S on stackoverflow:
http://cglib.sourceforge.net/howto.html.
it state thats you must use the inokeSuper to avoid stackoverflow.

_________________
Thank you in advance
Yvan


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 17, 2004 6:08 am 
CGLIB Developer
CGLIB Developer

Joined: Thu Aug 28, 2003 1:44 pm
Posts: 1217
Location: Vilnius, Lithuania
No it is not related to "invoke", it can be a problem in constructor or in cglib recursive tree traversal, try to test it without spring and hibernate try increase stack size, you have many stuff on stack. If problem is with recursion in cglib then I will drop it using stack on heap.


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.