NullPointerException when opening a form in Workbench
search cancel

NullPointerException when opening a form in Workbench

book

Article ID: 50418

calendar_today

Updated On:

Products

CA Harvest Software Change Manager - OpenMake Meister CA Harvest Software Change Manager

Issue/Introduction

The user double clicks on a form to open it in Workbench and receives the following error:

There was no corresponding error in the Workbench Output Log, but checking the "C:\Users\<userid>\.cascm\workspace\.metadata\.log" file this error was found:

!ENTRY org.eclipse.jface 4 2 2025-06-30 13:43:02.233
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
    at com.ca.harvest.core.utils.cmsdk.FormUtils.getFormTemplate(FormUtils.java:277)

Environment

Harvest Software Change Manager v12.x and higher

Resolution

The reason for the message is that the user does not belong to a group with "View Form Type Access" permission. Here's how to solve the problem:

  1. Open the Administrator tool and from the menu at the top select SCM -> Access Control.
  2. In the Access Type drop down list select "View Form Type Access".
  3. Add the user's group to the access list.
  4. Click the Close button to confirm the change.

After this, your user will need to close Workbench and log back in.  Then he be able to view forms in Workbench.

Additional Information

More information about access permissions can be found in the documentation here: Control Object Access