camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Burgazzoli (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-10689) NoFactoryAvailableException when invoking component-list ssh command
Date Tue, 10 Jan 2017 13:58:58 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-10689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Luca Burgazzoli updated CAMEL-10689:
------------------------------------
    Description: 
When invoking component-list on a spring-boot shell, the command component-list throws the
following error:

{code}
2017-01-10 14:51:48.857 ERROR 16924 --- [pool-1-thread-4] 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/bean-component

org.apache.camel.NoFactoryAvailableException: Could not find factory class for resource: META-INF/services/org/apache/camel/component/bean-component
	at org.apache.camel.impl.DefaultFactoryFinder.doFindFactoryProperties(DefaultFactoryFinder.java:140)
~[camel-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
	at org.apache.camel.impl.DefaultFactoryFinder.findClass(DefaultFactoryFinder.java:78) ~[camel-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
	at org.apache.camel.impl.DefaultFactoryFinder.findClass(DefaultFactoryFinder.java:70) ~[camel-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
	at org.apache.camel.impl.DefaultCamelContext.getComponentParameterJsonSchema(DefaultCamelContext.java:1435)
~[camel-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
	at org.apache.camel.commands.AbstractLocalCamelController.listComponents(AbstractLocalCamelController.java:580)
~[camel-commands-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
	at org.apache.camel.commands.ComponentListCommand.performContextCommand(ComponentListCommand.java:53)
~[camel-commands-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
	at org.apache.camel.commands.AbstractContextCommand.executeLocal(AbstractContextCommand.java:74)
~[camel-commands-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
	at org.apache.camel.commands.AbstractContextCommand.execute(AbstractContextCommand.java:42)
~[camel-commands-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
	at org.apache.camel.springboot.commands.crsh.CamelCommandsFacade.runCommand(CamelCommandsFacade.java:95)
~[camel-commands-spring-boot-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
{code}

> NoFactoryAvailableException when invoking component-list ssh command
> --------------------------------------------------------------------
>
>                 Key: CAMEL-10689
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10689
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-spring-boot
>         Environment: When invoking component-list on a spring-boot shell, the command
component-list throws the following error:
> {code}
> 2017-01-10 14:51:48.857 ERROR 16924 --- [pool-1-thread-4] 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/bean-component
> org.apache.camel.NoFactoryAvailableException: Could not find factory class for resource:
META-INF/services/org/apache/camel/component/bean-component
> 	at org.apache.camel.impl.DefaultFactoryFinder.doFindFactoryProperties(DefaultFactoryFinder.java:140)
~[camel-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
> 	at org.apache.camel.impl.DefaultFactoryFinder.findClass(DefaultFactoryFinder.java:78)
~[camel-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
> 	at org.apache.camel.impl.DefaultFactoryFinder.findClass(DefaultFactoryFinder.java:70)
~[camel-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
> 	at org.apache.camel.impl.DefaultCamelContext.getComponentParameterJsonSchema(DefaultCamelContext.java:1435)
~[camel-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
> 	at org.apache.camel.commands.AbstractLocalCamelController.listComponents(AbstractLocalCamelController.java:580)
~[camel-commands-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
> 	at org.apache.camel.commands.ComponentListCommand.performContextCommand(ComponentListCommand.java:53)
~[camel-commands-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
> 	at org.apache.camel.commands.AbstractContextCommand.executeLocal(AbstractContextCommand.java:74)
~[camel-commands-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
> 	at org.apache.camel.commands.AbstractContextCommand.execute(AbstractContextCommand.java:42)
~[camel-commands-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
> 	at org.apache.camel.springboot.commands.crsh.CamelCommandsFacade.runCommand(CamelCommandsFacade.java:95)
~[camel-commands-spring-boot-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
> {code}
>            Reporter: Luca Burgazzoli
>            Assignee: Luca Burgazzoli
>            Priority: Minor
>             Fix For: 2.19.0
>
>
> When invoking component-list on a spring-boot shell, the command component-list throws
the following error:
> {code}
> 2017-01-10 14:51:48.857 ERROR 16924 --- [pool-1-thread-4] 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/bean-component
> org.apache.camel.NoFactoryAvailableException: Could not find factory class for resource:
META-INF/services/org/apache/camel/component/bean-component
> 	at org.apache.camel.impl.DefaultFactoryFinder.doFindFactoryProperties(DefaultFactoryFinder.java:140)
~[camel-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
> 	at org.apache.camel.impl.DefaultFactoryFinder.findClass(DefaultFactoryFinder.java:78)
~[camel-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
> 	at org.apache.camel.impl.DefaultFactoryFinder.findClass(DefaultFactoryFinder.java:70)
~[camel-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
> 	at org.apache.camel.impl.DefaultCamelContext.getComponentParameterJsonSchema(DefaultCamelContext.java:1435)
~[camel-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
> 	at org.apache.camel.commands.AbstractLocalCamelController.listComponents(AbstractLocalCamelController.java:580)
~[camel-commands-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
> 	at org.apache.camel.commands.ComponentListCommand.performContextCommand(ComponentListCommand.java:53)
~[camel-commands-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
> 	at org.apache.camel.commands.AbstractContextCommand.executeLocal(AbstractContextCommand.java:74)
~[camel-commands-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
> 	at org.apache.camel.commands.AbstractContextCommand.execute(AbstractContextCommand.java:42)
~[camel-commands-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
> 	at org.apache.camel.springboot.commands.crsh.CamelCommandsFacade.runCommand(CamelCommandsFacade.java:95)
~[camel-commands-spring-boot-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message