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

When passing NULL @PathParam to JAXRS Client Proxy it now throws NullPointerException instead of IllegalArgumentException as in prior releases (2.7.0)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.7.2
    • Fix Version/s: 2.7.3, 3.0.0-milestone1
    • Component/s: JAX-RS
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      When passing NULL @PathParam to JAXRS Client Proxy it now throws NullPointerException instead of IllegalArgumentException as in prior releases (2.7.0). Test case is attached.

        Activity

        Hide
        sergey_beryozkin Sergey Beryozkin added a comment -

        enhancing the client to support ParamConverters caused the regression, fixed now, thanks

        Show
        sergey_beryozkin Sergey Beryozkin added a comment - enhancing the client to support ParamConverters caused the regression, fixed now, thanks
        Hide
        seanmmills Sean Mills added a comment -

        Extract this maven project and execute "mvn -Pit-web clean verify" to show how 2.7.0 works okay. Then, update the cxf.version in the pom.xml to 2.7.2 and rerun the mvn command and you will see the issue.

        Show
        seanmmills Sean Mills added a comment - Extract this maven project and execute "mvn -Pit-web clean verify" to show how 2.7.0 works okay. Then, update the cxf.version in the pom.xml to 2.7.2 and rerun the mvn command and you will see the issue.

          People

          • Assignee:
            sergey_beryozkin Sergey Beryozkin
            Reporter:
            seanmmills Sean Mills
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development