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

        Sean Mills created issue -
        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.
        Sean Mills made changes -
        Field Original Value New Value
        Attachment cxf-rest-client.zip [ 12565814 ]
        Sean Mills made changes -
        Description When passing NULL @PathParam to JAXRS Client Proxy it now throws NullPointerException instead of IllegalArgumentException as in prior releases (2.7.0). 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.
        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
        Sergey Beryozkin made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Sergey Beryozkin [ sergey_beryozkin ]
        Fix Version/s 2.7.3 [ 12323910 ]
        Fix Version/s 2.8.0 [ 12323927 ]
        Resolution Fixed [ 1 ]
        Daniel Kulp made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        19h 11m 1 Sergey Beryozkin 22/Jan/13 13:17
        Resolved Resolved Closed Closed
        37d 4h 10m 1 Daniel Kulp 28/Feb/13 17:27

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development