Michael Meijer created OLINGO-428:
-------------------------------------

             Summary: Metadata request fails when EDM provider returns Schema 
with null valued alias
                 Key: OLINGO-428
                 URL: https://issues.apache.org/jira/browse/OLINGO-428
             Project: Olingo
          Issue Type: Bug
          Components: odata4-server
    Affects Versions: V4 4.0.0-beta-02
            Reporter: Michael Meijer
            Priority: Minor


When a request is made for metadata the XML is generated based on the EDM 
Provider. If the EDM provider has a schema whose alias is null (default), then 
writing the Alias attribute in XML 
(MetadataDocumentXmlSerializer.appendSchema(...)) causes a 
NullPointerException. The exception comes from the XMLStreamWriter 
implementatiom's writeAttribute(...) that cannot handle null valued content.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to