ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Upgrade fails with error java.lang.NullPointerException on


Article ID: 130616


Updated On:


Clarity PPM SaaS Clarity PPM On Premise


Error message during upgrade:
Applying post-bootstrap xog-seeddata for component = database
Error Applying XOG: Failure occurred while applying BOARD_AUTONUMS.xml
Check $clarity/logs/xog-seeddata/out/database/BOARD_AUTONUMS_out.xml for errors
ERROR: Upgrade failed for tenant
$clarity/.setup/scripts/db.xml:2368: The following error occurred while executing this line:
$clarity/.setup/scripts/db.xml:571: The following error occurred while executing this line:
$clarity/.setup/scripts/db.xml:563: The following error occurred while executing this line:
$clarity/.setup/scripts/db.macros.xml:105: Java returned: 2
In the file BOARD_AUTONUMS_out.xml we can see :
Description>XOG-3360: Custom attribute record has not been inserted com.niku.union.odf.exception.ODFException: java.lang.NullPointerException at
at com.niku.odf.object.Utils.createObjectViews(
Caused by: java.lang.NullPointerException at


Release: CODFSS99000-15.5-PPM SAAS FedRAMP-Sandbox-Small Environment


Turned out customer's Load Data Warehouse job did not run successfully prior to the upgrade. Load Data Warehouse was failing with errors, which turned out to be due to few DWH views that were not having the latest DWH column names.The DWH views were not having CLARITY_UPDATED_DATE field as they should have done.
  1. Rollback to prior version
  2. Updated the DWH views on PPM database
  3. Ran Load Data Warehouse successfully
  4. Ran the upgrade

The Load Data Warehouse job must be ran successfully prior to starting upgrade.