cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: Unmarshalling exception: NaN
Date Thu, 24 Feb 2011 19:06:30 GMT
On Thursday 24 February 2011 9:22:28 AM Aaron Ehrensberger wrote:
> Hi all,
> I'm hoping someone can help me out here...
> We recently upgraded CXF from 2.2.3 to 2.3.1.  In doing so, it would appear
> that some of our webservices have been broken in the process.
> Specifically, the issue we're having is that our client is passing across a
> field like <integerValue>NaN</integerValue>, which previously was being
> processed fine and we didn't have issues.  However, it would appear that
> now, we are throwing an UnmarshallingException.  Debugging through eclipse,
> we see an error like...
> DefaultValidationEventHandler: [ERROR]: Not a number: NaN
> Location: line 49  - that class comes from jaxb-api jar
> That said - any ideas what to look for or change?

If it's an integer, than NaN is not a valid value and the exception is what 
should be occuring.   Ignoring that could have been considered a bug in 2.2.3.   

That said, you can set a property of:
 "set-jaxb-validation-event-handler"  to "false"
on the endpoint and it would again be ignored.

Daniel Kulp
Talend -

View raw message