APAR status
Closed as program error.
Error description
Error Message: Exception during encoding:java.lang.Exception: failed to write expression: XMLSerializeEnumTest$Animal=Class.new(); Continue... Exception during encoding:java.lang.Exception: failed to write expression: XMLSerializeEnumTest$Animal=Class.new(); Continue... . Stack Trace: N/A .
Local fix
Problem summary
Duplicate of IZ85023 This is a difference between SUNJDK and IBMJDK. For java5 of both IBMJDK and SUNJDK, it throws error messages: Exception during encoding:java.lang.Exception: failed to write expression: Snippet$Element=Class.new(); Continue... Exception during encoding:java.lang.Exception: failed to write expression: Snippet$Element=Class.new(); Continue... But for java6 of SUNJDK, it successfully encodes the enum type object while IBMJDK still throws the error message.
Problem conclusion
This defect will be fixed in: 6.0.0 SR9 . An default persistence delegate is added to beans module for processing Enum type object.
Temporary fix
Comments
APAR Information
APAR number
IZ92409
Reported component name
JAVA CLASS LIBS
Reported component ID
620700130
Reported release
600
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-01-19
Closed date
2011-01-30
Last modified date
2012-06-26
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
JAVA CLASS LIBS
Fixed component ID
620700130
Applicable component levels
R600 PSN
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
26 June 2012