Uploaded image for project: 'Woden'
  1. Woden
  2. WODEN-118

NPE when <import> location does not resolve to a document

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • M7
    • Parser
    • None

    Description

      A null pointer exception occurs when reading a WSDL document containing a <wsdl:import> that does not resolve to a document. Woden correctly issues a warning message (WSDL503,Could not locate the WSDL document at URL ...) but later in the code it attempts to use a null DescriptionElement reference.

      The offending code in DescriptionImpl.getNestedDescriptions is:

      if(desc != null) descs.add(desc);
      collectIncludedDescriptions(descs, desc);

      but it should be:

      if(desc != null)

      { descs.add(desc); collectIncludedDescriptions(descs, desc); }

      Attachments

        Activity

          People

            jkaputin John Alan William Kaputin
            jkaputin John Alan William Kaputin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: