Error While Saving Project In Open Workbench: java.lang.NullPointerException
search cancel

Error While Saving Project In Open Workbench: java.lang.NullPointerException

book

Article ID: 138274

calendar_today

Updated On:

Products

Clarity PPM SaaS

Issue/Introduction

Error While attempting to save project from Open Workbench.  The project  is unable to be updated from open workbench.  The Project is able to be opened and view however the following error is received when attempting to save. 


Unable to save project CA PPM\<ProjectID>. An error occurred while trying to save your project: java.lang.NullPointerException

Resolution

Check for permissions missing to restricted subpages on projects that may be preventing the save. This can happen particularly if a field such as Open for Time Entry is on a secure subpage, and hte user doesn't have edit access rights to the subpage.


To check to see if the user is missing access to a secure subpage:

1. In Clarity go to Administration->Resources->Click on the resource with the issue

2. Click on the Resource's Access Rights tab and select 'Global'

3. Click Add

4. Filter for string *subpage* in the access rights box

Anything that shows up would indicate a secure subpage the user does not have access to. Those associated to the project object may be required access in order for the user to save the project back.



On premises customers can also query to check for secure subpages using the below query:


SELECT ID, CODE, VIEW_TYPE, PRINCIPAL_TYPE, VIEW_SUBTYPE, OBJECT_CODE, CAPTION, SEQUENCE, IS_SECURE, CREATED_DATE, CREATED_BY, LAST_UPDATED_DATE, LAST_UPDATED_BY FROM ODF_VIEWS WHERE is_secure = 1