Jonathan Bayle created OLINGO-339: ------------------------------------- Summary: 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 Priority: Minor
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.2#6252)