Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-3501

The SynchronousDispatcher may send an empty response if a MessageBodyWriter for the exception cannot be found

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.2.9.Final, 7.0.0.Alpha2
    • None
    • Core
    • None

      The SynchronousDispatcher handles writing exceptions by attempting to locate a MessageBodyWriter for the exception. As stated in RESTEASY-3500, but default this is text/html which there is no default provider for. If the StringTextStar provider is excluded, no writer is found. The errors is logged, but the response to the consumer is empty. This should likely re-throw the error. This is what is currently done in RESTEasy 3.x.

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: