Hi Aki, thanks for reporting it,
the fact an older Jettison version can be picked up in OSGI was not something I thought about... I reckon this is not a critical issue, unless yourself or others disagree, perhaps Dan can mention this issue in CXF 2.7.6 release section as you suggested. I will also update CXF JSONProvider calling this method conditionally, only if a related property is set (FYI, this is to do with affecting the way Jettison reporting null properties, null in quotes as "null" as opposed to null)

Thanks, Sergey
On 17/07/13 23:39, Aki Yoshida wrote:
So far all the tests I ran with 2.7.6 are fine except I noticed one thing.

cxf-2.7.6 uses jettison 1.3.4 and uses a new method that was not in
1.3.3. So with 1.3.3, it runs into
javax.ws.rs.InternalServerErrorException: java.lang.NoSuchMethodError:
org.codehaus.jettison.mapped.Configuration.setWriteNullAsString(Z)V

The version range given in rt-rs-extension-provider is [1.3,2), so it
can still pick up the old jettison version that is incompatible with
it. (not relevant when using karaf cxf feature because that is
bringing the new one).

I am not familiar with the jettison's versions, and not sure whether a
short remark in the 2.7.6 release note is sufficient or some change in
the code is necessary.

regards, aki






2013/7/17 Daniel Kulp <[email protected]>:


We've resolved over 75 issues since 2.7.5 and almost 50 ported back to 2.5.11 
and 2.6.9.

This also includes an minor 2.6.2 release of xjc-utils to get the update to the 
boolean getter plugin that was requested.


List of issues:
2.5.11
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310511&version=12324275
2.6.9
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310511&version=12324384
2.7.6
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310511&version=12324383

The Maven staging areas are at:
xjc-utils:
https://repository.apache.org/content/repositories/orgapachecxf-153
2.5.11
https://repository.apache.org/content/repositories/orgapachecxf-152
2.6.9
https://repository.apache.org/content/repositories/orgapachecxf-155
2.7.6
https://repository.apache.org/content/repositories/orgapachecxf-159

The distributions are in the org/apache/cxf/apache-cxf/ directory of the Maven 
staging areas.


This releases are tagged at:
http://svn.apache.org/repos/asf/cxf/xjc-utils/tags/xjc-utils-2.6.2/
http://svn.apache.org/repos/asf/cxf/tags/cxf-2.5.11
http://svn.apache.org/repos/asf/cxf/tags/cxf-2.6.9
http://svn.apache.org/repos/asf/cxf/tags/cxf-2.7.6

This vote will be open for at least 72 hours.


--
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com



--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to