Post

1 follower Follow
0

Snapshot is getting hung while using empty module's

While using AIP Console 1.11.0.41 and AIP 8.3.15, we might receive following exception for empty modules when taking a snapshot and snapshot seems to be hanging.

ERR: 2019-12-10 04:13:30: Child task on exception
com.castsoftware.java.treatment.ChildTaskException:Child task on exception
com.castsoftware.java.treatment.Task.run(Task.java:399)
com.castsoftware.java.treatment.Task.runChildren(Task.java:590)
com.castsoftware.pmc.features.PrepareSnapshot.documentExecute(PrepareSnapshot.java:229)
com.castsoftware.mda.impl.MemoryTask.execute(MemoryTask.java:86)
com.castsoftware.java.treatment.Task.run(Task.java:380)
com.castsoftware.java.treatment.Task.runChildren(Task.java:590)
com.castsoftware.pmc.actions.snapshot.SnapshotGenerator.documentExecute(SnapshotGenerator.java:112)
com.castsoftware.mda.impl.MemoryTask.execute(MemoryTask.java:86)
com.castsoftware.java.treatment.Task.run(Task.java:380)
com.castsoftware.java.treatment.Task.runChildren(Task.java:590)
com.castsoftware.mda.impl.MemoryAction.execute(MemoryAction.java:272)
com.castsoftware.mda.impl.MemoryAction.topExecute(MemoryAction.java:265)
com.castsoftware.mda.transactions.SectionAction.runInternal(SectionAction.java:44)
com.castsoftware.mda.transactions.Section.runInTransaction(Section.java:192)
com.castsoftware.mda.transactions.Section.run(Section.java:137)
com.castsoftware.mda.transactions.Section.runHeadless(Section.java:308)
com.castsoftware.mda.run.ConfigurationManager.runVerb(ConfigurationManager.java:566)
com.castsoftware.mda.run.ConfiguredApplication.onTreatment(ConfiguredApplication.java:393)
com.castsoftware.pmc.run.PMCConfiguredApplication.onTreatment(PMCConfiguredApplication.java:530)
com.castsoftware.pmc.run.CLIPMCConfiguredApplication.onTreatment(CLIPMCConfiguredApplication.java:185)
com.castsoftware.mda.run.ConfiguredApplication$2.call(ConfiguredApplication.java:244)
com.castsoftware.mda.run.ConfiguredApplication$2.call(ConfiguredApplication.java:234)
com.castsoftware.util.logger.Logging.execute(Logging.java:527)
com.castsoftware.util.logger.Logging.runInNewContext(Logging.java:415)
com.castsoftware.mda.run.ConfiguredApplication.run(ConfiguredApplication.java:233)
com.castsoftware.pmc.run.CLIPMCConfiguredApplication.executeInLogContext(CLIPMCConfiguredApplication.java:107)
com.castsoftware.pmc.run.CLIPMCConfiguredApplication$1.call(CLIPMCConfiguredApplication.java:73)
com.castsoftware.pmc.run.CLIPMCConfiguredApplication$1.call(CLIPMCConfiguredApplication.java:68)
com.castsoftware.util.logger.Logging.execute(Logging.java:527)
com.castsoftware.util.logger.Logging.runInNewContext(Logging.java:415)
com.castsoftware.pmc.run.CLIPMCConfiguredApplication.execute(CLIPMCConfiguredApplication.java:67)
com.castsoftware.pmc.CLI.main(CLI.java:34)
The following modules are empty : 'schedule-distribution' 'equipment-monitoring' 'configuration' 'transport-exception' 'commons-ui-frontend'
com.castsoftware.java.ExternalException:The following modules are empty : 'schedule-distribution' 'equipment-monitoring' 'configuration' 'transport-exception' 'commons-ui-frontend'

in such scenario you should delete the empty module and rerun the snapshot.

As of now we do not have the option "ignore empty module" when taking a snapshot to avoid this exception

 

Please sign in to leave a comment.