Invalid Compiler Output : java.lang.NullPointerException

Getting the following error while publishing the eSpace, what could be the possible reasons?



Stack:
Exception Details:
[1] Internal Error: Invalid compiler output.
java.lang.NullPointerException
   at outsystems.hubedition.compiler.Compiler.compile(Unknown Source)
   at outsystems.hubedition.compiler.Compiler.$zkn(Unknown Source)
   at outsystems.hubedition.util.delegates.Action$Action0_Lambda.execute(Unknown Source)
   at outsystems.hubedition.compiler.utils.CompilerUtils.withOverridenSettings(Unknown Source)
   at outsystems.hubedition.compiler.Compiler.$xfn(Unknown Source)
   at outsystems.hubedition.util.delegates.Action$Action0_Lambda.execute(Unknown Source)
   at outsystems.hubedition.util.delegates.ThreadStart_Lambda.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:745)
[2] java.lang.NullPointerException:
   at outsystems.hubedition.compiler.AnonymousStructure$FieldsComparer.compare(Unknown Source)
   at outsystems.hubedition.compiler.AnonymousStructure$FieldsComparer.compare(Unknown Source)
   at c5.iiIIIiiiiiIii.$noo(Unknown Source)
   at c5.iiIIIiiiiiIii.$npo(Unknown Source)
   at c5.Sorting.introSort(Unknown Source)
   at c5.HashedArrayList.c5_sort(Unknown Source)
   at outsystems.hubedition.compiler.AnonymousStructure.afterLoad(Unknown Source)
   at outsystems.hubedition.compiler.serialization.iIiiiiiiiIIIi.$hse(Unknown Source)
   at outsystems.hubedition.util.delegates.Action$Action1_Lambda.execute(Unknown Source)
   at outsystems.runtimecommon.CollectionsExtensions.apply(Unknown Source)
   at outsystems.hubedition.compiler.serialization.iIiiiiiiiIIIi.$kkh(Unknown Source)
   at outsystems.hubedition.compiler.serialization.iIiiiiiiiIIIi.$sgh(Unknown Source)
   at outsystems.hubedition.compiler.ESpace.loadCacheableCollection(Unknown Source)
   at outsystems.hubedition.compiler.AbstractObject.ensureCacheableCollectionIsLoaded(Unknown Source)
   at outsystems.hubedition.compiler.ESpace.getChildCollection(Unknown Source)
   at outsystems.hubedition.compiler.iiiIiiiiiiiII.visit(Unknown Source)
   at outsystems.oml.compoundkeys.ChildCompoundKey.accept(Unknown Source)
   at outsystems.hubedition.compiler.iiIIiiiiIIiii.$tcn(Unknown Source)
   at outsystems.hubedition.compiler.iiIIiiiiIIiii.$jen(Unknown Source)
   at outsystems.hubedition.compiler.variables.IIiIiiiiIiiii.$dlf(Unknown Source)
   at outsystems.hubedition.compiler.variables.IIiIiiiiIiiii.getType$IDataSourceAttribute(Unknown Source)
   at outsystems.hubedition.compiler.variables.IIiIiiiiIiiii._getType(Unknown Source)
   at outsystems.hubedition.compiler.references.iiIiiiiiIIiIi.$alh(Unknown Source)
   at outsystems.hubedition.compiler.references.iiIiiiiiIIiIi.$kph(Unknown Source)
   at outsystems.hubedition.compiler.references.iiIiiiiiIIiIi.<init>(Unknown Source)
   at outsystems.hubedition.compiler.ESpace.getReferenceTypesUsageMap(Unknown Source)
   at outsystems.hubedition.compiler.IiIIiiiiiIiIi.$fim(Unknown Source)
   at outsystems.hubedition.compiler.IiIIiiiiiIiIi.processSkipCompilationRules(Unknown Source)
   at outsystems.hubedition.compiler.CompilationResult.$nrn(Unknown Source)
   at outsystems.hubedition.util.delegates.Action$Action1_Lambda.execute(Unknown Source)
   at outsystems.runtimecommon.CollectionsExtensions.apply(Unknown Source)
   at outsystems.hubedition.compiler.CompilationResult.afterESpaceLoad(Unknown Source)
   at outsystems.hubedition.compiler.ESpace.<init>(Unknown Source)
   at outsystems.hubedition.compiler.Compiler.innerCompile(Unknown Source)
   at outsystems.hubedition.compiler.Compiler.compile(Unknown Source)
   at outsystems.hubedition.compiler.Compiler.$zkn(Unknown Source)
   at outsystems.hubedition.util.delegates.Action$Action0_Lambda.execute(Unknown Source)
   at outsystems.hubedition.compiler.utils.CompilerUtils.withOverridenSettings(Unknown Source)
   at outsystems.hubedition.compiler.Compiler.$xfn(Unknown Source)
   at outsystems.hubedition.util.delegates.Action$Action0_Lambda.execute(Unknown Source)
   at outsystems.hubedition.util.delegates.ThreadStart_Lambda.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:745)

Hi,


Can you give more detail please? What OS version are you running? That append in just one eSpace? Did you already try to publish an previous version of that eSpace? If yes, did you obtain the same error? 

Maybe try to made your developments step by step and publish between small increments to verify what can be the cause of that error.


Best regards,

Ricardo M Pereira