Ingmar Lemke created OLINGO-1511:
------------------------------------

             Summary: ClassCastException inside ODataJPAResponseBuilderDefault
                 Key: OLINGO-1511
                 URL: https://issues.apache.org/jira/browse/OLINGO-1511
             Project: Olingo
          Issue Type: Bug
          Components: odata2-jpa
    Affects Versions: V2 2.0.11
            Reporter: Ingmar Lemke


Inside 
org.apache.olingo.odata2.jpa.processor.core.ODataJPAResponseBuilderDefault on 
line 
[322|https://github.com/apache/olingo-odata2/blob/4e234890f1f8c800b505dc22710f11fc410c6e82/odata2-jpa-processor/jpa-core/src/main/java/org/apache/olingo/odata2/jpa/processor/core/ODataJPAResponseBuilderDefault.java#L322]
 there's a bug trying to cast from an EdmComplexType to EdmEntityType - it 
needs to cast to EdmStructuralType instead.

Runtime Exception:
java.lang.ClassCastException, Message : class 
org.apache.olingo.odata2.core.edm.provider.EdmComplexTypeImplProv cannot be 
cast to class org.apache.olingo.odata2.api.edm.EdmEntityType



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to