Uploaded image for project: 'Xerces2-J'
  1. Xerces2-J
  2. XERCESJ-476

sample PSVI test gives NPE [2.0.1 -> 2.2.0]

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 2.0.1
    • None
    • XNI
    • None
    • Operating System: All
      Platform: All
    • 13276

    Description

      in PSVIWriter.java, line 922 printPSVIAttribute:

      XSTypeDefinition type = attrPSVI.getTypeDefinition();

      type can be null and is dereferenced without a test. PLS, add if (type != null) {...

      Attachments

        Activity

          People

            Unassigned Unassigned
            fabio@xqrl.com Fabio Riccardi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: