Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4546433

ParserAdapter.parse(is) and XMLFilterImpl.parse(is) throws NPE if is is null

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: xml
    • Labels:
    • Subcomponent:
    • Introduced In Build:
      1.2.0
    • Introduced In Version:
    • CPU:
      sparc
    • OS:
      solaris_8

      Description

      tag info: xalan-j_2_2_d11, Xerces-J_2_0_0_beta3

      According to javadoc, ParserAdapter.parse(InputSource), XMLFilterImpl.parse(InputSource), XMLReader.parse(InputSource) can only throws IOException and SAXException. In crimson, it throws SAXException. With Xerces2, it throws NPE.

      See attachment to reproduce

        Attachments

          Activity

            People

            Assignee:
            duke J. Duke (Inactive)
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: