'service clone app' fails java.lang.IllegalArgumentException

Document ID : KB000097867
Last Modified Date : 24/05/2018
Show Technical Document Details
Issue:
Attempting to clone app service via CSA or command line fails with java.lang.IllegalArgumentException. 

Steps to reproduce: 
  1. Log into the Clarity CSA. 
  2. Click on the All Services in the left hand pane. 
  3. Check the CA PPM Application service type 
  4. Click the "CLONE" button. 
Expected Results:
There is a new application service instance added to the list of available services. 

Actual Results: 
No service is added and the nsa-ca.log reports the following exception 
ERROR 2018-04-13 05:47:37,183 [NSA Job (10.162.4.85:9091)] niku.nsa (none:none:none:none) Failed to clone service: app^M 
java.lang.IllegalStateException: java.lang.IllegalArgumentException: 'null' is not a valid ApplicationServerInstanceTypeServiceTypeType 
at org.exolab.castor.xml.handlers.EnumFieldHandler.setValue(Unknown Source) 
at com.niku.union.utility.ObjectUtil.clone(ObjectUtil.java:125) 
at com.niku.union.utility.ObjectUtil.clone(ObjectUtil.java:58) 
at com.niku.nsa.service.ServiceUtil.cloneApplicationServerInstance(ServiceUtil.java:151) 
at com.niku.nsa.service.ServiceUtil.cloneApplicationService(ServiceUtil.java:98) 
at com.niku.nsa.xbl.handlers.ServiceJob.clone(ServiceJob.java:111) 
at com.niku.nsa.xbl.handlers.ServiceJob.runCmd(ServiceJob.java:79) 
at com.niku.nsa.xbl.handlers.AbstractJob.run(AbstractJob.java:67) 
at java.lang.Thread.run(Thread.java:745) 
Environment:
CA PPM 15.3, 15.4
Cause:
Due to defect DE40475.
Resolution:
The issue has been fixed in 15.4.1.83. New service could be added through both CSA and Command Line.