SAP Knowledge Base Article - Public

3117571 - While trying to invoke the method java.util.List.add(java.lang.Object) of a null object loaded from local variable 'errorMsgs'

Symptom

  • Crystal Reports schedule failed with error after upgrade to BI4.3:

            While trying to invoke the method java.util.List.add(java.lang.Object) of a null object loaded from local variable 'errorMsgs'

  • No issue in crystal report 2020 designer tool.
  • Can refresh the report without any issue.
  • Remove sub-report from the original report and save to BI server, then can schedule successfully.
  • Create a new report with sub-report in CR2020 and then save to BI server, no issue to refresh and schedule it.

Environment

  • SAP BusinessObjects Business Intelligence Platform (BI) 4.x
  • Crystal Reports 2020

Reproducing the Issue

  1. Upgrade from BI 4.1 to BI 4.3
  2. In Crystal Reports 2020, open a crystal report from BI server, then resave it to BI server.
  3. Schedule the crystal report to Run Now.
  4. The crystal report schedule failed, when trying to check the detailed failed reason, get the error in detailed page: While trying to invoke the method java.util.List.add(java.lang.Object) of a null object loaded from local variable 'errorMsgs'

Resolution

The issue has been fixed with a internal report, please upgrade to 4.3 Patch 1.2 or later patches.

See Also

2151614 - Webi schedules fail with error "while trying to invoke the method java.util.Locale.toString() of a null object loaded from local variable 'locale'"

Keywords

KBA , BI-BIP-ADM , BI Servers, security, Crystal Reports in Launchpad , Problem

Product

SAP Crystal Reports 2020