[
https://issues.apache.org/jira/browse/OLINGO-428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Meijer closed OLINGO-428.
---------------------------------
> 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: (Java) V4 4.0.0-beta-02
> Reporter: Michael Meijer
> Assignee: Michael Bolz
> Priority: Minor
> Fix For: (Java) V4 4.0.0-beta-02
>
>
> 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)