Fix (APAR): JR27051 Status: Fix Release: 6.0.2.1 Operating System: AIX,HP-UX,Linux,Solaris,Windows Supersedes Fixes: CMVC Defect: xxxxxx Byte size of APAR: 23013 Date: 2007-07-25 Abstract: When use data binding "WBIAdapterBGDataBindingImpl" in JMS import, NullPointerException(NPE) happens. Description/symptom of problem: JR27051 resolves the following problem: ERROR DESCRIPTION: Customer is trying to use a JMS import to put a message on a queue to be picked up by a WBI adapter. A NullPointerException is seen: Caused by: java.lang.NullPointerException at org.eclipse.emf.ecore.sdo.util.SDOUtil.getBoolean(SDOUtil.java:1 467) at org.eclipse.emf.ecore.sdo.impl.EDataObjectImpl.getBoolean(EDataO bjectImp l.java:878) at com.ibm.wbiserverspi.migration.BGSaver.saveAttributes(BGSaver.ja va:569) at com.ibm.wbiserverspi.migration.BGSaver.saveBusinessObject(BGSave r.java:3 74) at ... LOCAL FIX: none PROBLEM SUMMARY USERS AFFECTED: WebSphere Process Server and WebSphere Enterprise Service Bus 6.0.2.x users PROBLEM DESCRIPTION: When use data binding "WBIAdapterBGDataBindingImpl" in JMS import, NullPointerException(NPE) happens. RECOMMENDATION: None The data binding class com.ibm.wbiserverspi.wbia.runtime.WBIAdapterBGDataBindingImpl is used for transforming between a business graph and a legacy business object. When WBIAdapterBGDataBindingImpl converts a business graph to a legacy business object, the business graph does not have properties "delta" and "locale", but WBIAdapterBGDataBindingImpl tries to use the null properties. So NPE is threw. The exception looks like the following: java.lang.NullPointerException at org.eclipse.emf.ecore.sdo.util.SDOUtil.getBoolean (SDOUtil.java:1467) at org.eclipse.emf.ecore.sdo.impl.EDataObjectImpl.getBoolean (EDataObjectImpl.java:878) at com.ibm.wbiserverspi.migration.BGSaver.saveAttributes (BGSaver.java:569) at com.ibm.wbiserverspi.migration.BGSaver.saveBusinessObject (BGSaver.java:374) at com.ibm.wbiserverspi.migration.BGSaver.saveBusinessObject (BGSaver.java:453) at com.ibm.wbiserverspi.migration.BGSaver.saveDataObject (BGSaver.java:152) at com.ibm.wbiserverspi.migration.BOBGConverter.saveBO (BOBGConverter.java:187) at com.ibm.wbiserverspi.migration.BOBGConverter.saveBO (BOBGConverter.java:120) at com.ibm.wbiserverspi.wbia.runtime. WBIAdapterBGDataBindingHelper.getDataObjectAsXMLString (WBIAdapterBGDataBindingHelper.java:95) at com.ibm.wbiserverspi.wbia.runtime. WBIAdapterBGDataBindingImpl.getDataObjectAsXMLString (WBIAdapterBGDataBindingImpl.java:70) at com.ibm.wsspi.wbia.runtime.WBIAdapterDataBinding.write (WBIAdapterDataBinding.java:158) at com.ibm.ws.sca.internal.jms. AbstractJMSMethodBindingImpl.createRequestMessage (AbstractJMSMethodBindingImpl.java:407) PROBLEM CONCLUSION: The problem has been fixed by apply the iFix. 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: