ParentPk is invalid : null error on subobject process intances
search cancel

ParentPk is invalid : null error on subobject process intances

book

Article ID: 454444

calendar_today

Updated On:

Products

Clarity FedRAMP Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

Bg-ca.log file shows a "security.CustomSubObjectSecurityDelegate.... ParentObject is null : com.niku.odf.object.InvestmentObjectImpl@2bf4e3bd or ParentPk is invalid : null" when a process based ona subobject runs 

STEPS TO REPRODUCE:

  1. Administration > Studio > Objects
  2. Create a new object.
    • This is a subobject of the project object called 'subp'
    • Event enable it.
  3. Administration > Data Administration > Processes
  4. Create a new process.
    • Object: 'subp'
    • Start Options: Start Event On Create
    • Start Step tab create a Post Condition > subp.thissubp Name = 'test' > Go to Finish
    • Validate the process.
  5. Create a project and create subobject instance (This can be done either in Classic or MUX)
  6. At the subobject instance creation the process auto-starts correctly.

Expected Results; Look at the bg-ca.log file. Should not see errors
Actual Results: Look at the bg-ca.log file: ERROR 2026-09-01 07:34:08,616 [Post Condition Transition Pipeline 0 (tenant=clarity)] security.CustomSubObjectSecurityDelegate (clarity:process_admin:myuser__[redacted]:none) () Unable to load parent object for subp, either ParentObject is null : com.niku.odf.object.InvestmentObjectImpl@2bf4e3bd or ParentPk is invalid : null 

Environment

Clarity 16.4.X

Cause

This is caused by DE211435

Resolution

This is fixed in Clarity 16.5.0

This exception will be categorized as DEBUG instead of ERROR in Clarity 16.5.0 and above

You can safely ignore the error as it is harmless