What steps will reproduce the problem?
1. Run the InMemoryProducerExample.
What is the expected output? What do you see instead?
Instead of starting the server, the following error is reported:
Exception in thread "main" java.lang.RuntimeException: Inconsistent types for
property DeclaredNavigationProperties: getter type org.core4j.Enumerable,
setter type java.util.Collection
at org.odata4j.producer.inmemory.BeanModel.computeTypes(BeanModel.java:233)
at org.odata4j.producer.inmemory.BeanModel.<init>(BeanModel.java:40)
at org.odata4j.producer.inmemory.BeanBasedPropertyModel.<init>(BeanBasedPropertyModel.java:8)
at org.odata4j.producer.inmemory.InMemoryProducer.register(InMemoryProducer.java:395)
at org.odata4j.producer.inmemory.InMemoryProducer.register(InMemoryProducer.java:376)
at org.odata4j.examples.producer.InMemoryProducerExample.main(InMemoryProducerExample.java:54)
This error refers to class org.odata4j.edm.EdmEntityType.
What version of the product are you using? On what operating system?
0.5.SNAPSHOT
Original issue reported on code.google.com by philipp.sebastian.thun on 14 Sep 2011 at 2:11
Original issue reported on code.google.com by
philipp.sebastian.thun
on 14 Sep 2011 at 2:11