Details
-
Bug
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
V2 2.0.10
-
None
-
None
Description
After publishing an Odata 2 service created with Olingo, an error occurs when making a resource request.
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