2 Replies Latest reply on Jul 5, 2006 3:51 AM by Dmitriy

    Javassist Enhancement failed:  java.lang.RuntimeException:

    Dmitriy Newbie

      Hi.
      I have problem when migrated from jboss-4.0.4RC1 to jboss-4.0.4.GA.
      In jboss-4.0.4RC1 all work ok, but in jboss-4.0.4.GA:


      15:04:47,000 ERROR [BasicLazyInitializer] Javassist Enhancement failed: de.bebit.optimmo.dao.par.RAttribute
      java.lang.RuntimeException: duplicate method: getObject
      at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:173)
      at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(JavassistLazyInitializer.java:141)
      at org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.postInstantiate(JavassistProxyFactory.java:42)
      at org.hibernate.tuple.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:159)
      at org.hibernate.tuple.AbstractEntityTuplizer.(AbstractEntityTuplizer.java:131)
      at org.hibernate.tuple.PojoEntityTuplizer.(PojoEntityTuplizer.java:50)
      at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
      at org.hibernate.tuple.EntityMetamodel.(EntityMetamodel.java:256)
      at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:418)
      at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:108)
      at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
      at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:223)
      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1213)
      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:631)
      at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:760)
      at org.hibernate.ejb.Ejb3Configuration.createContainerEntityManagerFactory(Ejb3Configuration.java:350)
      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:119)
      at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:264)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      ......


      can anybody help?
      Dmitry.