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

DocumentBuilderFactory getAttribute throws NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • None
    • xml
    • None
    • b20

      The following error showed in a test:
      java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because "this.attributes" is null
      at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.getAttribute(DocumentBuilderFactoryImpl.java:155)
      at javasoft.sqe.tests.api.javax.xml.access.ExternalAccess.getDOMSystemAccess(ExternalAccess.java:476)
      at javasoft.sqe.tests.api.javax.xml.access.ExternalAccess.setUp(ExternalAccess.java:179)

            joehw Joe Wang
            joehw Joe Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: