Invalid Compiler Output : java.lang.NullPointerException

Invalid Compiler Output : java.lang.NullPointerException

  

I am getting the following error while publishing, what could be the possible reasons?



Internal Error

Invalid compiler output.

java.lang.NullPointerException

Exception Details:

[1] Internal Error: Invalid compiler output.

java.lang.NullPointerException

   at outsystems.hubedition.compiler.ESpace.processesImpactAnalysisThread(Unknown Source)

   at outsystems.hubedition.compiler.ESpace.$com(Unknown Source)

   at outsystems.hubedition.compiler.IIIiiiiiiIiii.executeImpl(Unknown Source)

   at outsystems.hubedition.util.delegates.Action$Action0.executeImplLambda(Unknown Source)

   at outsystems.hubedition.util.delegates.Action$Action0_Lambda.execute(Unknown Source)

   at outsystems.hubedition.compiler.context.CompilationContext.$kml(Unknown Source)

   at outsystems.hubedition.util.delegates.Action$Action0_Lambda.execute(Unknown Source)

   at outsystems.hubedition.servercommon.SandboxUtils.executeForSingleSandbox(Unknown Source)

   at outsystems.hubedition.compiler.context.CompilationContext.$gol(Unknown Source)

   at java.lang.Thread.run(Thread.java:745)

[2] java.lang.NullPointerException:

   at outsystems.hubedition.compiler.impactanalysis.ProcessesImpactAnalysis.$wzj(Unknown Source)

   at outsystems.hubedition.util.delegates.Func$Func1_Lambda.execute(Unknown Source)

   at linqbridge.linq.LinqMethods$12$1.advance(Unknown Source)

   at outsystems.hubedition.util.Yielder.hasNext(Unknown Source)

   at outsystems.hubedition.util.ArrayUtils.fromIterable(Unknown Source)

   at outsystems.runtimecommon.CollectionsExtensions.toHashSet(Unknown Source)

   at outsystems.hubedition.compiler.impactanalysis.ProcessesImpactAnalysis.compareProcessScopeElements(Unknown Source)

   at outsystems.hubedition.compiler.impactanalysis.ProcessesImpactAnalysis.$tyj(Unknown Source)

   at outsystems.hubedition.compiler.impactanalysis.ProcessesImpactAnalysis.analyse(Unknown Source)

   at outsystems.hubedition.compiler.ESpace.processesImpactAnalysis(Unknown Source)

   at outsystems.hubedition.compiler.ESpace.processesImpactAnalysisThread(Unknown Source)

   at outsystems.hubedition.compiler.ESpace.$com(Unknown Source)

   at outsystems.hubedition.compiler.IIIiiiiiiIiii.executeImpl(Unknown Source)

   at outsystems.hubedition.util.delegates.Action$Action0.executeImplLambda(Unknown Source)

   at outsystems.hubedition.util.delegates.Action$Action0_Lambda.execute(Unknown Source)

   at outsystems.hubedition.compiler.context.CompilationContext.$kml(Unknown Source)

   at outsystems.hubedition.util.delegates.Action$Action0_Lambda.execute(Unknown Source)

   at outsystems.hubedition.servercommon.SandboxUtils.executeForSingleSandbox(Unknown Source)

   at outsystems.hubedition.compiler.context.CompilationContext.$gol(Unknown Source)

   at java.lang.Thread.run(Thread.java:745)

Do you have any circular references? That can cause problems like this.

J.Ja

There were few existing, I've removed them but still the same issue persists.

Did you do a full republish of all espaces once you cleaned up the circular references?

J.Ja

I tried but this is occurring in only 1 particular espace.

You tried and that was a success? Or you tried, and it failed?

After you fix the circular references, you need to completely clean out the folders for compiled code on your deployment servers and front end servers, and do the publish of a solution with ALL extensions and eSpaces. If you do not do this, errors (usually null references like this one during compilation) can occur. It's just a really ugly/bad situation, and if you do not do the clean up properly, it will be painful.

If your employer is "a big company with a four letter name that starts with 'F'" you should reach out to GTS for help with this issue.

J.Ja