Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-2396

NullPointerException serializing a SOAPPart document

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.7
    • None
    • Serialization
    • None
    • PatchAvailable

    Description

      When trying to serialize a SOAPPart document using the SUN "Soap w/ Attachments API" (saaj 1.3), I get a NullPointerException in DOM3TreeWalker.serializeAttList (line 678).

      Sample code looks like this:
      protected void doConversion(final SOAPMessage message)
      throws Exception

      { LSSerializer serializer = this.impl.createLSSerializer(); LSOutput output = impl.createLSOutput(); StringWriter w = new StringWriter(); output.setCharacterStream(w); serializer.write(message.getSOAPPart(), output); }

      Attachments

        Activity

          People

            Unassigned Unassigned
            dr_java Dr. Java
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: