Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1976

WebApplicationException not thrown when injection of fields with *Param annotations fail

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.1.4
    • Component/s: JAX-RS
    • Labels:
      None

      Description

      When there is any exception during injection of fields with QueryParam, PathParam, HeaderParam or CookieParam annotations, a WebApplicationException should be thrown with the proper response status code set. Instead, we see a null value for the field and no exception thrown.

        Attachments

        1. sources.zip
          3 kB
          Chaitanya Choleti

          Activity

            People

            • Assignee:
              sergey_beryozkin Sergey Beryozkin
              Reporter:
              chaitanyak Chaitanya Choleti
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: