You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Ben O'Day (Closed) (JIRA)" <ji...@apache.org> on 2012/04/12 21:43:23 UTC

[jira] [Closed] (CAMEL-4717) non clear exception during simple camel route startup

     [ https://issues.apache.org/jira/browse/CAMEL-4717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben O'Day closed CAMEL-4717.
----------------------------

    Resolution: Won't Fix

tried to reproduce this, get a NullPointerException (buried in CXF) when the wsdlUrl is ommited (cxfEndpoint, etc), with an invalid wsdlUrl value, it gives a FileNotFoundException...not idea, but seem clear enough.  

need a specific example from the user to investigate any further...
                
> non clear exception during simple camel route startup
> -----------------------------------------------------
>
>                 Key: CAMEL-4717
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4717
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>            Reporter: liugang
>
> when using cxf component, if I didn't specify the "wsdlURL" with an empty string.
> the error log should be text like: Can't find wsdl file. 
> but now:
> exception
> javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '.' (code 46) in prolog; expected '<'
> at [row,col,system-id]: [1,1,"file:/d:/wsdl/"] 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira