Hi, 

Camel Validator just unwrap the exception and if the location information is 
not there, -1 should be used instead.
So I guess the issue could relate to the xerces, maybe you can consider to 
upgrade JDK version or the xerces version if you don’t use the one from JDK.

BTW, did you have chance to check the log, you can enable the debug log of  
org.apache.camel.processor.validation.DefaultValidationErrorHandler to check if 
the exception is caught rightly.

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On March 16, 2015 at 7:06:55 PM, akhilesh2u (akhiles...@gmail.com) wrote:
> Hi Willem, Thanks for your reply. Our Camel version is
> 2.13.2 and Java Version is 1.7.0_51. When we restart the server
> the line and column numbers are displayed and after working on for some time
> it will start giving line -1 and column -1. Please do let me know
> for any further information on the same.
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-Validator-issue-a-show-stopper-in-production-tp5764148p5764212.html
>   
> Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to