camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-5792) Validator component - Error loading resource on windows
Date Thu, 15 Nov 2012 13:28:12 GMT
Claus Ibsen created CAMEL-5792:
----------------------------------

             Summary: Validator component - Error loading resource on windows
                 Key: CAMEL-5792
                 URL: https://issues.apache.org/jira/browse/CAMEL-5792
             Project: Camel
          Issue Type: Test
          Components: camel-core, tests
    Affects Versions: 2.10.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen


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



{code}
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)
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message