Oliver Grande created OLINGO-1564:
-------------------------------------

             Summary: Cannot create SRID with default value
                 Key: OLINGO-1564
                 URL: https://issues.apache.org/jira/browse/OLINGO-1564
             Project: Olingo
          Issue Type: Bug
          Components: odata4-commons
    Affects Versions: (Java) V4 4.9.0
            Reporter: Oliver Grande


[SRID|https://github.com/apache/olingo-odata4/blob/master/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/geo/SRID.java]
 does not provide a factory method to create an instance with a default value.

Default value is taken, if _value_ is null. If the factory method 
_valueOf(final String exp)_ gets a null value, then in line 57: 
_Integer.valueOf(exp)_ raises a null pointer exception.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to