Details
-
Test
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.10.0
-
None
-
Unknown
Description
Doing CI tests on Windows spotted this on multiple occasions. It may be an issue in the Camel validator component itself.
Test Name
Duration
Age
>>> org.apache.camel.itest.validator.ValidatorSchemaImportTest.testRelativeParentSchemaImport 0.647 1
>>> org.apache.camel.itest.validator.ValidatorSchemaImportTest.testDotSlashSchemaImport 0.08 1
>>> org.apache.camel.itest.validator.ValidatorSchemaImportTest.testRelativeDoubleSlashSchemaImport 0.067 1
org.apache.camel.FailedToCreateRouteException: Failed to create route route3 at: >>> DoTry[[To[validator:org/apache/camel/component/validator/doubleslash/child.xsd], To[mock:valid], DoCatch[ [class org.apache.camel.ValidationException] -> [To[mock:invalid]]], DoFinally[[To[mock:finally]]]]] <<< in route: Route[[From[direct:start]] -> [DoTry[[To[validator:org/apach... because of Failed to resolve endpoint: validator://org/apache/camel/component/validator/doubleslash/child.xsd due to: java.io.FileNotFoundException: Cannot find resource in classpath for URI: org/apache/camel/component/validator/doubleslash/.//parent.xsd at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:873) at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:171) at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:723) at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:1795) at org.apache.camel.impl.DefaultCamelContext.addRouteDefinitions(DefaultCamelContext.java:667) at org.apache.camel.builder.RouteBuilder.populateRoutes(RouteBuilder.java:337) at org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:264) at org.apache.camel.impl.DefaultCamelContext.addRoutes(DefaultCamelContext.java:629) at org.apache.camel.itest.validator.ValidatorSchemaImportTest.testRelativeDoubleSlashSchemaImport(ValidatorSchemaImportTest.java:98)