camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manfred Dohmen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-10063) Camel on Karaf 4.0.5: java.lang.NoClassDefFoundError: org/apache/karaf/util/StringEscapeUtils
Date Fri, 17 Jun 2016 10:40:05 GMT

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

Manfred Dohmen updated CAMEL-10063:
-----------------------------------
    Description: 
Stock Karaf, unpacked, started via bin/karaf, repo-add camel + Features camel-quartz2 and
camel-blueprint (2.18.0.SNAPSHOT).

Deployed a blueprint with a Camel route. Shell shows the following error on issuing this command:
karaf@root()> camel:route-info route1
Error executing command: org/apache/karaf/util/StringEscapeUtils

Log:

java.lang.NoClassDefFoundError: org/apache/karaf/util/StringEscapeUtils
	at org.apache.camel.karaf.commands.internal.StringEscape.unescapeJava(StringEscape.java:25)
	at org.apache.camel.commands.RouteInfoCommand.executeOnRoute(RouteInfoCommand.java:52)
	at org.apache.camel.commands.AbstractRouteCommand.execute(AbstractRouteCommand.java:56)
	at org.apache.camel.karaf.commands.RouteInfo.doExecute(RouteInfo.java:35)
	at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:34)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:34)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.karaf.shell.compat.CommandTracker$1.execute(CommandTracker.java:112)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:67)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:87)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:270)[44:org.apache.karaf.shell.core:4.0.5]
	at java.lang.Thread.run(Thread.java:745)[:1.8.0_72]



  was:
Stock Karaf, unpacked, started via bin/karaf, repo-add camel + camel-blueprint (2.18.0.SNAPSHOT).

Deployed a blueprint with a Camel route. Shell shows the following error on issuing this command:
karaf@root()> camel:route-info route1
Error executing command: org/apache/karaf/util/StringEscapeUtils

Log:

java.lang.NoClassDefFoundError: org/apache/karaf/util/StringEscapeUtils
	at org.apache.camel.karaf.commands.internal.StringEscape.unescapeJava(StringEscape.java:25)
	at org.apache.camel.commands.RouteInfoCommand.executeOnRoute(RouteInfoCommand.java:52)
	at org.apache.camel.commands.AbstractRouteCommand.execute(AbstractRouteCommand.java:56)
	at org.apache.camel.karaf.commands.RouteInfo.doExecute(RouteInfo.java:35)
	at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:34)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:34)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.karaf.shell.compat.CommandTracker$1.execute(CommandTracker.java:112)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:67)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:87)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)[44:org.apache.karaf.shell.core:4.0.5]
	at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:270)[44:org.apache.karaf.shell.core:4.0.5]
	at java.lang.Thread.run(Thread.java:745)[:1.8.0_72]




> Camel on Karaf 4.0.5: java.lang.NoClassDefFoundError: org/apache/karaf/util/StringEscapeUtils
> ---------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-10063
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10063
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.18.0
>         Environment: Karaf 4.0.5, Linux, JDK 1.8.0_72
>            Reporter: Manfred Dohmen
>            Priority: Minor
>
> Stock Karaf, unpacked, started via bin/karaf, repo-add camel + Features camel-quartz2
and camel-blueprint (2.18.0.SNAPSHOT).
> Deployed a blueprint with a Camel route. Shell shows the following error on issuing this
command:
> karaf@root()> camel:route-info route1
> Error executing command: org/apache/karaf/util/StringEscapeUtils
> Log:
> java.lang.NoClassDefFoundError: org/apache/karaf/util/StringEscapeUtils
> 	at org.apache.camel.karaf.commands.internal.StringEscape.unescapeJava(StringEscape.java:25)
> 	at org.apache.camel.commands.RouteInfoCommand.executeOnRoute(RouteInfoCommand.java:52)
> 	at org.apache.camel.commands.AbstractRouteCommand.execute(AbstractRouteCommand.java:56)
> 	at org.apache.camel.karaf.commands.RouteInfo.doExecute(RouteInfo.java:35)
> 	at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:34)[44:org.apache.karaf.shell.core:4.0.5]
> 	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)[44:org.apache.karaf.shell.core:4.0.5]
> 	at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:34)[44:org.apache.karaf.shell.core:4.0.5]
> 	at org.apache.karaf.shell.compat.CommandTracker$1.execute(CommandTracker.java:112)[44:org.apache.karaf.shell.core:4.0.5]
> 	at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:67)[44:org.apache.karaf.shell.core:4.0.5]
> 	at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:87)[44:org.apache.karaf.shell.core:4.0.5]
> 	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[44:org.apache.karaf.shell.core:4.0.5]
> 	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[44:org.apache.karaf.shell.core:4.0.5]
> 	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[44:org.apache.karaf.shell.core:4.0.5]
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[44:org.apache.karaf.shell.core:4.0.5]
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[44:org.apache.karaf.shell.core:4.0.5]
> 	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)[44:org.apache.karaf.shell.core:4.0.5]
> 	at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:270)[44:org.apache.karaf.shell.core:4.0.5]
> 	at java.lang.Thread.run(Thread.java:745)[:1.8.0_72]



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

Mime
View raw message