DV OData "java.lang.ClassCastException: org.odata4j.core.OComplexObjects$OComplexObjectImpl" error
Issue
- If you apply the $format=json parameter, an internal server error is returned and the following error is written in the Teiid server log.
TEIID16013 Error occured producing OData result.: java.lang.ClassCastException: org.odata4j.core.OComplexObjects$OComplexObjectImpl cannot be cast to org.odata4j.core.OCollection
Environment
- Red Hat JBoss Data Virtualization (DV) 6.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
