Export Application Returns Error: Failed to export templates for application null (null)

book

Article ID: 109472

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

While exporting an application through the ROC UI -> Import/Export it returns an error: 
Error: Failed to export templates for application null (null)

 

Cause

It fails to export an application due to template pre-plan step that points to a missing environment

Environment

CA Release Automation 6.3.0.9840

Resolution

This is fixed in: 6.3.0.9945, 6.4.0.10135, 6.5.0.10109, 6.6.0.10059

Steps taken internally to confirm fix:

  1. Restore a copy of a database where the problem exists.
  2. Reproduce the export error.
  3. Apply 6.3.0.b9945. 
  4. Export again and confirm the export is successful.

 

As a workaround you can try deselecting the application name so that you can export the components. 

 

Note:

This problem and the patches mentioned above is very old. Please make sure to get to the latest supported version and apply the latest cumulative fixes if you're experiencing this issue. 

Additional Information

 

 

The following messages can be found in the nolio_export.log files for successful exports:

2018-08-02 18:12:01,355 [http-nio-8080-exec-6] DEBUG (com.nolio.platform.server.dataservices.services.exportimport.model.exportdata.ApplicationDataExporter:77) - Start Exporting application:SimpleApplication{name='<application Name>',id=103}

​2018-08-02 18:16:20,901 [http-nio-8080-exec-6] DEBUG (com.nolio.platform.server.dataservices.services.exportimport.model.exportdata.ApplicationDataExporter:179) - Finished Exporting application:SimpleApplication{name='<application Name>',id=103}