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

Validator.validate(domSource) throws npe

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.0
    • 1.3.0
    • xml
    • 1.3
    • sparc
    • solaris_8

        The following is the stacktrace I get if I use

        validator.validate(domSource);

        java.lang.NullPointerException
                at javax.xml.validation.helpers.ValidatorImpl.process(ValidatorImpl.java:152)
                at javax.xml.validation.helpers.ValidatorImpl.validate(ValidatorImpl.java:93)
                at javax.xml.validation.Validator.validate(Validator.java:45)
                at MyTest.run(MyTest.java:50)
                at MyTest.main(MyTest.java:22)

        This occurs with the latest build
        /net/mizu/usr/re/jaxp1.3/binaries/latest

              kkawagucsunw Kohsuke Kawaguchi (Inactive)
              bhamehta Bhakti Mehta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: