Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-781

web service control leaks two input streams when creating a service control

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: V1Alpha, V1Beta, v1m1
    • Fix Version/s: None
    • Component/s: System Controls
    • Labels:
      None

      Description

      The web service control leaks two InputStreams in:

      ExtensionMaker
      genJCXForWSDLFile – the InputStream passed to the WSDLParser and passed to the XmlBeanWSDLParser are both leaked. They are also both the same, so we should use exactly one input stream instaed of two.

        Activity

        Hide
        dmehrtash daryoush mehrtash added a comment -

        The XMLBeanWSDLProcessor and WSDLParser should be modified to use DefinitionsDocument (XMLBean Object) instead of the Stream. It would avoid the duplication in this case, and also improves the code.

        Show
        dmehrtash daryoush mehrtash added a comment - The XMLBeanWSDLProcessor and WSDLParser should be modified to use DefinitionsDocument (XMLBean Object) instead of the Stream. It would avoid the duplication in this case, and also improves the code.
        Hide
        ekoneil Eddie O'Neil added a comment -

        Fixed in SVN 190648. The InputStreams are no longer leaked as the DefinitionsDocument XMLBean is now created in one place and callers handle closing streams correctly.

        Show
        ekoneil Eddie O'Neil added a comment - Fixed in SVN 190648. The InputStreams are no longer leaked as the DefinitionsDocument XMLBean is now created in one place and callers handle closing streams correctly.
        Hide
        ekoneil Eddie O'Neil added a comment -

        Closing as per last comment.

        Show
        ekoneil Eddie O'Neil added a comment - Closing as per last comment.

          People

          • Assignee:
            dmehrtash daryoush mehrtash
            Reporter:
            ekoneil Eddie O'Neil
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development