Fixes are available
8.5.5.9: WebSphere Application Server V8.5.5 Fix Pack 9
8.5.5.10: WebSphere Application Server V8.5.5 Fix Pack 10
8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
8.5.5.17: WebSphere Application Server V8.5.5 Fix Pack 17
8.5.5.20: WebSphere Application Server V8.5.5.20
8.5.5.18: WebSphere Application Server V8.5.5 Fix Pack 18
8.5.5.19: WebSphere Application Server V8.5.5 Fix Pack 19
8.5.5.16: WebSphere Application Server V8.5.5 Fix Pack 16
8.5.5.21: WebSphere Application Server V8.5.5.21
APAR status
Closed as program error.
Error description
When using the JAXB Unmarshalling in WebSphere Application Server run time, it does not work . Unmarshalling a simple XML string, all values will return null. When a ValidationEventHandler is set, the XML string is unmarshalled correctly. WebSphere Application Server V 8.5 Distributed operating systems.
Local fix
NA
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server V8.5 * **************************************************************** * PROBLEM DESCRIPTION: JAXB Unmarshaller produces a null * * value when an XML element starts with * * an upper case letter under cetain * * conditions * **************************************************************** * RECOMMENDATION: * **************************************************************** When unmarshalling XML document such as: <?xml version="1.0" encoding="UTF-8"?> <root> <Text>Example</Text> </root> If Java field name is declared as: @XmlRootElement(name="root") public class Root { public String Text; } Value of the Text element will be null
Problem conclusion
Changed behavior to make sure java field names are not altered during the unmarhalling process for elements The fix for this APAR is currently targeted for inclusion in fix pack 8.5.5.9. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Possible fixes: 1. Use @XmlElement annotation: @XmlElement(name="Text") public String Text; 2. Use a lower case first letter in your code and XML: public String text;
Comments
APAR Information
APAR number
PI50020
Reported component name
WEBSPHERE APP S
Reported component ID
5724J0800
Reported release
850
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2015-10-06
Closed date
2016-01-12
Last modified date
2016-01-12
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBSPHERE APP S
Fixed component ID
5724J0800
Applicable component levels
R850 PSY
UP
Document Information
Modified date:
28 April 2022