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

XSNamedMap for types may throw an NPE from itemByName() if the item is not in the map.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.9.1
    • 2.10.0
    • XML Schema API
    • None

    Description

      The XSNamedMap for types may throw an NPE from itemByName() if the item is not in the map. Need to check that the SymbolHash returned a non-null value before checking whether the type categories match.

      Attachments

        Activity

          People

            mrglavas@ca.ibm.com Michael Glavassevich
            mrglavas@ca.ibm.com Michael Glavassevich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 5m
                5m