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

asynchronous client can't get correct error if non-runtimeexcpetion happen

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3, 2.2.11
    • 2.2.12, 2.3.1, 2.4
    • None
    • None

    Description

      when use asynchronous cxf client handler, if there's a non-runtimeexception thrown, the asynchronous client handler can't get correct reason but get TimeoutException.

      For example if client receive a very complex soap message response with a greate amount of element level like
      <soap:envelope><soap:body><a1><a2>...<an></an>...</a2</a2></soap:body></soap:envelope>
      here n could be very big which can cause StackOverflowError in StatxUtils as StatxUtils use recursive way to parse soap message.

      In this case if we use asynchronous cxf client, the client has no way to know there's a StackOverflowError but just get TimeoutException.

      Attachments

        1. non-recurse.patch
          7 kB
          Daniel Kulp
        2. CXF-3132-testcase.patch
          556 kB
          Freeman Yue Fang

        Activity

          People

            ffang Freeman Yue Fang
            ffang Freeman Yue Fang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: