[OutDoc] Object reference not set to an instance of an object
Forge component by OutSystems R&D
Application Type
Traditional Web
Service Studio Version
11.11.4 (Build 43498)

Hi All,


After Platform serer Upgrade we are unable to generate document from Outdoc.

Throws Object reference not set to an instance of an object. I tried to Install with 3.0.9 and 3.0.10 Outdoc Versions.

Current Platform Server Version 11.12.0 (Build 30002). need Quick help

Object reference not set to an instance of an object.: System.NullReferenceException: Object reference not set to an instance of an object.    at ServiceStudio.CrashAPI.ExecutionExtensions.ExecuteWithSilentErrorHandling(ActionWrapper actionWrapper, String context, ExceptionType exceptionType, IExecutionContext executionContext)
at ServiceStudio.Model.AbstractObject.AssertValidReferers()
at ServiceStudio.Model.ModelExtensions.DoForSelfAndAllChildren(AbstractObject obj, Action`1 action)
at ServiceStudio.Model.AbstractObject.Delete()
at ServiceStudio.Model.AbstractEntity.DeleteEntityActionIfNeeded[ActionType]()
at ServiceStudio.Model.AbstractEntity.RefreshEntityActions()
at ServiceStudio.Model.AbstractEntity.RefreshState(RefreshReason reason, Func`2 wasSet, Func`2 additionalDataGetter)
at ServiceStudio.Model.ReferenceEntity.RefreshState(RefreshReason reason, Func`2 wasSet, Func`2 additionalDataGetter)
at ServiceStudio.Import.Importer.<>c__DisplayClass41_0.<FinalizeImportPart2>b__4(AbstractObject obj)
at ServiceStudio.Model.SSCollectionsExtensions.Apply[Type](ISSCollection`1 collection, Action`1 action)
at ServiceStudio.Import.Importer.FinalizeImportPart2(IImportTarget target, IImportAdditionalDataGetter importAdditionalDataGetter)
at ServiceStudio.Clone.ObjectCloner.RunPendingFinalizesAfterImportForSignatureGeneration(ESpace eSpace)
at ServiceStudio.Model.ESpace.SignatureManager.UpdateSignatures(IEnumerable`1 infos, Action`2 processSignature)
at ServiceStudio.Model.ESpace.SignatureManager.<>c__DisplayClass35_0.<UpdateSignatures>b__0()
at ServiceStudio.Common.Concurrency.ModelLockExtensions.<>c__DisplayClass2_0.<DoWriteOperation>b__0()
at ServiceStudio.Common.Concurrency.ModelLockExtensions.DoWriteOperation[T](IModelLock modelLock, Func`1 func)
at ServiceStudio.Model.ESpace.SignatureManager.UpdateSignatures(IEnumerable`1 keys)
at ServiceStudio.Model.ESpace.SignatureManager.<RegenerateAllSignatures>b__31_0()
at ServiceStudio.Common.Concurrency.ModelLockExtensions.<>c__DisplayClass2_0.<DoWriteOperation>b__0()
at ServiceStudio.Common.Concurrency.ModelLockExtensions.DoWriteOperation[T](IModelLock modelLock, Func`1 func)
at ServiceStudio.Model.ESpace.SignatureManager.RegenerateAllSignatures()
at ServiceStudio.Model.ESpace.Load(Stream stream, String initialLastSavePath, Boolean isUnregisteredESpace, Boolean readOnlyMode, Boolean recoverMode, ObjectKey newKeyForClone, String productKey, Nullable`1 forceModifiedFlag, IInformationForESpaceUpgrade informationForUpgrader, Predicate`1 isAvailable, Boolean skipUpgradesForForge, Nullable`1 isIsolated, Boolean needsDeterministicKeys)
at ServiceStudio.Model.ESpace.Load(Byte[] bytes, String initialLastSavePath, String productKey, Nullable`1 forceModifiedFlag, IInformationForESpaceUpgrade informationForUpgrader, Predicate`1 isAvailable, Boolean skipUpgradesForForge, Nullable`1 isIsolated)
at ServiceStudio.Model.ESpace.Load(Byte[] bytes, String productKey, IInformationForESpaceUpgrade informationForUpgrader, Predicate`1 isAvailable, Boolean skipUpgradesForForge)
at ServiceStudio.DocSaver.DocSaverWorker.GetDocumentation(Byte[] oml, String& xml, String& errorsXml)

at ssOutDoc.RssExtensionEspaceMetaModel.MssGetDocumentation(HeContext heContext, Byte[] inParamOml, String& outParamXml)
at ssOutDoc.Actions.ActionGetXML(HeContext heContext, Byte[] inParamFileContent, String& outParamXmlContent)
at ssOutDoc.Actions.ActionDocumentation_GenerateEspaceDocumentation(HeContext heContext, Int32 inParameSpaceVersionId, String& outParamxml, String& outParamerror)

I have the same issue

Hello

Can you isolate the issue in a sample OML and share? It would help troubleshooting the issue.

Thanks

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.