Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-1617

Response entity cannot be read with getEntity() after readEntity() is used (IllegalStateException is thrown)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 7.0.0.DR12
    • REST
    • None
      • unzip reproducer
      • execute "mvn clean verify -Djboss.home=/path/to/eap"

    Description

      Response entity cannot be read with getEntity() after readEntity() is used (IllegalStateException is thrown).

      The javadoc for readEntity() says:

      A non-null message instance returned from this method will be cached for subsequent retrievals via getEntity().
      

      Instead IllegalStateException is thrown.

      Attachments

        Issue Links

          Activity

            People

              rsigal@redhat.com Ronald Sigal
              kanovotn Katerina Odabasi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: