This page will help you to solve problems related to failure at attaching package to version while adding the version of an application to CAST AIP Console.
CAST AIP Console is a front-end web application that provides a means to configure, run, and manage CAST AIP analyses on multiple analysis machines.
CAST AIP Console gives an Application Overview showing the application state regarding versions, analysis and snapshots, Technologies and framework identification and Matching technology between Tech Survey and source code delivered
For any issues with specific packaging, discovery, and extraction issues, please see the pages for the Delivery Manager Tool: Delivery Manager Tool Component DMT
For more information, refer to:
- Official documentation: CAST AIP Console
- Specifically for version addition: Add a new Version - deliver code - generate snapshot
- As well as: Advanced onboarding - add a new version and deliver source code
AIP Platform | Yes/No |
---|---|
CAST AIP 8.3 |
AIP Console Version | Yes/No |
---|---|
AIP Console 1.8.x or greater |
When the add version step fails at attach package to version step
and in the attach package to version log file we see the below error:
starting Task Generate Database-pkg-1.castextraction starting Task Extraction starting Task Extract Error: Child task on exception The program Extraction has not ended correctly (2006). Please see the DMT log and/or the program log for further details Return value: 1000
and in DmtDelivery_<VERSION>_attach_package_to_version we have the below error stack
2022-01-17 18:38:02.350 ERROR cast.utilities.consoleHandlerGenericLogError The program Extraction has not ended correctly (2006). 2022-01-17 18:38:02.350 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel Please see the DMT log and/or the program log for further details 2022-01-17 18:38:02.366 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.dmt.model.tasks.utilities.CommandLineTask.handleReturnCode(CommandLineTask.java:182) 2022-01-17 18:38:02.366 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.dmt.model.tasks.utilities.CommandPluginTask.handleReturnCode(CommandPluginTask.java:92) 2022-01-17 18:38:02.366 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.dmt.model.tasks.utilities.CommandLineTask.executeProcess(CommandLineTask.java:346) 2022-01-17 18:38:02.366 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.dmt.model.tasks.utilities.CommandLineTask.documentExecute(CommandLineTask.java:323) 2022-01-17 18:38:02.366 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.mda.impl.MemoryTask.execute(MemoryTask.java:86) 2022-01-17 18:38:02.366 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.java.treatment.Task.run(Task.java:380) 2022-01-17 18:38:02.366 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.java.treatment.Task.runChildren(Task.java:590) 2022-01-17 18:38:02.366 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.dmt.model.tasks.generation.PackageMainTask.documentInternalExecute(PackageMainTask.java:110) 2022-01-17 18:38:02.366 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.dmt.model.tasks.generation.PackageWorkflowStepMainTask.documentExecute(PackageWorkflowStepMainTask.java:136) 2022-01-17 18:38:02.381 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.mda.impl.MemoryTask.execute(MemoryTask.java:86) 2022-01-17 18:38:02.381 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.java.treatment.Task.run(Task.java:380) 2022-01-17 18:38:02.381 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.java.treatment.Task.runChildren(Task.java:590) 2022-01-17 18:38:02.381 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.dmt.model.tasks.utilities.BasicTaskHolder.documentExecute(BasicTaskHolder.java:34) 2022-01-17 18:38:02.381 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.mda.impl.MemoryTask.execute(MemoryTask.java:86) 2022-01-17 18:38:02.381 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.java.treatment.Task.run(Task.java:380) 2022-01-17 18:38:02.381 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.java.treatment.Task.runChildren(Task.java:590) 2022-01-17 18:38:02.397 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.mda.impl.MemoryAction.execute(MemoryAction.java:272) 2022-01-17 18:38:02.397 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.dmt.model.cli.GenerateCliAction.execute(GenerateCliAction.java:144) 2022-01-17 18:38:02.397 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.mda.impl.MemoryAction.topExecute(MemoryAction.java:265) 2022-01-17 18:38:02.397 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.mda.transactions.SectionAction.runInternal(SectionAction.java:44) 2022-01-17 18:38:02.397 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.mda.transactions.Section.runInTransaction(Section.java:192) 2022-01-17 18:38:02.397 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.mda.transactions.Section.run(Section.java:137) 2022-01-17 18:38:02.397 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.mda.transactions.Section.runHeadless(Section.java:308) 2022-01-17 18:38:02.397 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.mda.run.ConfigurationManager.runVerb(ConfigurationManager.java:566) 2022-01-17 18:38:02.412 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.mda.run.ConfiguredApplication.onTreatment(ConfiguredApplication.java:393) 2022-01-17 18:38:02.412 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.deliverytool.CLI.onTreatment(CLI.java:99) 2022-01-17 18:38:02.412 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.mda.run.ConfiguredApplication$2.call(ConfiguredApplication.java:244) 2022-01-17 18:38:02.412 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.mda.run.ConfiguredApplication$2.call(ConfiguredApplication.java:234) 2022-01-17 18:38:02.412 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.util.logger.Logging.execute(Logging.java:527) 2022-01-17 18:38:02.412 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.util.logger.Logging.runInNewContext(Logging.java:415) 2022-01-17 18:38:02.412 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.mda.run.ConfiguredApplication.run(ConfiguredApplication.java:233) 2022-01-17 18:38:02.428 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.deliverytool.CLI$1.call(CLI.java:41) 2022-01-17 18:38:02.428 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.deliverytool.CLI$1.call(CLI.java:33) 2022-01-17 18:38:02.428 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.util.logger.Logging.execute(Logging.java:527) 2022-01-17 18:38:02.428 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.util.logger.Logging.runInNewContext(Logging.java:415) 2022-01-17 18:38:02.428 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.deliverytool.CLI.main(CLI.java:32) 2022-01-17 18:38:02.428 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2022-01-17 18:38:02.428 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2022-01-17 18:38:02.428 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2022-01-17 18:38:02.444 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel java.lang.reflect.Method.invoke(Method.java:498) 2022-01-17 18:38:02.444 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.bootstrap.JarBootstrap.executeMain(JarBootstrap.java:529) 2022-01-17 18:38:02.444 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel com.castsoftware.bootstrap.JarBootstrap.main(JarBootstrap.java:755) 2022-01-17 18:38:02.444 DETAIL cast.utilities.consoleHandlerGenericLogInfo Task message: The program Extraction has not ended correctly (2006). Please see the DMT log and/or the program log for further details 2022-01-17 18:38:02.444 DETAIL cast.utilities.consoleHandlerGenericLogInfo Log file: D:\CAST\CASTMS\delivery\{f71ef407-3dda-4a20-87de-9ebfded6dc8b}\data\{f71ef407-3dda-4a20-87de-9ebfded6dc8b}\{a7896090-d6dd-42ce-90b3-730f985331cd}\{f8fcfe88-09ea-44f0-a4a6-a90083c71230}\extraction.CastLog2 2022-01-17 18:38:02.444 DETAIL cast.utilities.consoleHandlerGenericLogInfo ending Task Extract 2022-01-17 18:38:02.444 DETAIL cast.utilities.consoleHandlerGenericLogInfo Task message: Child task on exception 2022-01-17 18:38:02.444 DETAIL cast.utilities.consoleHandlerGenericLogInfo No associated log file 2022-01-17 18:38:02.444 DETAIL cast.utilities.consoleHandlerGenericLogInfo ending Task Extraction 2022-01-17 18:38:02.459 DETAIL cast.utilities.consoleHandlerGenericLogInfo Task message: Child task on exception 2022-01-17 18:38:02.459 DETAIL cast.utilities.consoleHandlerGenericLogInfo No associated log file 2022-01-17 18:38:02.459 DETAIL cast.utilities.consoleHandlerGenericLogInfo ending Task Generate Database-pkg-1-BAE.castextraction 2022-01-17 18:38:02.506 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel 2022-01-17 18:38:02.506 DETAIL cast.utilities.consoleHandlerGenericLogNoLevel Automates the delivery of a version when the delivery is managed by more than one Delivery Manager. This is the second step in the process and must be run by each Delivery Manager. It generates the version or a specific package. (Duration: 116585 ms)
and when you check extraction.castlog file from the path from the above error stack we have the below error:
2022-01-17 18:38:02.256 ERROR cast.dmt.extractor.squirrel.extraction.containFatalErrors Unkown format id: cast.dmt.extractor.squirrel.extraction.containFatalErrors => %NB%="1" 2022-01-17 18:38:02.272 ERROR cast.dmt.engine.extractor.sourcePackCreationException An exception has occurred during source package file creation com.castsoftware.util.logger.exceptions.LogException: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:-2) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at com.castsoftware.util.logger.exceptions.LogException.newInstance(LogException.java:79) at com.castsoftware.util.logger.Logging.createErrorException(Logging.java:1051) at com.castsoftware.util.logger.Logging.error(Logging.java:1110) at com.castsoftware.dmt.extractor.squirrel.SquirrelFilesExtractorCastextraction.getExistingSchemas(SquirrelFilesExtractorCastextraction.java:265) Caused by com.castsoftware.util.logger.exceptions.LogException: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:-2) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at com.castsoftware.util.logger.exceptions.LogException.newInstance(LogException.java:79) at com.castsoftware.util.logger.Logging.createErrorException(Logging.java:1051) at com.castsoftware.util.logger.Logging.error(Logging.java:1110) at com.castsoftware.dmt.extractor.squirrel.SquirrelFilesExtractorCastextraction.getExistingSchemas(SquirrelFilesExtractorCastextraction.java:265)
Then to troubleshoot the above message, you can
- Launch DMT or Cast standalone database extractor to perform database re-extraction.
- If the problem you are facing does not match any case listed on this page, report your problem to CAST Technical Support and provide the following Relevant input for CAST Technical Support to reproduce the issue.