Symptoms

Domain has DNS records added by APS 1.2 Application. Attempt to remove such domain fails with error:

[ APSC] REST Error: DELETE /aps/2/application/rest/665106b1-000c-4a65-8b9c-dfd243ac5caa code=500: Internal error: APSC: Unprovisioning: resource e7d34e2a-d02c-4a21-ac19-7b26a33a8056 of type 'rest/dns-record/txt' (http://parallels.com/aps/types/pa/dns/record/txt/1.0) for APS application 'PACore-7.1.0.1-0': Application returned error with an empty message.

Cause

During domain removal, missing DNS record is being added to the domain.

Later such record is removed during the call to remove DNS zone APS resource, and then the call to remove specific record fails:

Oct 6 14:59:45.587 : INF [rest:1957 1:16333:7f37a17fb700 SAAS 1265472560]: [ HTTP] OUT 127.0.0.1:8081 Begin request: "DELETE /pa/rest/dns-record/txt/e7d34e2a-d02c-4a21-ac19-7b26a33a8056" 

Oct 6 14:59:45.639 : Caused by: java.lang.NullPointerException: null at com.parallels.pa.rest.domain.DnsRecordService.isDnsRecordApsReferencePKExists(DnsRecordService.java:392) at com.parallels.pa.rest.domain.DnsRecordService.unprovide(DnsRecordService.java:331)

The issue is acknowledged as APS-39127.

Resolution

Contact Odin Technical Support for a workaround.

Internal content

Link on internal Article