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.
exceptionjava.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.
- Stop Tomcat.
- Tomcat 8: Delete BOE folder from tomcat\work\Catalina\localhost folder
- Tomcat 8: Delete BOE folder from tomcat\webapps folder after taking a backup of the existing BOE folder.
- Navigate to \InstallDIR\BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\wdeploy folder in a command prompt
- Run the below command:
- Tomcat 8: wdeploy tomcat8 -DAPP=BOE predeploy. Wait till you get a BUILD SUCCESSFUL message.
- Run the below command:
- Tomcat 8: wdeploy tomcat8 -DAPP=BOE deploy. Wait till you get a BUILD SUCCESSFUL message.
- Start Tomcat.
- 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.