Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14295

Camel-cm-sms: Karaf and Spring Boot integration tests are broken

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: karaf, tests
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      [org.ops4j.pax.exam.spi.reactors.ReactorManager] INFO : suite finished
      [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 19.078 s <<< FAILURE! - in org.apache.camel.itest.karaf.CamelCmSmsTest
      [ERROR] org.apache.camel.itest.karaf.CamelCmSmsTest.test  Time elapsed: 19.021 s  <<< ERROR!
      java.lang.ClassNotFoundException: javax.validation.NoProviderFoundException (no security manager: RMI class loader disabled)
      
      
      Caused by: org.apache.camel.RuntimeCamelException: Cannot auto create component: cm-smsCaused by: org.apache.camel.RuntimeCamelException: Cannot auto create component: cm-sms at org.apache.camel.impl.engine.AbstractCamelContext.getComponent(AbstractCamelContext.java:503) at org.apache.camel.itest.springboot.command.ComponentTestCommand.executeTest(ComponentTestCommand.java:45) at org.apache.camel.itest.springboot.command.ComponentTestCommand.executeTest(ComponentTestCommand.java:32) at org.apache.camel.itest.springboot.command.AbstractTestCommand.execute(AbstractTestCommand.java:48) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115) at java.util.concurrent.FutureTask.run(FutureTask.java:266) ... 3 moreCaused by: org.apache.camel.RuntimeCamelException: Cannot auto create component: cm-sms at org.apache.camel.impl.engine.AbstractCamelContext.initComponent(AbstractCamelContext.java:564) at org.apache.camel.impl.engine.AbstractCamelContext.access$000(AbstractCamelContext.java:165) at org.apache.camel.impl.engine.AbstractCamelContext$2.apply(AbstractCamelContext.java:489) at org.apache.camel.impl.engine.AbstractCamelContext$2.apply(AbstractCamelContext.java:485) at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660) at org.apache.camel.impl.engine.AbstractCamelContext.getComponent(AbstractCamelContext.java:485) ... 15 moreCaused by: javax.validation.ValidationException: HV000183: Unable to initialize 'javax.el.ExpressionFactory'. Check that you have the EL dependencies on the classpath, or use ParameterMessageInterpolator instead at org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator.buildExpressionFactory(ResourceBundleMessageInterpolator.java:123) at org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator.<init>(ResourceBundleMessageInterpolator.java:47) at org.hibernate.validator.internal.engine.ConfigurationImpl.getDefaultMessageInterpolator(ConfigurationImpl.java:474) at org.hibernate.validator.internal.engine.ConfigurationImpl.getDefaultMessageInterpolatorConfiguredWithClassLoader(ConfigurationImpl.java:650) at org.hibernate.validator.internal.engine.ConfigurationImpl.getMessageInterpolator(ConfigurationImpl.java:397) at org.hibernate.validator.internal.engine.ValidatorFactoryImpl.<init>(ValidatorFactoryImpl.java:183) at org.hibernate.validator.HibernateValidator.buildValidatorFactory(HibernateValidator.java:38) at org.hibernate.validator.internal.engine.ConfigurationImpl.buildValidatorFactory(ConfigurationImpl.java:364) at javax.validation.Validation.buildDefaultValidatorFactory(Validation.java:103) at org.apache.camel.component.cm.CMComponent.doInit(CMComponent.java:78) at org.apache.camel.support.service.ServiceSupport.init(ServiceSupport.java:80) at org.apache.camel.support.service.ServiceHelper.initService(ServiceHelper.java:55) at org.apache.camel.impl.engine.AbstractCamelContext.initComponent(AbstractCamelContext.java:560) ... 20 more
       at org.apache.camel.itest.springboot.CamelCmSmsTest.componentTests(CamelCmSmsTest.java:44)
      

        Attachments

          Activity

            People

            • Assignee:
              acosentino Andrea Cosentino
              Reporter:
              acosentino Andrea Cosentino
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: