Compilation error when publishing

  
Internal Error: Internal Error
 
Invalid compiler output.
String was not recognized as a valid Boolean.
 
Exception Details:
[1] Internal Error: Invalid compiler output.
String was not recognized as a valid Boolean.
at OutSystems.HubEdition.Compiler.Compiler.<>c__DisplayClass3.<Compile>b__2()
   at OutSystems.HubEdition.Compiler.Utils.CompilerUtils.WithOverridenSettings(IDictionary`2 settingsOverride, Action body)
   at OutSystems.HubEdition.Compiler.Compiler.<>c__DisplayClass3.<Compile>b__1()
   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.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
[2] System.FormatException: String was not recognized as a valid Boolean.
   at System.Boolean.Parse(String value)
   at #3Lc.#1Ud.LoadPropertyAttributes(#rGd reader)
   at #Glc.#AQd.#aQd(#rGd attrReader, AbstractObject parent, ObjectKey key, CollectionIndex collectionIndex)
   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.#zJd(AbstractObject parent, CollectionIndex collectionIndex)
   at #Nlc.#JXc.LoadChildren(ESpaceReader reader)
   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.#xJd[#lF](AbstractObject parent, CollectionIndex collectionIndex, #7ld collection)
   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LoadChildren[#lF](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)
   at OutSystems.HubEdition.Compiler.WebWidgets.#Qpc.LoadChildren(ESpaceReader reader)
   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.#xJd[#lF](AbstractObject parent, CollectionIndex collectionIndex, #7ld collection)
   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LoadChildren[#lF](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)
   at OutSystems.HubEdition.Compiler.WebWidgets.#vuc.LoadChildren(ESpaceReader reader)
   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.#xJd[#lF](AbstractObject parent, CollectionIndex collectionIndex, #7ld collection)
   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LoadChildren[#lF](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)
   at OutSystems.HubEdition.Compiler.WebWidgets.#xpc.LoadChildren(ESpaceReader reader)
   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.#xJd[#lF](AbstractObject parent, CollectionIndex collectionIndex, #7ld collection)
   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LoadChildren[#lF](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)
   at #Nlc.#3ib.LoadChildren(ESpaceReader reader)
   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.#xJd[#lF](AbstractObject parent, CollectionIndex collectionIndex, #7ld collection)
   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LoadChildren[#lF](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)
   at #Nlc.#Bhb.LoadChildren(ESpaceReader reader)
   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.#xJd[#lF](AbstractObject parent, CollectionIndex collectionIndex, #7ld collection)
   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.LoadChildren[#lF](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)
   at OutSystems.HubEdition.Compiler.Reference.LoadChildren(ESpaceReader reader)
   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.#xJd[#lF](AbstractObject parent, CollectionIndex collectionIndex, #7ld collection)
   at OutSystems.HubEdition.Compiler.Serialization.ESpaceReader.#vJd[#lF](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)
   at OutSystems.HubEdition.Compiler.ESpace.LoadCacheableCollection[Type](AbstractObject parent, ICompilerSequence`1& collection, CollectionIndex collectionIndex)
   at OutSystems.HubEdition.Compiler.AbstractObject.EnsureCacheableCollectionIsLoaded[Type](ICompilerSequence`1& collection, CollectionIndex collectionIndex)
   at OutSystems.HubEdition.Compiler.ESpace.get_References()
   at #s5c.#eFd.#REd(ESpace eSpace, Boolean forceIncompatible, Action`5 addESpaceReference, Int32 consumerVersionId)
   at OutSystems.HubEdition.Compiler.ESpace..ctor(Oml oml, Int32 eSpaceVersionId, CompilationContext context)
   at OutSystems.HubEdition.Compiler.Compiler.InnerCompile(CompilationContext context)
   at OutSystems.HubEdition.Compiler.Compiler.Compile(CompilationContext context)

Version 9.1.0.10

any ideas?
not sure if it's a platform bug or your bug.


well, what ya trying to cast as boolean?

do you happen to have a site-property that was a string and changed to boolean?
or even have a boolean site-property but the value is not True or False...


Hi,

Can u plz share the .oml file, if u can!

Regards,
MJ
Hi,

Thank you for you reply.

I encountered this error when I remove/add the reference of rich widgets and fix all the error depenencies. For example the boolean structure that resided in Rich Widgets structures.

We need to do this because we updated the system components to version 9.1.0.10 without doing this we will encounter a runtime error stating that we need to update the reference rich widget.

Thanks