We are receiving Java.null.pointer exception errors while trying to create an agent object via the AdminUi

Document ID : KB000100871
Last Modified Date : 12/06/2018
Show Technical Document Details
Issue:
We recently installed and configured CA Single Sign-on 12.8 and we are receiving Java.null.pointer exception errors while trying to create an agent object via the AdminUI:

2018-06-05 10:24:23,623 [ERROR] com.ca.siteminder.rpc.rpc.ClientDispatcher [] - fault ServerException(com.ca.siteminder.sdk.adminapi.ServerException: ) ps.fetch 'CA.SM::AgentType@10-8d78bb96-ae15-11d1-9cdd-006008aac24b'
Environment:
SSO 12.8
Cause:
The reason for the issue in this case was because of policy store corruption. You can run xpssweeper to check if there are reported errors in the xpssweeper log.
Resolution:
As this was a new installation, we deleted the instance of the policy Store and followed documented steps to create a new instance and imported the default objects in SmMaster 

https://docops.ca.com/ca-single-sign-on/12-8/en/configuring/policy-server-configuration/configure-policy-server-data-storage-options
Additional Information:
https://docops.ca.com/ca-single-sign-on/12-8/en/configuring/policy-server-configuration/configure-policy-server-data-storage-options