Unable to View Cost Plans in Financials Module in Modern UX

book

Article ID: 206086

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

The Financials module doesn’t work, but the Financial Plans module does for the same project in the Modern UX. 

The page is just blank and no visible error is thrown. However, the app-ca logs contain an error similar to the following: 

ERROR 2020-12-29 09:00:11,787 [http-nio-8081-exec-11] ppm.rest (clarity:<username>:12348068__BA87B428-748A-4F36-B3BB-8C2025E5CBB9:PPM_REST_API) Exception processing request for resource [describeAttributes], query string [/describeAttributes?_cb=1234567891234&fields=defaultValue&filter=%28resourceName+%3D+%27costPlans%27%29+and+%28name+in+%28%27periodType%27%2C%27groupingAttributes%27%29%29]
java.lang.NullPointerException
 at com.ca.ppm.rest.metadata.ResourceMetaDataHelper.getAttrDefaultValue(ResourceMetaDataHelper.java:123)...

Cause

Either the 'Grouping Attributes' or 'Period Type' have an invalid default value set on the Attributes tab on the Cost Plan object in Classic. When this is the case, the Default field will appear blank on the attribute properties page, even if there is a default stored in the database. 

Environment

Release : 15.8.1

Component : CA Clarity PPM Studio

Resolution

The invalid default value will need to be cleared out of these two attributes with the following steps: 

  1. In Classic, go to Administration - Objects - Cost Plan - Attributes tab
  2. Open the properties to the Grouping Attributes, click on the grey X on the Default field (even if it appears already blank), and click on Save and Return
  3. Open the properties to the Period Type, click on the grey X on the Default field (even if it appears already blank), and click on Save and Return

Once this is done, the Financials module will render as expected.