Strange error - Unable to cast object of type 'PlaceholderArgument' to type 'OutSyste

Strange error - Unable to cast object of type 'PlaceholderArgument' to type 'OutSyste

  

Did you ever get this error when publishing a tablet app?

thanks!



Internal Error

An error occurred in task 'Loading eSpace with key '015ca030-20ca-444d-a8f2-a453ae3ac061'':

Unable to cast object of type 'PlaceholderArgument' to type 'OutSystems.HubEdition.Compiler.Interfaces.IObjectWithExtendedProperties'.

Details : System.InvalidCastException: Unable to cast object of type 'PlaceholderArgument' to type 'OutSystems.HubEdition.Compiler.Interfaces.IObjectWithExtendedProperties'.

   at OutSystems.HubEdition.Compiler.ExtendedProperty.CreateOrUpdateStyleProperty(AbstractWidget widget)

   at OutSystems.HubEdition.Compiler.AbstractWidget.AfterLoad()

   at OutSystems.RuntimeCommon.CollectionsExtensions.Apply[Type](IEnumerable`1 collection, Action`1 action)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LoadChildren[Type](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.NRWebWidgets.WebBlockInstance.LoadChildren(ESpaceReader reader)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.InnerLoadChildren[Type](AbstractObject parent, CollectionIndex collectionIndex, ICompilerCollection`1 collection)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LoadChildren[Type](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.InnerLoadChildren[Type](AbstractObject parent, CollectionIndex collectionIndex, ICompilerCollection`1 collection)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LoadChildren[Type](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.NRWebWidgets.WebBlockInstance.LoadChildren(ESpaceReader reader)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.InnerLoadChildren[Type](AbstractObject parent, CollectionIndex collectionIndex, ICompilerCollection`1 collection)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LoadChildren[Type](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.InnerLoadChildren[Type](AbstractObject parent, CollectionIndex collectionIndex, ICompilerCollection`1 collection)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LoadChildren[Type](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.NRWebWidgets.WebBlockInstance.LoadChildren(ESpaceReader reader)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.InnerLoadChildren[Type](AbstractObject parent, CollectionIndex collectionIndex, ICompilerCollection`1 collection)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LazyLoadChildren[Type](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.AbstractObject.EnsureCacheableCollectionIsLoaded[Type](ICompilerSequence`1& collection, CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.NRNodes.AbstractWebContentNode.GetChildCollection(CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.Locale.InnerLoadTextResources(AbstractObject abstractObject, Boolean full, ObjectKey compilationUnitKey)

   at OutSystems.RuntimeCommon.CollectionsExtensions.Apply[Type](IEnumerable`1 collection, Action`1 action)

   at OutSystems.HubEdition.Compiler.Locale.InnerLoadTextResources(AbstractObject abstractObject, Boolean full, ObjectKey compilationUnitKey)

   at OutSystems.RuntimeCommon.CollectionsExtensions.Apply[Type](IEnumerable`1 collection, Action`1 action)

   at OutSystems.HubEdition.Compiler.Locale.InnerLoadTextResources(AbstractObject abstractObject, Boolean full, ObjectKey compilationUnitKey)

   at OutSystems.HubEdition.Compiler.Locale.EnsureResourceLoading(ESpace eSpace)

   at OutSystems.HubEdition.Compiler.ESpace.AfterLoad()

   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 '015ca030-20ca-444d-a8f2-a453ae3ac061'':

Unable to cast object of type 'PlaceholderArgument' to type 'OutSystems.HubEdition.Compiler.Interfaces.IObjectWithExtendedProperties'.

Details : System.InvalidCastException: Unable to cast object of type 'PlaceholderArgument' to type 'OutSystems.HubEdition.Compiler.Interfaces.IObjectWithExtendedProperties'.

   at OutSystems.HubEdition.Compiler.ExtendedProperty.CreateOrUpdateStyleProperty(AbstractWidget widget)

   at OutSystems.HubEdition.Compiler.AbstractWidget.AfterLoad()

   at OutSystems.RuntimeCommon.CollectionsExtensions.Apply[Type](IEnumerable`1 collection, Action`1 action)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LoadChildren[Type](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.NRWebWidgets.WebBlockInstance.LoadChildren(ESpaceReader reader)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.InnerLoadChildren[Type](AbstractObject parent, CollectionIndex collectionIndex, ICompilerCollection`1 collection)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LoadChildren[Type](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.InnerLoadChildren[Type](AbstractObject parent, CollectionIndex collectionIndex, ICompilerCollection`1 collection)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LoadChildren[Type](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.NRWebWidgets.WebBlockInstance.LoadChildren(ESpaceReader reader)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.InnerLoadChildren[Type](AbstractObject parent, CollectionIndex collectionIndex, ICompilerCollection`1 collection)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LoadChildren[Type](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.InnerLoadChildren[Type](AbstractObject parent, CollectionIndex collectionIndex, ICompilerCollection`1 collection)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LoadChildren[Type](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.NRWebWidgets.WebBlockInstance.LoadChildren(ESpaceReader reader)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.InnerLoadChildren[Type](AbstractObject parent, CollectionIndex collectionIndex, ICompilerCollection`1 collection)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LazyLoadChildren[Type](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.AbstractObject.EnsureCacheableCollectionIsLoaded[Type](ICompilerSequence`1& collection, CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.NRNodes.AbstractWebContentNode.GetChildCollection(CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.Locale.InnerLoadTextResources(AbstractObject abstractObject, Boolean full, ObjectKey compilationUnitKey)

   at OutSystems.RuntimeCommon.CollectionsExtensions.Apply[Type](IEnumerable`1 collection, Action`1 action)

   at OutSystems.HubEdition.Compiler.Locale.InnerLoadTextResources(AbstractObject abstractObject, Boolean full, ObjectKey compilationUnitKey)

   at OutSystems.RuntimeCommon.CollectionsExtensions.Apply[Type](IEnumerable`1 collection, Action`1 action)

   at OutSystems.HubEdition.Compiler.Locale.InnerLoadTextResources(AbstractObject abstractObject, Boolean full, ObjectKey compilationUnitKey)

   at OutSystems.HubEdition.Compiler.Locale.EnsureResourceLoading(ESpace eSpace)

   at OutSystems.HubEdition.Compiler.ESpace.AfterLoad()

   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.InvalidCastException: Unable to cast object of type 'PlaceholderArgument' to type 'OutSystems.HubEdition.Compiler.Interfaces.IObjectWithExtendedProperties'.

   at OutSystems.HubEdition.Compiler.ExtendedProperty.CreateOrUpdateStyleProperty(AbstractWidget widget)

   at OutSystems.HubEdition.Compiler.AbstractWidget.AfterLoad()

   at OutSystems.RuntimeCommon.CollectionsExtensions.Apply[Type](IEnumerable`1 collection, Action`1 action)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LoadChildren[Type](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.NRWebWidgets.WebBlockInstance.LoadChildren(ESpaceReader reader)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.InnerLoadChildren[Type](AbstractObject parent, CollectionIndex collectionIndex, ICompilerCollection`1 collection)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LoadChildren[Type](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.InnerLoadChildren[Type](AbstractObject parent, CollectionIndex collectionIndex, ICompilerCollection`1 collection)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LoadChildren[Type](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.NRWebWidgets.WebBlockInstance.LoadChildren(ESpaceReader reader)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.InnerLoadChildren[Type](AbstractObject parent, CollectionIndex collectionIndex, ICompilerCollection`1 collection)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LoadChildren[Type](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.InnerLoadChildren[Type](AbstractObject parent, CollectionIndex collectionIndex, ICompilerCollection`1 collection)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LoadChildren[Type](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.NRWebWidgets.WebBlockInstance.LoadChildren(ESpaceReader reader)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.InnerLoadChildren[Type](AbstractObject parent, CollectionIndex collectionIndex, ICompilerCollection`1 collection)

   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LazyLoadChildren[Type](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.AbstractObject.EnsureCacheableCollectionIsLoaded[Type](ICompilerSequence`1& collection, CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.NRNodes.AbstractWebContentNode.GetChildCollection(CollectionIndex collectionIndex)

   at OutSystems.HubEdition.Compiler.Locale.InnerLoadTextResources(AbstractObject abstractObject, Boolean full, ObjectKey compilationUnitKey)

   at OutSystems.RuntimeCommon.CollectionsExtensions.Apply[Type](IEnumerable`1 collection, Action`1 action)

   at OutSystems.HubEdition.Compiler.Locale.InnerLoadTextResources(AbstractObject abstractObject, Boolean full, ObjectKey compilationUnitKey)

   at OutSystems.RuntimeCommon.CollectionsExtensions.Apply[Type](IEnumerable`1 collection, Action`1 action)

   at OutSystems.HubEdition.Compiler.Locale.InnerLoadTextResources(AbstractObject abstractObject, Boolean full, ObjectKey compilationUnitKey)

   at OutSystems.HubEdition.Compiler.Locale.EnsureResourceLoading(ESpace eSpace)

   at OutSystems.HubEdition.Compiler.ESpace.AfterLoad()

   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()

nevermind, I lost everything since last "publish"... so now It compiles agail