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

camel-itest-karaf - CamelNagiosTest fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.20.0
    • Fix Version/s: 2.20.0
    • Component/s: camel-nagios, karaf, tests
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      $ ./run-tests.sh CamelNagiosTest
      ...
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.425 sec <<< FAILURE! - in org.apache.camel.itest.karaf.CamelNagiosTest
      test(org.apache.camel.itest.karaf.CamelNagiosTest)  Time elapsed: 7.33 sec  <<< ERROR!
      java.lang.ClassNotFoundException: org.bouncycastle.crypto.BlockCipher not found by wrap_file__Users_tasato_.m2_repository_com_github_jsendnsca_jsendnsca_2.1.1_jsendnsca-2.1.1.jar [82]
      	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1550)
      	at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:79)
      	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1958)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	at com.googlecode.jsendnsca.encryption.Encryption.<clinit>(Encryption.java:42)
      	at org.apache.camel.component.nagios.NagiosConfiguration.<init>(NagiosConfiguration.java:52)
      	at org.apache.camel.component.nagios.NagiosComponent.<init>(NagiosComponent.java:36)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      	at java.lang.Class.newInstance(Class.java:442)
      	at org.apache.camel.util.ObjectHelper.newInstance(ObjectHelper.java:1736)
      	at org.apache.camel.util.ReflectionInjector.newInstance(ReflectionInjector.java:32)
      	at org.apache.camel.impl.DefaultInjector.newInstance(DefaultInjector.java:45)
      	at org.apache.camel.impl.osgi.Activator$BaseResolver.createInstance(Activator.java:544)
      	at org.apache.camel.impl.osgi.Activator$BaseResolver.createInstance(Activator.java:514)
      	at org.apache.camel.impl.osgi.Activator$BundleComponentResolver.resolveComponent(Activator.java:292)
      	at org.apache.camel.core.osgi.OsgiComponentResolver.getComponent(OsgiComponentResolver.java:58)
      	at org.apache.camel.blueprint.BlueprintComponentResolver.resolveComponent(BlueprintComponentResolver.java:66)
      	at org.apache.camel.impl.DefaultCamelContext.initComponent(DefaultCamelContext.java:517)
      	at org.apache.camel.impl.DefaultCamelContext.lambda$getComponent$0(DefaultCamelContext.java:468)
      	at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
      	at org.apache.camel.impl.DefaultCamelContext.getComponent(DefaultCamelContext.java:468)
      	at org.apache.camel.test.karaf.AbstractFeatureTest.testComponent(AbstractFeatureTest.java:201)
      	at org.apache.camel.test.karaf.AbstractFeatureTest.testComponent(AbstractFeatureTest.java:188)
      	at org.apache.camel.itest.karaf.CamelNagiosTest.test(CamelNagiosTest.java:30)
      
      
      Results :
      
      Tests in error: 
        CamelNagiosTest.test:30->AbstractFeatureTest.testComponent:188->AbstractFeatureTest.testComponent:201 ยป ClassNotFound
      
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
      
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 11.545 s
      [INFO] Finished at: 2017-09-07T11:33:10+09:00
      [INFO] Final Memory: 41M/2875M
      [INFO] ------------------------------------------------------------------------
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tadayosi Tadayoshi Sato
                Reporter:
                tadayosi Tadayoshi Sato
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: