-
Bug
-
Resolution: Done
-
Major
-
jboss-fuse-6.1, jboss-fuse-6.2
-
None
-
%
-
- Attached is the example. I have tested this implementaion for two different applications and found that reinstalling feature 'hibernate' is only possible workaround.
- Most of the time this message is received while installing service-consumer bundle:
11:37:16,502 | INFO | rint Extender: 2 | BlueprintContainerImpl | 21 - org.apache.aries.blueprint.core - 1.4.2 | Bundle service-consumer is waiting for dependencies [(objectClass=fuse.pocs.blueprint.openjpa.PersonService)]
- Sometime even below message is encountered. There is another custom application where in place of service-consumer, there is a different cxf consumer which always gives following exception.
Caused by: org.hibernate.PropertyAccessException: IllegalArgumentException occurred calling getter of ch.suisa.test.fuse.entity.Person.id at org.hibernate.property.BasicPropertyAccessor$BasicGetter.get(BasicPropertyAccessor.java:187) at org.hibernate.tuple.entity.AbstractEntityTuplizer.getIdentifier(AbstractEntityTuplizer.java:344) at org.hibernate.persister.entity.AbstractEntityPersister.getIdentifier(AbstractEntityPersister.java:4550) at org.hibernate.persister.entity.AbstractEntityPersister.isTransient(AbstractEntityPersister.java:4271) at org.hibernate.engine.internal.ForeignKeys.isTransient(ForeignKeys.java:209) at org.hibernate.event.internal.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:497) at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:118) at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:78) at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:772) at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:746) at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:750) at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:875) ... 57 more Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_55] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_55] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_55] at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_55] at org.hibernate.property.BasicPropertyAccessor$BasicGetter.get(BasicPropertyAccessor.java:164) ... 68 more
- Both of the problem resolves after reinstalling the hibernate feature.
- is related to
-
ENTESB-4447 Incompatible TypedQuery exception is thrown when application(Using JPA-Hibernate) bundle is refreshed/re-installed
- Closed
-
ENTESB-4495 Hibernate and Bundle ClassLoaders out of sync on Bundle Refresh
- Closed
-
ARIES-1487 Loading...
-
HHH-10346 Loading...