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

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

      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.

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

              Created:
              Updated:
              Resolved: