Ah. You need to grab the latest cglib.jar. I will add it to CVS now.

----- Original Message -----
From: "Max Rydahl Andersen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 03, 2002 9:33 AM
Subject: [Hibernate] Glarch$$EnhancedByCGLIB$$3 (Repeative method
name/signature) and deadlock!


> Hi!
>
> While running FooBarTest on the latest code from cvs I get the following
> error (multiple times):
> java.lang.reflect.InvocationTargetException: java.lang.ClassFormatError:
> cirrus/hibernate/test/Glarch$$EnhancedByCGLIB$$3 (Repeative method
> name/signature)
>
> The complete stack trace is at the bottom.
>
> Furthermore I also seem to get a deadlock between the connection that has
> created all the tables ( in schemaexport) and the next tests that do some
> updates!
> Doesn't schemeexport close its connection ? (or at least release its
locks?)
>
> /max
>
>
> ps. running MS SQL with the JTurbo driver.
>
>
> java.lang.reflect.InvocationTargetException: java.lang.ClassFormatError:
> cirrus/hibernate/test/Glarch$$EnhancedByCGLIB$$3 (Repeative method
> name/signature)
>  at java.lang.ClassLoader.defineClass0(Native Method)
>  at java.lang.ClassLoader.defineClass(ClassLoader.java:493)
>  at java.lang.ClassLoader.defineClass(ClassLoader.java:428)
>  at java.lang.reflect.Method.invoke(Native Method)
>  at net.sf.cglib.proxy.Enhancer.enhance(Enhancer.java:245)
>  at
>
cirrus.hibernate.proxy.CGLIBLazyInitializer.getProxy(CGLIBLazyInitializer.ja
> va:43)
>  at cirrus.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1464)
>  at cirrus.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1409)
>  at
>
cirrus.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:63)
>  at cirrus.hibernate.type.EntityType.nullSafeGet(EntityType.java:118)
>  at
cirrus.hibernate.type.ComponentType.nullSafeGet(ComponentType.java:132)
>  at cirrus.hibernate.type.AbstractType.hydrate(AbstractType.java:65)
>  at cirrus.hibernate.loader.Loader.hydrate(Loader.java:334)
>  at cirrus.hibernate.loader.Loader.loadFromResultSet(Loader.java:284)
>  at cirrus.hibernate.loader.Loader.doFind(Loader.java:136)
>  at cirrus.hibernate.loader.Loader.find(Loader.java:471)
>  at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1069)
>  at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1047)
>  at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1039)
>  at cirrus.hibernate.test.FooBarTest.testFind(FooBarTest.java:580)
>  at java.lang.reflect.Method.invoke(Native Method)
>  at junit.framework.TestCase.runTest(TestCase.java:166)
>  at junit.framework.TestCase.runBare(TestCase.java:140)
>  at junit.framework.TestResult$1.protect(TestResult.java:106)
>  at junit.framework.TestResult.runProtected(TestResult.java:124)
>  at junit.framework.TestResult.run(TestResult.java:109)
>  at junit.framework.TestCase.run(TestCase.java:131)
>  at junit.framework.TestSuite.runTest(TestSuite.java:173)
>  at junit.framework.TestSuite.run(TestSuite.java:168)
>  at
>
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu
> nner.java:360)
>  at
>
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.
> java:246)
>  at
>
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner
> .java:146)
> rethrown as cirrus.hibernate.HibernateException: CGLIB Enhancement failed
>  at
>
cirrus.hibernate.proxy.CGLIBLazyInitializer.getProxy(CGLIBLazyInitializer.ja
> va:59)
>  at cirrus.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1464)
>  at cirrus.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1409)
>  at
>
cirrus.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:63)
>  at cirrus.hibernate.type.EntityType.nullSafeGet(EntityType.java:118)
>  at
cirrus.hibernate.type.ComponentType.nullSafeGet(ComponentType.java:132)
>  at cirrus.hibernate.type.AbstractType.hydrate(AbstractType.java:65)
>  at cirrus.hibernate.loader.Loader.hydrate(Loader.java:334)
>  at cirrus.hibernate.loader.Loader.loadFromResultSet(Loader.java:284)
>  at cirrus.hibernate.loader.Loader.doFind(Loader.java:136)
>  at cirrus.hibernate.loader.Loader.find(Loader.java:471)
>  at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1069)
>  at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1047)
>  at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1039)
>  at cirrus.hibernate.test.FooBarTest.testFind(FooBarTest.java:580)
>  at java.lang.reflect.Method.invoke(Native Method)
>  at junit.framework.TestCase.runTest(TestCase.java:166)
>  at junit.framework.TestCase.runBare(TestCase.java:140)
>  at junit.framework.TestResult$1.protect(TestResult.java:106)
>  at junit.framework.TestResult.runProtected(TestResult.java:124)
>  at junit.framework.TestResult.run(TestResult.java:109)
>  at junit.framework.TestCase.run(TestCase.java:131)
>  at junit.framework.TestSuite.runTest(TestSuite.java:173)
>  at junit.framework.TestSuite.run(TestSuite.java:168)
>  at
>
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu
> nner.java:360)
>  at
>
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.
> java:246)
>  at
>
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner
> .java:146)
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: See the NEW Palm
> Tungsten T handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
> _______________________________________________
> hibernate-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/hibernate-devel



-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to