2431
Views
7
Comments
Solved
Can't publish, getting an internal error

Hi, here's the error



Internal Error

An error occurred in task 'Loading eSpace with key 'bb6de114-7f3f-40c0-a834-62e9d2361728'':
Object not found: /WebFlows.JoYyDsv550eqmo6CQKHjkg/NodesShownInESpaceTree.XDuCn0jYkkiHFdukYm4Uvw
Details : System.InvalidOperationException: Object not found: /WebFlows.JoYyDsv550eqmo6CQKHjkg/NodesShownInESpaceTree.XDuCn0jYkkiHFdukYm4Uvw
   at OutSystems.HubEdition.Compiler.CompoundKeyResolver.GetObject(CompoundKey key, AbstractObject relativeTo)
   at OutSystems.HubEdition.Compiler.CompiledAbstractObject.RequireFullCompilationOnReferers(Boolean propagateToChildren)
   at OutSystems.HubEdition.Compiler.ReferenceEntity.CompiledReferenceEntity.ProcessSkipCompilationRules()
   at OutSystems.RuntimeCommon.CollectionsExtensions.Apply[Type](IEnumerable`1 collection, Action`1 action)
   at OutSystems.HubEdition.Compiler.CompilationResult.ProcessSkipCompilationRules()
   at OutSystems.HubEdition.Compiler.ESpace..ctor(Oml oml, CompilationContext context, Boolean loadModelOnly)
   at OutSystems.HubEdition.Compiler.Compiler.LoadEspace(CompilationContext context, HEMessageArrayList& messages, Byte[] fullOml, Byte[] partialOml, Boolean allowInvalid)
   at #WTb.#PUb.InnerExecute(IESpace& eSpace)
   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask`3.InnerExecute()
   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask.Execute()

Exception Details:
[1] Internal Error: An error occurred in task 'Loading eSpace with key 'bb6de114-7f3f-40c0-a834-62e9d2361728'':
Object not found: /WebFlows.JoYyDsv550eqmo6CQKHjkg/NodesShownInESpaceTree.XDuCn0jYkkiHFdukYm4Uvw
Details : System.InvalidOperationException: Object not found: /WebFlows.JoYyDsv550eqmo6CQKHjkg/NodesShownInESpaceTree.XDuCn0jYkkiHFdukYm4Uvw
   at OutSystems.HubEdition.Compiler.CompoundKeyResolver.GetObject(CompoundKey key, AbstractObject relativeTo)
   at OutSystems.HubEdition.Compiler.CompiledAbstractObject.RequireFullCompilationOnReferers(Boolean propagateToChildren)
   at OutSystems.HubEdition.Compiler.ReferenceEntity.CompiledReferenceEntity.ProcessSkipCompilationRules()
   at OutSystems.RuntimeCommon.CollectionsExtensions.Apply[Type](IEnumerable`1 collection, Action`1 action)
   at OutSystems.HubEdition.Compiler.CompilationResult.ProcessSkipCompilationRules()
   at OutSystems.HubEdition.Compiler.ESpace..ctor(Oml oml, CompilationContext context, Boolean loadModelOnly)
   at OutSystems.HubEdition.Compiler.Compiler.LoadEspace(CompilationContext context, HEMessageArrayList& messages, Byte[] fullOml, Byte[] partialOml, Boolean allowInvalid)
   at #WTb.#PUb.InnerExecute(IESpace& eSpace)
   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask`3.InnerExecute()
   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask.Execute()
at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask.Execute()
   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask`3.Run(InputType context, IMessageBroker messageBroker, OutputType& result)
   at OutSystems.HubEdition.ServerCommon.Tasks.TaskRunner.Run()
   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask.Execute()
   at #9Xb.#2Yb.#uo.#N4b()
   at OutSystems.HubEdition.ServerCommon.Tasks.TaskRunner.Run()
   at #9Xb.#2Yb.InnerExecute()
   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask.Execute()
   at OutSystems.HubEdition.DeploymentController.Compiler.<>c__DisplayClass261_0.<PublishOml>b__0()
   at OutSystems.HubEdition.DeploymentController.Compiler.PublishOml(Object publishContext)
   at #qPb.#Sub.#AQ.#3Cb(Object s)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
[2] System.InvalidOperationException: Object not found: /WebFlows.JoYyDsv550eqmo6CQKHjkg/NodesShownInESpaceTree.XDuCn0jYkkiHFdukYm4Uvw
   at OutSystems.HubEdition.Compiler.CompoundKeyResolver.GetObject(CompoundKey key, AbstractObject relativeTo)
   at OutSystems.HubEdition.Compiler.CompiledAbstractObject.RequireFullCompilationOnReferers(Boolean propagateToChildren)
   at OutSystems.HubEdition.Compiler.ReferenceEntity.CompiledReferenceEntity.ProcessSkipCompilationRules()
   at OutSystems.RuntimeCommon.CollectionsExtensions.Apply[Type](IEnumerable`1 collection, Action`1 action)
   at OutSystems.HubEdition.Compiler.CompilationResult.ProcessSkipCompilationRules()
   at OutSystems.HubEdition.Compiler.ESpace..ctor(Oml oml, CompilationContext context, Boolean loadModelOnly)
   at OutSystems.HubEdition.Compiler.Compiler.LoadEspace(CompilationContext context, HEMessageArrayList& messages, Byte[] fullOml, Byte[] partialOml, Boolean allowInvalid)
   at #WTb.#PUb.InnerExecute(IESpace& eSpace)
   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask`3.InnerExecute()
   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask.Execute()



I've deleted some stuff from Core nothing that should matter, why is this happening?

2023-12-07 07-51-40
Remco Dekkinga
 
MVP
Solution

An easier way to fix this issue is by running the -recover option of the module that is giving you the problems.

Execute "servicestudio.exe -recover <your_modulename.oml>"

This will open ServiceStudio in recovery mode and rebuilds the oml, which fixes the error mentioned above. 


2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Fábio,

I'd contact OutSystems Support for this.

2024-09-14 05-42-00
Ozan Can Çalı
Champion

Hi,

I'm facing a similar issue. Could you get over it?

2024-09-14 05-42-00
Ozan Can Çalı
Champion

Well just for the record; my issue was solved when I just saved and closed the module, then opened, change something trivial and tried to publish it again. But that helped only once.

This is caused by something added to the code after the last successful publish. The error stack doesn't give much info, either. So removing the newly added stuff one by one and retrying the publish could be an approach.

UserImage.jpg
Maitha Khanji

Ozan Cali wrote:

Well just for the record; my issue was solved when I just saved and closed the module, then opened, change something trivial and tried to publish it again. But that helped only once.

This is caused by something added to the code after the last successful publish. The error stack doesn't give much info, either. So removing the newly added stuff one by one and retrying the publish could be an approach.

thanks this is solved my Publish issue as well. but it is time consuming to keep saving, closing and opening...

2017-03-28 10-50-47
Paul.

Thank you, this worked for me as well.
Strange that you have to close Service Studio to get a different OML compiled.

2023-12-07 07-51-40
Remco Dekkinga
 
MVP
Solution

An easier way to fix this issue is by running the -recover option of the module that is giving you the problems.

Execute "servicestudio.exe -recover <your_modulename.oml>"

This will open ServiceStudio in recovery mode and rebuilds the oml, which fixes the error mentioned above. 


2022-06-06 19-53-51
Nathaly Virginia

Hello!

Mine gave this error, I saved the application externally (not to miss my changes) and I had to close the service studio, after reopening, I published the application and it worked.

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