Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExecIntegrationTest fails on Windows #1628

Closed
tdiesler opened this issue Feb 17, 2017 · 1 comment
Closed

ExecIntegrationTest fails on Windows #1628

tdiesler opened this issue Feb 17, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@tdiesler
Copy link
Contributor

https://10.8.63.16/view/wildfly-camel/job/wildfly-camel-master-windows/7/testReport/junit/org.wildfly.camel.test.exec/ExecIntegrationTest/testExecProducer/

org.apache.camel.FailedToCreateRouteException: Failed to create route route68 at: >>> To[exec:cmd.exe?args=/C echo Hello Kermit
] <<< in route: Route(route68)[[From[direct:start]] -> [To[exec:cmd.exe?args... because of Failed to resolve endpoint: exec:cmd.exe?args=/C echo Hello Kermit
 due to: Illegal character in opaque part at index 44: exec:cmd.exe?args=/C%20echo%20Hello%20Kermit

	at java.net.URI$Parser.fail(URI.java:2848)
	at java.net.URI$Parser.checkChars(URI.java:3021)
	at java.net.URI$Parser.parse(URI.java:3058)
	at java.net.URI.<init>(URI.java:588)
	at org.apache.camel.util.URISupport.normalizeUri(URISupport.java:534)
	at org.apache.camel.impl.DefaultCamelContext.normalizeEndpointUri(DefaultCamelContext.java:694)
	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:578)
	at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:79)
	at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:211)
	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:108)
	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:114)
	at org.apache.camel.model.SendDefinition.resolveEndpoint(SendDefinition.java:62)
	at org.apache.camel.model.SendDefinition.createProcessor(SendDefinition.java:56)
	at org.apache.camel.model.ProcessorDefinition.makeProcessorImpl(ProcessorDefinition.java:545)
	at org.apache.camel.model.ProcessorDefinition.makeProcessor(ProcessorDefinition.java:506)
	at org.apache.camel.model.ProcessorDefinition.addRoutes(ProcessorDefinition.java:222)
	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:1068)
	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:196)
	at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:984)
	at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:3401)
	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3132)
	at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:183)
	at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2961)
	at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2957)
	at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2980)
	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2957)
	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2924)
	at org.wildfly.camel.test.exec.ExecIntegrationTest.testExecProducer(ExecIntegrationTest.java:66)
@tdiesler tdiesler added the bug label Feb 17, 2017
@tdiesler tdiesler added this to the 4.6.0 milestone Feb 17, 2017
tdiesler pushed a commit to tdiesler/wildfly-camel that referenced this issue Feb 17, 2017
@jamesnetherton
Copy link
Collaborator

I seem to remember hitting this some time back. Think I have a fix on a local branch somewhere which I forgot to push up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants