ERROR: HTTP 500 after upgrade of BI or Add-ons

ERROR: HTTP 500 “while trying to invoke the method java.util.Properties.entrySet() of an object loaded from local variable ‘globalProperties’ ” after upgrade of BI or Add-ons

ERROR: “while trying to invoke the method java.util.Properties.entrySet() of an object loaded from local variable ‘globalProperties'” after upgrade to BI 4.1 SP1

Below error is seen in stderr.log after upgrading SAP BusinessObjects Business Intelligence 4.x or SAP Lumira BIP Add-on 1.x:

org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [equinoxbridgeservlet] in context with path [/BOE] threw exception
java.lang.NullPointerException: while trying to invoke the method java.util.Properties.entrySet() of an object loaded from local variable globalProperties’

Below error is seen while attempting to open BI Launchpad or Central Management Console (CMC) post upgrade:


HTTP Status 500
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception

java.lang.NullPointerException: while trying to invoke the method java.util.Properties.entrySet() of an object loaded from local variable ‘globalProperties’

BOE.war file was not deployed correctly.

  1. Stop Tomcat.
  2. Tomcat 8: Delete BOE folder from tomcat\work\Catalina\localhost folder
  3. Tomcat 8: Delete BOE folder from tomcat\webapps folder after taking a backup of the existing BOE folder.
  4. Navigate to \InstallDIR\BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\wdeploy folder in a command prompt
  5. Run the below command:
  6. Tomcat 8: wdeploy tomcat8 -DAPP=BOE predeploy. Wait till you get a BUILD SUCCESSFUL message.
  7. Run the below command:
  8. Tomcat 8: wdeploy tomcat8 -DAPP=BOE deploy. Wait till you get a BUILD SUCCESSFUL message.
  9. Start Tomcat.
  10. Wait for the tomcat to be stable as the Cache genration takes time.
  • Notes:
  • If a backup instead of deletion is required, the backup has to be done completely OUTSIDE the SAP BusinessObjects Folder Structure.
  • A backup / deletion of ALL folders in the localhost and webapps folders requires the command wdeploy tomcat8 deployall instead of steps 6. and 8.
Author: