The following error appears in the NX_ROOT\log\pdm_tomcat_REST.log when trying to generate an access key in the SDM REST WebService
org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
WARNING: Interceptor for {http://<URL>/}acctypService has thrown exception, unwinding now
java.lang.NullPointerException
Service Desk Manager 17.x
temp data causing the issue to occur
1. Stop tomcat for REST by running: pdm_tomcat_nxd -c stop -t REST
2. Delete the following:
2.1 All files in CATALINA_BASE_REST\temp
2.2 All files in CATALINA_BASE_REST\work
2.3 The following folder: CATALINA_BASE_REST\webapps\caisd-rest (ensure the caisd-rest.war exists in that folder before deleting the folder)
3. Start Tomcat for REST by running: pdm_tomcat_nxd -c start -t REST
4. Ensure that the following URL provides an xml output: http://<hostname>:<REST Port>/caisd-rest/rest_access/?_wadl
5. Generate the access code.
KB Article 267875 is an additional example of "java.lang.NullPointerException" messages associated with REST.