You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Ingmar Lemke (Jira)" <ji...@apache.org> on 2021/02/16 03:34:00 UTC
[jira] [Created] (OLINGO-1511) ClassCastException inside
ODataJPAResponseBuilderDefault
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)