[
https://issues.apache.org/jira/browse/OLINGO-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Amend reassigned OLINGO-339:
--------------------------------------
Assignee: Christian Amend
> Servlet behaviour on null ODataService
> --------------------------------------
>
> Key: OLINGO-339
> URL: https://issues.apache.org/jira/browse/OLINGO-339
> Project: Olingo
> Issue Type: New Feature
> Components: odata2-core
> Affects Versions: V2 1.2.0
> Reporter: Jonathan Bayle
> Assignee: Christian Amend
> Priority: Minor
> Labels: behavior
> Fix For: V2 2.0.1
>
>
> When the method ODataServiceFactory.createService returns null, the
> servlet throws an uncaught NullPointerException which has to be handled
> by the servlet container.
> In my opinion, the servlet should print an error message like "service not
> found", it would be better if the message is wrapped in an OData error
> document.
> Maybe an implementation of ODataService could perform this ?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)