Cyrill Schwyter created OLINGO-1638:
---------------------------------------

             Summary: Valueble#asCollection causes ClassCastException when 
called on List of Entities
                 Key: OLINGO-1638
                 URL: https://issues.apache.org/jira/browse/OLINGO-1638
             Project: Olingo
          Issue Type: Bug
          Components: odata4-server
    Affects Versions: Version (Java) V4 5.0.0
            Reporter: Cyrill Schwyter


In our case an Action has a Collection of Entities as Parameter.

In our Code we callĀ 

org.apache.olingo.commons.api.data.Valuable#asCollection

this Error occoours:
java.lang.ClassCastException: class 
org.apache.olingo.commons.api.data.EntityCollection cannot be cast to class 
java.util.List (org.apache.olingo.commons.api.data.EntityCollection is in 
unnamed module of loader 'app'; java.util.List is in module java.base of loader 
'bootstrap')



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to