Hi-
I'm using Hibernate 2.1.2 with CGLIB 2. As soon as I add a lazy="true" in one of my class definition (even if it is not used by another class), the JVM crashes. My environment is Tomcat 5.0.18 on Solaris Sparc 8. I have tried with 1.4.2_02 and 1.4.2_04 with the same result. I could get more details with 1.5.0 beta (but it still crashes):
Code:
Stack: [0xffffffff0d302000,0xffffffff0d401c50), sp=0xffffffff0d3f9190, free space=988k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
j net.sf.hibernate.proxy.HibernateProxy$$FastClassByCGLIB$$d0b243e2.getIndex(Lnet/sf/cglib/core/Signature;)I+8
j net.sf.cglib.proxy.MethodProxy.create(Ljava/lang/ClassLoader;Ljava/lang/Class
;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lnet/sf/cglib/proxy/MethodProxy;+42
....
Has anyone seen such an error before? And if so did you find a workaround? I can always reproduce. It happens when Hibernate loads the mapping in the SessionFactory.
Thanks