Announcement Announcement Module
Collapse

JavaConfig forum decommissioned in favor of Core Container

As described at

http://static.springsource.org/sprin...fig/README.TXT

key features of the Spring JavaConfig project have been migrated into the core Spring Framework as of version 3.0.

Please see the Spring 3.0 documentation on @Configuration and @Bean support:

http://static.springsource.org/sprin...tml#beans-java

For any questions related to @Configuration classes and @Bean methods in Spring 3.0, please post in the dedicated 'Core Container' forum at

http://forum.springsource.org/forumdisplay.php?f=26
See more
See less
ClassCastException net.sf.cglib.proxy.Enhancer$EnhancerKey$$KeyFactor yByCGLIB Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ClassCastException net.sf.cglib.proxy.Enhancer$EnhancerKey$$KeyFactor yByCGLIB

    We are using:

    -- org.springframework.config.java.jar (m4)
    -- spring 2.5.2
    -- cglib-nodep 2.1_3

    Periodically, we see a java.lang.ClassCastException per below:

    net.sf.cglib.proxy.Enhancer$EnhancerKey$$KeyFactor yByCGLIB$$7fb24d72 incompatible with net.sf.cglib.core.KeyFactory
    at net.sf.cglib.core.KeyFactory$Generator.create(KeyF actory.java:145)
    at net.sf.cglib.core.KeyFactory.create(KeyFactory.jav a:117)
    at net.sf.cglib.core.KeyFactory.create(KeyFactory.jav a:108)
    at net.sf.cglib.core.KeyFactory.create(KeyFactory.jav a:104)
    at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java :69)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:196)

    We bounce our server, and the error is resolved. Next install; however, will sometimes recreate error.

    Any ideas?
    Last edited by bmoon; Mar 16th, 2010, 08:15 AM. Reason: in appropriate space in title

  • #2
    Found issue

    We found issue and is a result of bug in cglib when parent_last class loading is used. Opened issue with cglib: ClassCastException in KeyFactory$Generator.create

    Comment

    Working...
    X