java.lang.NullPointerException when trying to get the access key SDM REST
search cancel

java.lang.NullPointerException when trying to get the access key SDM REST

book

Article ID: 277495

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager CA Service Desk Manager

Issue/Introduction

The following error appears 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
   

Environment

Service Desk Manager 17.x

Cause

temp data causing the issue to occur

Resolution

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.