Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-8763

NoFactoryAvailableException when invoking component-list ssh command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • FIS 2.0
    • FIS 2.0
    • FIS-Camel
    • None
    • % %
    • FIS 2.0 Sprint 9

      Camel's command component-list is throwing the error.

      Thrown error

      2017-01-02 13:26:03.394 ERROR 4160 — [pool-1-thread-1] o.crsh.shell.impl.command.CRaSHSession : Error while evaluating request 'camel component-list camel-1 ' camel component-list camel-1 : exception: Could not find factory class for resource: META-INF/services/org/apache/camel/component/direct-component

      org.apache.camel.NoFactoryAvailableException: Could not find factory class for resource: META-INF/services/org/apache/camel/component/direct-component
      at org.apache.camel.impl.DefaultFactoryFinder.doFindFactoryProperties(DefaultFactoryFinder.java:140) ~[camel-core-2.18.1.redhat-000004.jar:2.18.1.redhat-000004]
      at org.apache.camel.impl.DefaultFactoryFinder.findClass(DefaultFactoryFinder.java:78) ~[camel-core-2.18.1.redhat-000004.jar:2.18.1.redhat-000004]
      at org.apache.camel.impl.DefaultFactoryFinder.findClass(DefaultFactoryFinder.java:70) ~[camel-core-2.18.1.redhat-000004.jar:2.18.1.redhat-000004]
      at org.apache.camel.impl.DefaultCamelContext.getComponentParameterJsonSchema(DefaultCamelContext.java:1444) ~[camel-core-2.18.1.redhat-000004.jar:2.18.1.redhat-000004]
      at org.apache.camel.commands.AbstractLocalCamelController.listComponents(AbstractLocalCamelController.java:581) ~[camel-commands-core-2.18.1.redhat-000004.jar:2.18.1.redhat-000004]
      at org.apache.camel.commands.ComponentListCommand.performContextCommand(ComponentListCommand.java:53) ~[camel-commands-core-2.18.1.redhat-000004.jar:2.18.1.redhat-000004]
      at org.apache.camel.commands.AbstractContextCommand.executeLocal(AbstractContextCommand.java:74) ~[camel-commands-core-2.18.1.redhat-000004.jar:2.18.1.redhat-000004]
      at org.apache.camel.commands.AbstractContextCommand.execute(AbstractContextCommand.java:42) ~[camel-commands-core-2.18.1.redhat-000004.jar:2.18.1.redhat-000004]
      at org.apache.camel.springboot.commands.crsh.CamelCommandsFacade.runCommand(CamelCommandsFacade.java:95) ~[camel-commands-spring-boot-2.18.1.redhat-000004.jar:2.18.1.redhat-000004]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_111]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_111]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_111]
      at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111]
      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSite.invoke(PojoMetaMethodSite.java:192) ~[groovy-2.4.7.jar:2.4.7]
      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56) ~[groovy-2.4.7.jar:2.4.7]
      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) ~[groovy-2.4.7.jar:2.4.7]
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) ~[groovy-2.4.7.jar:2.4.7]
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:141) ~[groovy-2.4.7.jar:2.4.7]
      at crash.commands.camel.camel.component_list(camel:44) ~[na:na]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_111]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_111]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_111]
      at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111]
      at org.crsh.cli.impl.lang.MethodDescriptor$1.invoke(MethodDescriptor.java:164) ~[crash.cli-1.3.2.jar:na]
      at org.crsh.cli.impl.lang.MethodDescriptor$1.invoke(MethodDescriptor.java:106) ~[crash.cli-1.3.2.jar:na]
      at org.crsh.lang.impl.java.ProducerCommandMatch$1.close(ProducerCommandMatch.java:117) ~[crash.shell-1.3.2.jar:na]
      at org.crsh.shell.impl.command.pipeline.CommandInvokerAdapter.close(CommandInvokerAdapter.java:296) ~[crash.shell-1.3.2.jar:na]
      at org.crsh.shell.impl.command.pipeline.PipeLine.close(PipeLine.java:106) ~[crash.shell-1.3.2.jar:na]
      at org.crsh.shell.impl.command.spi.CommandInvoker.invoke(CommandInvoker.java:52) ~[crash.shell-1.3.2.jar:na]
      at org.crsh.shell.impl.command.CRaSHCommandProcess.doInvoke(CRaSHCommandProcess.java:39) ~[crash.shell-1.3.2.jar:na]
      at org.crsh.shell.impl.command.CRaSHProcess.execute(CRaSHProcess.java:60) ~[crash.shell-1.3.2.jar:na]
      at org.crsh.shell.impl.async.AsyncProcess$2.call(AsyncProcess.java:207) [crash.shell-1.3.2.jar:na]
      at org.crsh.shell.impl.async.AsyncProcess$2.call(AsyncProcess.java:177) [crash.shell-1.3.2.jar:na]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_111]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_111]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_111]
      at java.lang.Thread.run(Thread.java:745) [na:1.8.0_111]

              Unassigned Unassigned
              llowinge@redhat.com Lukas Lowinger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: