53
Views
1
Comments
Solved
[Case Management framework] Can't deploy Case Management Framework 1.0.0 to next environment using LifeTime
Forge component by OutSystems R&D
4
Published on 08 Oct 2020

I've 1-click published the CMF 1.0.0 osp to our DEV environment through SC. When I try to promote Case Management Core and Case Management Framework to our test environment through LT, I get the error "There was an error while validating the deployment plan."

The error logs on LT SC show the following:

020-08-26 16:48:10LTDeployments
(LifeTime)
Error while checking references status for consumer 'ReferralRequest_CS(f2557f80-2259-4cd7-814f-c5ee4f60809a)'.
[Redacted]Detail
2020-08-26 16:48:10LTDeployments
(LifeTime)
Error invoking CheckReferenceStatus: [1] Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at OutSystems.NssDependencyAnalysis.SignatureCompatibilityAnalyzerWrapper.ConcreteAnalyzerWrapper.CheckReferencesStatus(Byte[] consumerModule, ValueTuple`4[] producerSignatures, IDictionary`2 modulesPerDatabase)

[2] Object not found: /OriginalReferences.4aEixTOfZkaDcOXJgECx6w/ReferenceEntities.pqtCAG6F00ijVPg05nuKkA/IdentifierType
at OutSystems.HubEdition.Compiler.CompoundKeyResolver.GetObject(CompoundKey key, AbstractObject relativeTo)
at OutSystems.HubEdition.Compiler.AbstractStructureAttribute.get__type()
at OutSystems.HubEdition.Compiler.References.CompatibilityAlgorithm.<>c.<.cctor>b__42_17(ReferenceStructureAttribute attribute)
at OutSystems.HubEdition.Compiler.References.CompatibilityAlgorithm.AreCollectionsCompatible[Type](IEnumerable`1 originalCollection, IEnumerable`1 currentCollection, Func`3 changeIsCompatible, Func`2 addIsCompatible, Func`2 removeIsCompatible)
at OutSystems.HubEdition.Compiler.References.CompatibilityAlgorithm.AreReferenceStructuresCompatible(ReferenceStructure consumerReference, ReferenceStructure producerReference)
at OutSystems.HubEdition.Compiler.References.CompatibilityAlgorithm.AreReferenceElementsCompatible(ITopLevelReferenceElement consumerRefElement, ITopLevelReferenceElement matchingProdRef, IApplicationInformationService applicationInformationService)
   at OutSystems.HubEdition.Compiler.References.SignatureCompatibilityUtils.CheckReferenceStatus(Byte[] consumerEspace, ProducerSignature[] compilerProducerSignatures, Dictionar

[Redacted]Detail
2020-08-26 16:48:10LTDeployments
(LifeTime)
Error invoking CheckReferenceStatus: [1] Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at OutSystems.NssDependencyAnalysis.SignatureCompatibilityAnalyzerWrapper.ConcreteAnalyzerWrapper.CheckReferencesStatus(Byte[] consumerModule, ValueTuple`4[] producerSignatures, IDictionary`2 modulesPerDatabase)

[2] Object not found: /OriginalReferences.4aEixTOfZkaDcOXJgECx6w/ReferenceEntities.pqtCAG6F00ijVPg05nuKkA/IdentifierType
at OutSystems.HubEdition.Compiler.CompoundKeyResolver.GetObject(CompoundKey key, AbstractObject relativeTo)
at OutSystems.HubEdition.Compiler.AbstractStructureAttribute.get__type()
at OutSystems.HubEdition.Compiler.References.CompatibilityAlgorithm.<>c.<.cctor>b__42_17(ReferenceStructureAttribute attribute)
at OutSystems.HubEdition.Compiler.References.CompatibilityAlgorithm.AreCollectionsCompatible[Type](IEnumerable`1 originalCollection, IEnumerable`1 currentCollection, Func`3 changeIsCompatible, Func`2 addIsCompatible, Func`2 removeIsCompatible)
at OutSystems.HubEdition.Compiler.References.CompatibilityAlgorithm.AreReferenceStructuresCompatible(ReferenceStructure consumerReference, ReferenceStructure producerReference)
at OutSystems.HubEdition.Compiler.References.CompatibilityAlgorithm.AreReferenceElementsCompatible(ITopLevelReferenceElement consumerRefElement, ITopLevelReferenceElement matchingProdRef, IApplicationInformationService applicationInformationService)
   at OutSystems.HubEdition.Compiler.References.SignatureCompatibilityUtils.CheckReferenceStatus(Byte[] consumerEspace, ProducerSignature[] compilerProducerSignatures, Dictionar
Extension metho[Redacted]Detail


Id:

b639c960-59b3-4e5a-b399-43a95b4e85f6

Time of Log:

2020-08-26 16:53:10

Request Key:afd98209-28d6-4752-a6ad-36f636476daf

Module:

lifetime

Tenant:

ServiceCenter

User:

[Redacted]

Session Id:

pb8OIj5bO0irO9O9SAInmg==

Server:

[Redacted]

Module:


Message:

Error while checking references status for consumer 'ReferralRequest_CS(f2557f80-2259-4cd7-814f-c5ee4f60809a)'.

Environment InformationeSpaceVer: Id=312, PubId=0, CompiledWith=11.0.609.0
RequestUrl: https://tpgocp-lt.outsystemsenterprise.com/lifetime/Staging_Edit.aspx?_ts=1598460786161 (Method: POST)
AppDomain: /LM/W3SVC/1/ROOT/lifetime-177-132421036076650144
FilePath: D:\OutSystems\Platform Server\running\lifetime.445374300\Staging_Edit.aspx
ClientIp: 80.225.184.200
Locale: en-US
DateFormat: yyyy-MM-dd
PID: 3448 ('w3wp', Started='4/20/2020 2:01:21 AM', Priv=1603Mb, Virt=2108143Mb)
TID: 479
Thread Name:
.NET: 4.0.30319.42000

Stack:

Error while checking references status for consumer 'ReferralRequest_CS(f2557f80-2259-4cd7-814f-c5ee4f60809a)'.
at ssLifeTimeEngine.Actions.ActionCheckReferenceStatus(HeContext heContext, RCBooleanModuleVersionModuleRecord inParamConsumer, RLModuleVersionReferenceModuleTypeModuleVersionProducerSignatureModuleVersionModuleRecordList inParamReferences, ENEnvironmentEntityRecord inParamSourceEnvironment, ENEnvironmentEntityRecord inParamTargetEnvironment, RLIncompatibleModuleList& outParamIncompatibleModules)
at ssLifeTimeEngine.Actions.ActionCheckReferenceStatusWithCache(HeContext heContext, RCBooleanModuleVersionModuleRecord inParamConsumer, RLModuleVersionReferenceModuleTypeModuleVersionProducerSignatureModuleVersionModuleRecordList inParamReferences, ENEnvironmentEntityRecord inParamSourceEnvironment, ENEnvironmentEntityRecord inParamTargetEnvironment, Object inParamHashTable_ProducerModules, RLEindhoven_InconsistentModuleReferenceRecordList& outParamInconsistencies)
at ssLifeTimeEngine.Actions.ActionGetModuleInconsistenciesO11_Cache(HeContext heContext, Int32 inParamStagingId, Int32 inParamTimeoutInSeconds, RLEindhoven_InconsistentModuleReferenceRecordList& outParamInconsistencies, Boolean& outParamTimeoutReached)
at ssLifeTimeEngine.Actions.ActionGetModuleInconsistencies(HeContext heContext, RLEindhoven_StagingModuleVersionInfoRecordList inParamVersions, Int32 inParamStagingId, Int32 inParamTimeoutInSeconds, RLEindhoven_InconsistentModuleReferenceRecordList& outParamInconsistencies, Boolean& outParamTimeoutReached, Int32& outParamStagingValAlgorithm)
at ssLTDeployments.RsseSpaceLifeTimeEngine.MssGetModuleInconsistencies(HeContext heContext, RecordList inParamVersions, Int32 inParamStagingId, Int32 inParamTimeoutInSeconds, RecordList& outParamInconsistencies, Boolean& outParamTimeoutReached, Int32& outParamStagingValAlgorithm)
   at ssLTDeployments.Actions.ActionDeployment_ValidateInternal(HeContext heContext, Int32 inParamStagingId, Boolean inParamIsSynchronous, Boolean inParamAvoidAsyncFallback, Boolean& outParamFinished, Int32& outParamNumberOfAddedInconsistencies, Int32& outParamStagingValAlgorithm, Boolean& outParamSuccess, String& outParamMessage)


Please advise how I can promote the code to the next environment through LT?

Thanks

Ross

Rank: #110
Solution

Hi Ross,

The message "error while validating the deployment plan" in general indicates that there are missing reference. Which means the component is dependent on some application which needs to be deployed as well (if not already). Checkout in the LifeTime for the missing application name.

See Deploy to an Environment with Applications with Errors 


Regards,

Swatantra