Hello,
Whenever I published, an error always prevented me to do so. The error message is like this
Internal Error
Invalid compiler output.
Object reference not set to an instance of an object.
Exception Details:
[1] System.NullReferenceException: Object reference not set to an instance of an object.
at OutSystems.HubEdition.Compiler.QueryInstance.GetIdentifierFromOutputVar(AbstractVariable var)
at OutSystems.HubEdition.Compiler.Nodes.AbstractDataSet.OutSystems.HubEdition.Compiler.Interfaces.IQuery.get_OutputListIdentifier()
at OutSystems.HubEdition.Compiler.Optimizer.OptimizerGraphs.OptimizerNodes.OptimizerQueryNode..ctor(IQuery node)
at OutSystems.HubEdition.Compiler.Optimizer.OptimizerGraphs.ActionFlowGraph.CreateNode(AbstractNode actionNode)
at OutSystems.HubEdition.Compiler.Optimizer.OptimizerGraphs.ActionFlowGraph..ctor(IActionFlow action, Boolean expandRefreshWidgets)
at OutSystems.HubEdition.Compiler.Optimizer.OptimizerGraphs.ServerScreenFlowGraph..ctor(IServerScreenFlowNode screen)
at OutSystems.HubEdition.Compiler.Optimizer.ViewState.NodeViewState..ctor(IServerScreenFlowNode screen)
at OutSystems.HubEdition.Compiler.Interfaces.ServerScreenFlowNodeUtils.DefaultOptimize(IServerScreenFlowNode screenFlowNode, NodeViewState& viewState)
at OutSystems.HubEdition.Compiler.Flows.WebFlow.Optimize()
at OutSystems.HubEdition.Compiler.WebFlows.WebHandler.Dump(IEnumerable`1 webFlows)
at OutSystems.HubEdition.Compiler.ESpace.Dump()
at OutSystems.HubEdition.Compiler.Compiler.InnerCompileEspace(ESpace eSpace, CompilationContext context)
at OutSystems.HubEdition.Compiler.Utils.CompilerUtils.TrapExceptionsInContext(Action action, CompilationContext context)
Before I got this error, what I did was copy and paste all of my screens, actions from my clone to my original project. And then I replaced all of clone's database core to my original's database core. After I fixed the errors, I tried to publish but this error always shown. I don't really understand what it said. Can someone help me in this matter? Thank you.