[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-900) CGLIB Enhancement failed error with signed jars

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Mar 21 13:00:59 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole closed HHH-900.
------------------------------


Closing stale resolved issues

> CGLIB Enhancement failed error with signed jars
> -----------------------------------------------
>
>                 Key: HHH-900
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-900
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.0.1
>         Environment: Hibernate 3.0.1
> hsqldb
>            Reporter: James Weiss
>         Attachments: labB.zip
>
>
> I just recently attended the Hibernate training course in Chicago.  Andy Oliver, the instructor, asked me to add this deffect.
> When I add the POJO files for persistence to a signed jar, the following error is thrown:
>     12:19:42,587 ERROR BasicLazyInitializer:103 - CGLIB Enhancement failed: org.hibernate.auction.model.CreditCard
> To recreate this problem, I modified the labB exercise from the class to create a signed jar.  The build.xml file now has both a "test" and a "testsigned" target.  If you run "ant test" the unsigned jar is used and the program runs fine.  If you run "ant testsigned", the signed jar is used and the test throws errors.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list