You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "mibo (Jira)" <ji...@apache.org> on 2022/06/27 12:48:00 UTC
[jira] [Assigned] (OLINGO-1564) Cannot create SRID with default value
[ https://issues.apache.org/jira/browse/OLINGO-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
mibo reassigned OLINGO-1564:
----------------------------
Assignee: mibo
> 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
> Assignee: mibo
> Priority: Major
>
> [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.7#820007)