APAR status
Closed as program error.
Error description
Adding value to a sequenced and copied DataObject throws a NullPointerException
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of IBM WebSphere Application Server * * v7 Feature Pack for Service Component * * Architecture (SCA) Refresh Pack v1.0.1 and * * WebSphere Process Server v7.0 * **************************************************************** * PROBLEM DESCRIPTION: Adding a value to a sequenced and * * copied DataObject throws a * * NullPointerException * **************************************************************** * RECOMMENDATION: * **************************************************************** If you create a sequenced data object, make a copy, then add a value to the copied sequenced data object, it will result in a NullPointerException. Below is one example. DataObject dobj = dataFactory.create("mynamespace", "SequencedType"); dobj = copyHelper.copy(dobj); dobj.getSequence().add("myProperty", "test"); // Throw NPE
Problem conclusion
The root cause of this problem is the Cursor/element representing the sequenced data object was released prematurely. The solution is to keep the reference until not needed. APAR PM19038 is currently targeted for inclusion in Service Level (Fix Pack) 1.0.1.7 of WebSphere Application Server v7 Feature Pack for Service Component Architecture (SCA) Refresh Pack. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Comments
APAR Information
APAR number
PM19038
Reported component name
WAS SCA FEATURE
Reported component ID
5724J0854
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-07-22
Closed date
2010-08-17
Last modified date
2010-08-17
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
WAS SCA FEATURE
Fixed component ID
5724J0854
Applicable component levels
R700 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.1","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
09 February 2022