Uploaded image for project: 'Hibernate Validator'
  1. Hibernate Validator
  2. HV-865

java.lang.NullPointerException at org.hibernate.validator.internal.cdi.InjectingConstraintValidatorFactory.releaseInstance

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.2.Final
    • Fix Version/s: 5.1.0.Final
    • Component/s: validators
    • Labels:
      None
    • Environment:
      hibernate-validator-5.0.2.Final.jar
      MySQL Server version: 5.5.24-5-log (Debian)
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true

      Description

      2014-02-14 06:35:48,795 WARN  [org.jboss.msc.service.fail] (MSC service thread 1-3:) MSC000004: Failure during stop of service jboss.deployment.subunit."k3.ear"."k3-operational-entities.jar".CdiValidatorFactoryService: java.lang.NullPointerException
              at org.hibernate.validator.internal.cdi.InjectingConstraintValidatorFactory.releaseInstance(InjectingConstraintValidatorFactory.java:59)
              at org.hibernate.validator.internal.engine.constraintvalidation.ConstraintValidatorManager.clear(ConstraintValidatorManager.java:165)
              at org.hibernate.validator.internal.engine.ValidatorFactoryImpl.close(ValidatorFactoryImpl.java:201)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_51]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:57) [rt.jar:1.7.0_51]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:43) [rt.jar:1.7.0_51]
              at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_51]
              at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanIns
      tance.java:40)
              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandle
      r.java:100)
              at org.jboss.weld.proxies.ValidatorFactory$618047133$Proxy$_$$_WeldClien
      tProxy.close(Unknown Source)
              at org.jboss.as.ee.beanvalidation.LazyValidatorFactory.close(LazyValidatorFactory.java:126)
              at org.jboss.as.weld.CdiValidatorFactoryService.stop(CdiValidatorFactoryService.java:97)
              at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1]
              at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
              at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
      

        Attachments

          Issue links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: