You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Alejandro Fortes (JIRA)" <ji...@apache.org> on 2018/06/12 09:24:00 UTC

[jira] [Created] (OLINGO-1270) Error making a request on a resource when the value of a field is null

Alejandro Fortes created OLINGO-1270:
----------------------------------------

             Summary: Error making a request on a resource when the value of a field is null
                 Key: OLINGO-1270
                 URL: https://issues.apache.org/jira/browse/OLINGO-1270
             Project: Olingo
          Issue Type: Bug
          Components: odata2-core
    Affects Versions: V2 2.0.10
            Reporter: Alejandro Fortes


{{After publishing an Odata 2 service created with Olingo, an error occurs when making a request about a resource.
When debugging the library, we have seen that the error happens when the value of a field is null.
In the _Encoder_ class of _org.apache.olingo.odata2.core.commons_, method _String encodeInternal(final String input)_, the following statement is executed: input.getBytes ("UTF-8"). When input is null, a NullPointerException occurs}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)