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

java.lang.IllegalStateException: Content has been consumed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: (Java) V4 4.0.0, (JS) V4 4.0.0, (Java) V4 4.1.0, (Java) V4 4.2.0
    • Fix Version/s: None
    • Component/s: odata4-client

      Description

      ODataClient oDataClient = ODataClientFactory.getClient();
      oDataClient.getRetrieveRequestFactory().getMetadataRequest(url).execute();

      Method of execute is the cause of the crash java.lang.IllegalStateException: Content has been consumed.

      Used URL = "http://services.odata.org/V2/(S(5i2qvfszd0uktnpibrgfu2qs))/OData/OData.svc/"

      On version of (Java) V4 4.0.0-beta and lower such a problem does not arise.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                CoOstOFF Konstantin Kustov Sergeevich
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: