| Summary: | Exception adding dynamic objects to Hibernate resource | ||
|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Aleksander Bandelj <aleksander.bandelj> |
| Component: | Teneo | Assignee: | Martin Taal <mtaal> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
I published a teneo build 5 mins back which should solve this issue. The build is available on this update site: http://download.eclipse.org/modeling/emf/teneo/updates/1.2.0/interim/ Please re-open the bugzilla if you still encounter an issue. gr. Martin |
Build Identifier: I20100520-1744 Dynamic objects work fine until I try add them to hibernate resource contents. Then: Caused by: org.hibernate.PropertyNotFoundException: Could not find a getter for id in class org.eclipse.emf.ecore.impl.DynamicEObjectImpl at org.hibernate.property.BasicPropertyAccessor.createGetter(BasicPropertyAccessor.java:306) at org.hibernate.property.BasicPropertyAccessor.getGetter(BasicPropertyAccessor.java:299) at org.hibernate.mapping.Property.getGetter(Property.java:294) at org.eclipse.emf.teneo.hibernate.HbUtil.idToString(HbUtil.java:86) at org.eclipse.emf.teneo.hibernate.resource.HibernateResource.getURIFragment(HibernateResource.java:277) at org.eclipse.emf.teneo.resource.StoreResource.attachedHelper(StoreResource.java:778) at org.eclipse.emf.teneo.resource.StoreResource.attached(StoreResource.java:684) at org.eclipse.emf.teneo.resource.StoreResource.setEResource(StoreResource.java:846) at org.eclipse.emf.teneo.resource.StoreResource.addToContent(StoreResource.java:326) at org.eclipse.emf.teneo.resource.StoreResource.load(StoreResource.java:306) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155) ... 36 more Reproducible: Always