[ 
https://issues.apache.org/jira/browse/CAMEL-14372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17013509#comment-17013509
 ] 

Claus Ibsen commented on CAMEL-14372:
-------------------------------------

Thanks I could not reproduce this on 3.1, but we have done some work since.
Looking at fixing file util to not compact http urls.

> Validator component fails with java.lang.IllegalArgumentException: protocol = 
> http host = null
> ----------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-14372
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14372
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-validator
>    Affects Versions: 2.18.0, 3.0.0
>            Reporter: Alexander Kardapolov
>            Priority: Minor
>         Attachments: FileUtilTest.java, FileUtilTest.output, 
> IllegalArgumentException_StackTrace.txt
>
>
> When using the Validator component with the http protocol the component throw 
> an IllegalArgumentException.
> To reproduce the issue run (for example):
> {{.toD("validator:http://abcd.lb.sdfwo.com/apps/func/LEF/integration-mail/lef/Lef_ExportXmlProcess/schemas/PART/APP_LS/fAPP.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.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to