Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-983

Investigate issue with DeltaSpike Validation Module

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1
    • BeanValidation-Module
    • None

    Description

      Using BV with Java EE 7 libs causes the following exception:

      Exception in thread "Thread-0" java.lang.AbstractMethodError: org.apache.deltaspike.beanvalidation.impl.CDIAwareConstraintValidatorFactory.releaseInstance(Ljavax/validation/ConstraintValidator;)V at org.hibernate.validator.internal.engine.constraintvalidation.ConstraintValidatorManager.clear(ConstraintValidatorManager.java:201) at org.hibernate.validator.internal.engine.ValidatorFactoryImpl.close(ValidatorFactoryImpl.java:315) at org.hibernate.validator.internal.cdi.ValidatorFactoryBean.destroy(ValidatorFactoryBean.java:125) at org.hibernate.validator.internal.cdi.ValidatorFactoryBean.destroy(ValidatorFactoryBean.java:45) at org.jboss.weld.util.bean.IsolatedForwardingBean.destroy(IsolatedForwardingBean.java:50) at org.jboss.weld.context.AbstractContext.destroyContextualInstance(AbstractContext.java:147) at org.jboss.weld.context.AbstractContext.destroy(AbstractContext.java:161) at org.jboss.weld.context.AbstractSharedContext.destroy(AbstractSharedContext.java:61) at org.jboss.weld.context.AbstractSharedContext.invalidate(AbstractSharedContext.java:56) at org.jboss.weld.bootstrap.WeldRuntime.shutdown(WeldRuntime.java:54) at org.jboss.weld.bootstrap.WeldBootstrap.shutdown(WeldBootstrap.java:113) at org.jboss.weld.environment.se.ShutdownManager.shutdown(ShutdownManager.java:50) at org.jboss.weld.environment.se.Weld.shutdown(Weld.java:259) at org.jboss.weld.environment.se.StartMain$ShutdownHook.run(StartMain.java:84)
      

      Example project: https://github.com/jpangamarca/bean-validation-shutdown-issue

      Attachments

        Issue Links

          Activity

            People

              rafabene Rafael Benevides
              rafabene Rafael Benevides
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: