Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.18.0, 3.0.0
-
None
-
Unknown
Description
When using the Validator component with the http protocol the component throw an IllegalArgumentException.
To reproduce the issue run (for example):
.toD("validator:http://foo.com/apps/func/schemas/part/myap/dummy-schema.xsd")
Error:
IllegalArgumentException: protocol = http host = null error (see full stack trace in IllegalArgumentException_StackTrace.txt)
Find out the root cause: Calling the FileUtil.compactPath from resolveResource method in org/apache/camel/component/validator/DefaultLSResourceResolver.java
Test case and output in attachments.
Thanks,
Alex.
Attachments
Attachments
Issue Links
- relates to
-
CAMEL-16622 Validator component fails with java.lang.IllegalArgumentException: protocol = https host = null
- Resolved