REST GET NullPointerException

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

when issuing a REST GET model request with one or more attr parameters, a NullPointerException is returned. On a Spectrum 10.1.1 and machine, the REST GET request is successful. 


Tested with the following expression: 




Note: when no attr parameters are given, the request is successful: 




The test has been performed with a restclient, Firefox, Chrome and Internet Explorer.

Spectrum 10.2

 The problem is that, newly added functionality in WebClient to display the Names for the Attribute IDs disturbed the REST calls code.


This issue is addressed in the following two patches:

The Spectrum_10.02.00.PTF_10.2.018 only addresses this issue.

The Spectrum_10.02.00.PTF_10.2.041 addresses this issue along with several other issues with the Web Client. Reference Knowledge Document TEC1866435 - Alarm Filter is not working properly in the Spectrum Web Client for more information.

Please contact CA Spectrum Support if you are experiencing this issue. 

Additional Information:

To work around the issue without installing a patch, users will need to launch the WebClient (OC Admin page -> WebClient) for the first time, before making REST calls.

If tomcat is restarted, user will need to log out of the Web Client and log back in.