Release Automation

 View Only
  • 1.  How to troubleshoot "Error: Runtime Exception during exporting: null"

    Posted Jul 11, 2016 10:24 AM

    Hello all.

     

    I could use some help troubleshooting a export problem. When I try to export a specific application, I get an error: "Error: Runtime Exception during exporting: null."

     

    The application uses several shared components and one regular component. It includes numerous processes, most of which have been published and used in deployments. There are no deployments running or in error state. Export from the legacy ASAP client also fails with a similar error. Exports of other applications work fine.

     

    Any suggestions of what to look for are welcome.



  • 2.  Re: How to troubleshoot "Error: Runtime Exception during exporting: null"

    Posted Jul 11, 2016 10:31 AM

    Did you check nolio_export.log log locate in the RA server/logs directory?

    Might include relevant information



  • 3.  Re: How to troubleshoot "Error: Runtime Exception during exporting: null"

    Posted Jul 11, 2016 10:55 AM

    Using the following log extract from nolio_export.log I identified that the 'Test_Pre-Plan' process had a problem.

     

    2016-07-11 10:31:01,150 [http-nio-8080-exec-4] DEBUG (com.nolio.platform.server.dataservices.services.exportimport.model.exportdata.ArchitectureDataExporter:304) - ---------------------Start Exporting published process [PublishedProcess{name='Test_Pre-Plan',id=1527}]

    2016-07-11 10:31:01,150 [http-nio-8080-exec-4] DEBUG (com.nolio.platform.server.dataservices.services.exportimport.model.exportdata.ArchitectureDataExporter:311) - ---------------------Start Exporting parameters and folders

    2016-07-11 10:31:01,150 [http-nio-8080-exec-4] DEBUG (com.nolio.platform.server.dataservices.services.exportimport.model.exportdata.DataExporter:246) - Exporting Parameter folder:StaticParameterFolder{name='Test_Pre-Plan',id=19323}

    2016-07-11 10:31:01,152 [http-nio-8080-exec-4] DEBUG (com.nolio.platform.server.dataservices.services.exportimport.model.exportdata.DataExporter:246) - Exporting Parameter folder:null

    2016-07-11 10:31:01,152 [http-nio-8080-exec-4] ERROR (com.nolio.platform.server.dataservices.services.exportimport.model.exportdata.ApplicationDataExporter:148) - Run time exception caught while exporting application Data-Driven_SingleServer [4]

    java.lang.NullPointerException

            at com.nolio.platform.server.dataservices.services.exportimport.model.exportdata.AbstractItemExporter.getAllParametersAndFolders(AbstractItemExporter.java:249)

            at com.nolio.platform.server.dataservices.services.exportimport.model.exportdata.AbstractItemExporter.getAllParametersAndFolders(AbstractItemExporter.java:261)

            at com.nolio.platform.server.dataservices.services.exportimport.model.exportdata.ArchitectureDataExporter.exportPublishedProcess(ArchitectureDataExporter.java:314)

    ...

     

    • Sure enough, once I selected that process in the Designer, i got the following error:

     

    "Unexpected error on server [null]. Please refer to server logs with timestamp [2016-40-11 10:40:33]"

     

    • The 'Test_Pre-Plan' process was obsolete anyway, so I just deleted it.
    • Now, I get the a similar exception in the export log for a different process that does not have an obvious problem:

     

    2016-07-11 10:41:46,649 [http-nio-8080-exec-8] DEBUG (com.nolio.platform.server.dataservices.services.exportimport.model.exportdata.ArchitectureDataExporter:304) - ---------------------Start Export

    ing published process [PublishedProcess{name='01_Pre-Plan',id=1211}]

    2016-07-11 10:41:46,649 [http-nio-8080-exec-8] DEBUG (com.nolio.platform.server.dataservices.services.exportimport.model.exportdata.ArchitectureDataExporter:311) - ---------------------Start Export

    ing parameters and folders

    2016-07-11 10:41:46,651 [http-nio-8080-exec-8] DEBUG (com.nolio.platform.server.dataservices.services.exportimport.model.exportdata.DataExporter:246) - Exporting Parameter folder:StaticParameterFol

    der{name='01_Pre-Plan',id=14909}

    2016-07-11 10:41:46,652 [http-nio-8080-exec-8] DEBUG (com.nolio.platform.server.dataservices.services.exportimport.model.exportdata.DataExporter:246) - Exporting Parameter folder:null

    2016-07-11 10:41:46,652 [http-nio-8080-exec-8] ERROR (com.nolio.platform.server.dataservices.services.exportimport.model.exportdata.ApplicationDataExporter:148) - Run time exception caught while ex

    porting application Data-Driven_SingleServer [4]

    java.lang.NullPointerException

            at com.nolio.platform.server.dataservices.services.exportimport.model.exportdata.AbstractItemExporter.getAllParametersAndFolders(AbstractItemExporter.java:249)

            at com.nolio.platform.server.dataservices.services.exportimport.model.exportdata.AbstractItemExporter.getAllParametersAndFolders(AbstractItemExporter.java:261)

            at com.nolio.platform.server.dataservices.services.exportimport.model.exportdata.ArchitectureDataExporter.exportPublishedProcess(ArchitectureDataExporter.java:314)

    ...



  • 4.  Re: How to troubleshoot "Error: Runtime Exception during exporting: null"
    Best Answer

    Posted Jul 11, 2016 01:29 PM

    I think you should open case at support.ca.com for proper analysis.

    Thanks

    Jacky



  • 5.  Re: How to troubleshoot "Error: Runtime Exception during exporting: null"

    Posted Jul 11, 2016 02:21 PM

    Thanks Jacky.

    Case has been opened.



  • 6.  Re: How to troubleshoot "Error: Runtime Exception during exporting: null"

    Broadcom Employee
    Posted Jul 11, 2016 04:23 PM

    Thanks for opening a case so we can take a closer look at this. Once we resolve the case, I'll also share the solution here in case it helps anyone else.



  • 7.  Re: How to troubleshoot "Error: Runtime Exception during exporting: null"

    Posted Jul 12, 2016 10:19 AM

    Thanks! I'm going to mark Jacky's comment suggesting a case be opened as correct until the full solution can be shared here.



  • 8.  Re: How to troubleshoot "Error: Runtime Exception during exporting: null"

    Posted Jun 20, 2017 06:06 AM

    Ciao,

    I get a similar error in exporting a specific application, while other applications are correctly exported. The error message is not very helpful, as you can see:

     

     

    there isn't any indication about how to proceed and further investigate the problem. This is the first time we try to export applications, so we don't know if this problem has been always present or not.

    What can we do to find out what went wrong ?

     

    Thanks