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 Bug
    • Status: Closed
    • Priority: Critical 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
        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
        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.
        Hide
        Sergey Beryozkin added a comment -

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

        Show
        Sergey Beryozkin added a comment - enhancing the client to support ParamConverters caused the regression, fixed now, thanks

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development