Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-8620

wildfly-bean-validation LazyValidatorFactoryTestCase test failed when running with JDK9

    Details

      Description

      Running org.jboss.as.ee.beanvalidation.LazyValidatorFactoryTestCase
      Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.467 sec <<< FAILURE! - in org.jboss.as.ee.beanvalidation.LazyValidatorFactoryTestCase
      testSpecificProviderCanBeConfiguredInValidationXml(org.jboss.as.ee.beanvalidation.LazyValidatorFactoryTestCase)  Time elapsed: 0.283 sec  <<< ERROR!
      javax.validation.ValidationException: HV000100: Unable to parse META-INF/validation.xml.
              at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:533)
              at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:186)
              at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:476)
              at java.base/java.lang.Class.forName0(Native Method)
              at java.base/java.lang.Class.forName(Class.java:292)
              at javax.xml.bind.ContextFinder.safeLoadClass(ContextFinder.java:508)
              at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:194)
              at javax.xml.bind.ContextFinder.find(ContextFinder.java:405)
              at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:618)
              at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:565)
              at org.hibernate.validator.internal.util.privilegedactions.NewJaxbContext.run(NewJaxbContext.java:33)
              at org.hibernate.validator.internal.util.privilegedactions.NewJaxbContext.run(NewJaxbContext.java:19)
              at org.hibernate.validator.internal.xml.ValidationXmlParser.run(ValidationXmlParser.java:219)
              at org.hibernate.validator.internal.xml.ValidationXmlParser.unmarshal(ValidationXmlParser.java:127)
              at org.hibernate.validator.internal.xml.ValidationXmlParser.parseValidationXml(ValidationXmlParser.java:88)
              at org.hibernate.validator.internal.engine.ConfigurationImpl.getBootstrapConfiguration(ConfigurationImpl.java:393)
              at org.hibernate.validator.internal.engine.ConfigurationImpl.parseValidationXml(ConfigurationImpl.java:476)
              at org.hibernate.validator.internal.engine.ConfigurationImpl.buildValidatorFactory(ConfigurationImpl.java:309)
              at org.jboss.as.ee.beanvalidation.LazyValidatorFactory.initFactory(LazyValidatorFactory.java:81)
              at org.jboss.as.ee.beanvalidation.LazyValidatorFactory.getDelegate(LazyValidatorFactory.java:58)
              at org.jboss.as.ee.beanvalidation.LazyValidatorFactory.getValidator(LazyValidatorFactory.java:73)
              at org.jboss.as.ee.beanvalidation.LazyValidatorFactoryTestCase.testSpecificProviderCanBeConfiguredInValidationXml(LazyValidatorFactoryTestCase.java:70)
      

      It could need to add the java.xml modules

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dmlloyd David Lloyd
                  Reporter:
                  zhfeng Amos Feng
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: