Hi Team,
While building the project we are getting an error, E0: Internal error: System.NullReferenceException: Object reference not set to an instance of an object.
Below attached whole stack trace.
When we click on the error it goes to Remobjects.Elements.targets file.
So we are not able to find which line of code/file we are getting this error.
Could you please help us. We are ready to share the remote session if necessary.
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.targets(53,3): error E0: Internal error: System.NullReferenceException: Object reference not set to an instance of an object.
3> at D.VisitExpression(Expression a)
3> at D.f(Expression a)
3> at D.VisitIfStatement(IfStatement a)
3> at D.VisitStatement(Statement a)
3> at D.VisitBeginStatement(BeginStatement a)
3> at D.VisitStatement(Statement a)
3> at RemObjects.Oxygene.Code.BaseVisitor.VisitScopeStatement(ScopeStatement element)
3> at D.VisitScopeStatement(ScopeStatement a)
3> at D.VisitStatement(Statement a)
3> at E.a(IMutableMethodImplementation a)
3> at RemObjects.Oxygene.Code.CombinedParsedType.ForAllMethods(Func`2 action)
3> at E.b(IMutableParsedType a)
3> at E.g()
3> at E.a(Stream a)
3> at E.GenerateExecutable()
3> at RemObjects.Oxygene.Code.Compiler.Compiler.GenerateExecutable()
3> at RemObjects.Oxygene.Code.Compiler.Compiler.Compile()
3> ← Phase Generating Output failed.
3> ← Target Echoes failed compiling.
3> ← Task Compile failed for adato_scheduler, took 7,2855s (7.336s).
3> ← Task RemObjects.EBuild.Elements.ElementsBuildProject failed for adato_scheduler, took 0,0000s (7.346s).
3> ← Project adato_scheduler failed, took 7.346s.
3> Project ‘adato_scheduler’ failed to build.
3> Solution ‘adato_scheduler’ failed to build project ‘adato_scheduler’.
3> ← Task RemObjects.EBuild.BuildSolution failed for adato_scheduler, took 7,3485s (7.348s).
3> D: Saving XML details to D:\adato_webapp_oxygene\adato_scheduler\obj\Debug\adato_scheduler.xml.
3> Output Item(s): FinalOutput=
3> Output Item(s): FinalOutputForReferencing=
3>Done building project “adato_scheduler.elements” – FAILED.
Thank you!