olingo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fortes (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OLINGO-1270) Error making a request on a resource when the value of a field is null
Date Tue, 12 Jun 2018 09:41:00 GMT

     [ https://issues.apache.org/jira/browse/OLINGO-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alejandro Fortes updated OLINGO-1270:
-------------------------------------
    Description: 
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

  was:
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


> 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
>            Priority: Critical
>
> 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)

Mime
View raw message