Fix (APAR): JR31227 Status: Fix Release: 6.1.2.2,6.1.2.1,6.1.2 Operating System: AIX,HP-UX,i5/OS,Linux,Solaris,Windows,z/OS Supersedes Fixes: CMVC Defect: JR31227 Byte size of APAR: 165847 Date: 2009-06-08 Abstract: ServiceDeploy fails with NullPointerException in EIS binding Description/symptom of problem: JR31227 resolves the following problem: ERROR DESCRIPTION: In WebSphere Process Server V6.1.2 serviceDeploy command fails with the below exception trace: !MESSAGE [Fri Nov 21 13:39:56 EST 2008] 0000000c FFDC Z com.ibm.ws.sca.deploy.builder.util.Logger com.ibm.ws.sca.deploy#[EISDeploymentHandler.caseImport()] exception in generateDataBinding() Exception: java.lang.NullPointerException at com.ibm.ws.sca.deploy.eis.EISDeploymentHandler.findTypeInSchemaL ist(EISD eploymentHandler.java:1125) at com.ibm.ws.sca.deploy.eis.EISDeploymentHandler.findTypeInSchemaL ist(EISD eploymentHandler.java:1171) at com.ibm.ws.sca.deploy.eis.EISDeploymentHandler.findTypeInSchemaL ist(EISD eploymentHandler.java:1171) at com.ibm.ws.sca.deploy.eis.EISDeploymentHandler.findTypeInSchemaL ist(EISD eploymentHandler.java:1171) ... Caused by: java.lang.NullPointerException at com.ibm.ws.sca.deploy.eis.EISDeploymentHandler.findTypeInSchemaL ist(EISD eploymentHandler.java:1125) at com.ibm.ws.sca.deploy.eis.EISDeploymentHandler.findTypeInSchemaL ist(EISD eploymentHandler.java:1171) ... ... !MESSAGE Severity: [error] Description: CWSCA8057E: An error occurred while the data binding was being generated: null. Resource: IUISecurityMgtDataFacadeJDBC.import Folder: UISecurityMgtDataFacade !ENTRY com.ibm.ws.sca.rapiddeploy.headless 2 0 2008-11-21 13:40:06.211 !MESSAGE Severity: [error] Description: CWSCA8055E: An error occurred while generating the following artifact: org.eclipse.emf.common.util.WrappedException: java.lang.NullPointerException. Resource: IUISecurityMgtDataFacadeJDBC.import Folder: UISecurityMgtDataFacade LOCAL FIX: N/A PROBLEM SUMMARY USERS AFFECTED: WebSphere Process Server v6.1.2 and v6.2 users PROBLEM DESCRIPTION: ServiceDeploy fails with NullPointerException in EIS binding RECOMMENDATION: None NullPointerException is thrown out in EISDeploymentHandler.findTypeInSchemaList(..) when the defined schema has no targetNameSpace in wsdl. PROBLEM CONCLUSION: In EISDeploymentHandler, we need to check whether targetnamespace is null or not, if yes, make sure the NullPointerException isn't thrown out and let the program continue to run. Directions to apply fix: 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 Process Server. 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 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. 2) Follow the Fix instructions that are packaged with the Fix Installer on how to uninstall and reinstall the Fix. 3) Restart WebSphere Process Server. 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: