Opening a form in Workbench creates a NullPointerException

Document ID : KB000050418
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

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

!ENTRY org.eclipse.jface 4 2 2010-09-28 12:15:02.221
!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)

Solution:

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 be able to view forms in Workbench.