Fix (APAR): JR24750 Status: Fix Release: 6.0.1.3 Operating System: AIX,HP-UX,Linux,Solaris,Windows Supersedes Fixes: CMVC Defect: xxxxxx Byte size of APAR: 37007 Date: 2006-11-21 Abstract: NullPointerException occured when WPS builds bo from some schema definitions Description/symptom of problem: JR24750 resolves the following problem: ERROR DESCRIPTION: When importing some Oasis ebXML XSD types into WID/WPS to build Business Object, NullPointerException occurred: java.lang.NullPointerException at org.eclipse.emf.ecore.util.BasicExtendedMetaData.getAffiliation( BasicE xtendedMetaData.java(Compiled Code)) LOCAL FIX: Remove some of the element from the .xsd PROBLEM SUMMARY USERS AFFECTED: WebSphere Process Server 6.0.1.x users. PROBLEM DESCRIPTION: NullPointerException occured when WPS builds bo from some schema definitions RECOMMENDATION: None The NullPointerException happen in following scenario: There are two complex type definitions in xsd. One type extends another one. Parent type has a attribute with type of child type. In such scenario, child BO's model may miss some attributes in Parent BO. So when processing an instance of child BO, it may can not find these attributes and throw a NullPointerException. The exception is: java.lang.NullPointerException at org.eclipse.emf.ecore.util.BasicExtendedMetaData. getAffiliation(BasicExtendedMetaData.java(Compiled Code)) at org.eclipse.emf.ecore.impl.BasicEObjectImpl. eOpenGet(BasicEObjectImpl.java:493) at org.eclipse.emf.ecore.impl.BasicEObjectImpl. eDynamicGet(BasicEObjectImpl.java(Compiled Code)) at org.eclipse.emf.ecore.impl.BasicEObjectImpl. eGet(BasicEObjectImpl.java(Compiled Code)) at org.eclipse.emf.ecore.impl.BasicEObjectImpl. eGet(BasicEObjectImpl.java(Compiled Code)) PROBLEM CONCLUSION: The problem has been fixed by fix code about CoreFrameWork. Directions to apply fix: Before applying the iFix ensure that WebSphere Process Server 6.0.1 is installed on the system. Also download and follow Update Installer installation instructions. The Update Installer can be downloaded from the following link: http://www.ibm.com/support/docview.wss?rs=180&uid=swg21205991 1) Copy the pak file to the directory maintenance in the UpdateInstaller directory 2) Shutdown WebSphere Process Server. It is important that you perform a controlled and complete shutdown of the server to ensure that all transactions have completed, before installing the fix. 3) Run the UpdateInstaller and follow the prompts. 4) Restart WebSphere Directions to remove fix: NOTE: FIXES MUST BE REMOVED IN THE REVERSE ORDER IN WHICH THEY WERE APPLIED. DO NOT REMOVE A FIX UNLESS ALL FIXES APPLIED AFTER IT HAVE FIRST BEEN REMOVED. YOU MAY REAPPLY ANY REMOVED FIX. Example: If your system has fix1, fix2, and fix3 applied in that order and fix2 is to be removed, fix3 must be removed first, then fix2 may be removed 1) Shutdown WebSphere. It is important that you perform a controlled and complete shutdown of the server to ensure that all transactions have completed, before installing the fix. 2) Follow the Fix instructions that are packaged with the Fix Installer on how to uninstall and reinstall the Fix. 3) Restart WebSphere Directions to re-apply fix: 1) Shutdown WebSphere. It is important that you perform a controlled and complete shutdown of the server to ensure that all transactions have completed, before installing the fix. 2) Run the UpdateInstaller and follow the instructions. The Update Installer can be downloaded from the following link: http://www.ibm.com/support/docview.wss?rs=180&uid=swg21205991 3) Restart WebSphere Process Server Additional Information: