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


Article ID: 109472


Updated On:


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


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



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


CA Release Automation


This is fixed in:,,,

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. 



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}