Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1270

Error making a request on a resource when the value of a field is null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • V2 2.0.10
    • None
    • odata2-core
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            afortes Alejandro Fortes
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: