APAR status
Closed as program error.
Error description
Editing a FastTrack specification can fail to save with the following exception: ... Caused by: com.ascential.xmeta.persistence.PersistenceException: LockedByRoot object is not annotated as lockedByRoot.This should never happen. EClass: org.eclipse.emf.ecore.impl.EClassImpl@36283628 (name: Mapping) (instanceClassName: null) (abstract: false, interface: false) rids: [1a786.9524b0ae.31c131c1.a2bc25a2-75d4-4469.ae45.c26d10c245ef] at com.ascential.xmeta.persistence.impl.basic.BasicPersistence.putR idsIntoContainerRidMap(BasicPersistence.java:4066) at com.ascential.xmeta.persistence.impl.basic.BasicPersistence.buil dContainerRidMap_(BasicPersistence.java:3967) at com.ascential.xmeta.persistence.impl.basic.BasicPersistence.buil dContainerRidMap_(BasicPersistence.java:3984) at com.ascential.xmeta.persistence.impl.basic.BasicPersistence.buil dContainerRidMap_(BasicPersistence.java:3984) at com.ascential.xmeta.persistence.impl.basic.BasicPersistence.buil dContainerRidMap(BasicPersistence.java:3934) at com.ascential.xmeta.persistence.impl.basic.BasicPersistence.tran sformObjects(BasicPersistence.java:3845) at com.ascential.xmeta.persistence.impl.basic.BasicPersistence.prep areForStore(BasicPersistence.java:5293) at com.ascential.xmeta.persistence.impl.basic.BasicPersistence.doSt ore(BasicPersistence.java:1669) at com.ascential.xmeta.persistence.impl.basic.BasicPersistence.stor e(BasicPersistence.java:1602) at com.ascential.xmeta.repository.impl.AbstractDefaultRepository.sa ve(AbstractDefaultRepository.java:971) ... 16 more
Local fix
Problem summary
**************************************************************** USERS AFFECTED: All FastTrack users are affected. **************************************************************** PROBLEM DESCRIPTION: Saving a FastTrack Mapping Specification can fail. The WebSphereSystemOut.log contains a message like: Caused by: com.ascential.xmeta.persistence.PersistenceException:LockedByRoo t object is not annotated as lockedByRoot.This shouldnever happen. EClass: org.eclipse.emf.ecore.impl.EClassImpl@36283628 (name: Mapping) (instanceClassName: null) (abstract: false, interface: false) rids: [1a786.9524b0ae.31c131c1.a2bc25a2-75d4-4469.ae45.c26d10c245ef] **************************************************************** RECOMMENDATION: Install patch JR34016 to resolve this problem. This fix is included in 81 Fp1 ****************************************************************
Problem conclusion
The problem occurs when a lockedByRoot object is contained by another lockedByRoot object and that object is containe by non-rootOfLocking, non-lockedByRoot object. If the child-most object is saved by itself (without saving either of the parent objects), then the objects are transferred to the server with the child inflated and the parent as a proxy. When we checked the database to find the object's container, we did not check for the lockedByRoot or rootOfLocking stereotypes. The problem was resolved by adding checking for the lockedByRootand rootOfLocking stereotypes on container objects that are loaded from the database.
Temporary fix
Patch delivered to FastTrack for testing. They report that it seems to be working. Will close the APAR when FT releases.
Comments
APAR Information
APAR number
JR34016
Reported component name
WIS METADATA SE
Reported component ID
5724Q36MS
Reported release
810
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-08-17
Closed date
2010-01-21
Last modified date
2010-01-21
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
SERVICES
Fix information
Fixed component name
WIS METADATA SE
Fixed component ID
5724Q36MS
Applicable component levels
R810 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZJNN","label":"WebSphere Metadata Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.1","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
21 January 2010