APAR status
Closed as program error.
Error description
The problem was detected in WebSphere Application Server Version 6.1.0.23 with Feature Pack for EJB 3.0. The problem can also occur in any WebSphere Application Server Version 6.1 with Feature Pack for EJB 3.0. and WebSphere Application Server Version 7.o. The full description of the problem was referenced from: https://issues.apache.org/jira/browse/OPENJPA-873
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server Feature Pack for EJB 3.0 * **************************************************************** * PROBLEM DESCRIPTION: A NullPointerException is thrown * * during entity metadata processing. * **************************************************************** * RECOMMENDATION: * **************************************************************** When enhancing certain entities that follow the pattern where an entity declaring a compound identity with the @IdClass approach inherits from a mapped superclass, a NullPointerException can result, with the sample stack dump: Exception in thread "main" java.lang.NullPointerException at org.apache.openjpa.meta.ClassMetaData.validateAppIdClass(ClassMe taData.java:1883) at org.apache.openjpa.meta.ClassMetaData.validateIdentity(ClassMeta Data.java:1840) at org.apache.openjpa.meta.ClassMetaData.validateMeta(ClassMetaData .java:1757) at org.apache.openjpa.meta.ClassMetaData.resolve(ClassMetaData.java :1630) at org.apache.openjpa.meta.MetaDataRepository.processBuffer(MetaDat aRepository.java:717) at org.apache.openjpa.meta.MetaDataRepository.resolveMeta(MetaDataR epository.java:616) at org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepos itory.java:541) at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataR epository.java:308) at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:249 ) at org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4502) at org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4449) at org.apache.openjpa.enhance.PCEnhancer$1.run(PCEnhancer.java:4419 ) at org.apache.openjpa.lib.conf.Configurations.launchRunnable(Config urations.java:726) at org.apache.openjpa.lib.conf.Configurations.runAgainstAllAnchors( Configurations.java:716) at org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4414) at org.apache.openjpa.enhance.PCEnhancer.main(PCEnhancer.java:4405)
Problem conclusion
The proper check is now made during the enhancement process to avoid the NullPointerException. The fix for this APAR is currently targeted for inclusion in fix pack 6.1.0.29. 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
PK87874
Reported component name
WAS EJB3 FEATUR
Reported component ID
5724J0851
Reported release
610
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-06-03
Closed date
2009-08-04
Last modified date
2009-08-04
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 EJB3 FEATUR
Fixed component ID
5724J0851
Applicable component levels
R610 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
10 February 2022