installed 2459, build of windows Elements library getting error
Error (E0) Internal error: System.NullReferenceException
w D.VisitIfStatement(IfStatement a)
w D.VisitStatement(Statement a)
w D.VisitBeginStatement(BeginStatement a)
w D.VisitStatement(Statement a)
w RemObjects.Oxygene.Code.BaseVisitor.VisitScopeStatement(ScopeStatement element)
w D.VisitScopeStatement(ScopeStatement a)
w D.VisitStatement(Statement a)
w D.VisitStatementExpression(StatementExpression a)
w D.VisitExpression(Expression a)
w D.d(Expression a)
w D.VisitWhileStatement(WhileStatement a)
w D.VisitStatement(Statement a)
w D.VisitBeginStatement(BeginStatement a)
w D.VisitStatement(Statement a)
w RemObjects.Oxygene.Code.BaseVisitor.VisitScopeStatement(ScopeStatement element)
w D.VisitScopeStatement(ScopeStatement a)
w D.VisitStatement(Statement a)
w D.VisitBeginStatement(BeginStatement a)
w D.VisitStatement(Statement a)
w D.VisitBeginStatement(BeginStatement a)
w D.VisitStatement(Statement a)
w D.VisitBeginStatement(BeginStatement a)
w D.VisitStatement(Statement a)
w RemObjects.Oxygene.Code.BaseVisitor.VisitScopeStatement(ScopeStatement element)
w D.VisitScopeStatement(ScopeStatement a)
w D.VisitStatement(Statement a)
w D.VisitBeginStatement(BeginStatement a)
w D.VisitStatement(Statement a)
w D.VisitBeginStatement(BeginStatement a)
w D.VisitStatement(Statement a)
w D.VisitBeginStatement(BeginStatement a)
w D.VisitStatement(Statement a)
w RemObjects.Oxygene.Code.BaseVisitor.VisitScopeStatement(ScopeStatement element)
w D.VisitScopeStatement(ScopeStatement a)
w D.VisitStatement(Statement a)
w D.VisitBeginStatement(BeginStatement a)
w D.VisitStatement(Statement a)
w RemObjects.Oxygene.Code.BaseVisitor.VisitScopeStatement(ScopeStatement element)
w D.VisitScopeStatement(ScopeStatement a)
w D.VisitStatement(Statement a)
w D.VisitBeginStatement(BeginStatement a)
w D.VisitStatement(Statement a)
w D.VisitBeginStatement(BeginStatement a)
w D.VisitStatement(Statement a)
w RemObjects.Oxygene.Code.BaseVisitor.VisitScopeStatement(ScopeStatement element)
w D.VisitScopeStatement(ScopeStatement a)
w D.VisitStatement(Statement a)
w D.VisitBeginStatement(BeginStatement a)
w D.VisitStatement(Statement a)
w D.VisitBeginStatement(BeginStatement a)
w D.VisitStatement(Statement a)
w D.VisitTryStatement(TryStatement a)
w D.VisitStatement(Statement a)
w D.VisitBeginStatement(BeginStatement a)
w D.VisitStatement(Statement a)
w RemObjects.Oxygene.Code.BaseVisitor.VisitScopeStatement(ScopeStatement element)
w D.VisitScopeStatement(ScopeStatement a)
w D.VisitStatement(Statement a)
w E.a(IMutableMethodImplementation a)
w RemObjects.Oxygene.Code.CombinedParsedType.ForAllMethods(Func`2 action)
w E.b(IMutableParsedType a)
w E.b(IMutableParsedType a)
w E.g()
w E.a(Stream a)
w E.GenerateExecutable()
w RemObjects.Oxygene.Code.Compiler.Compiler.GenerateExecutable()
w RemObjects.Oxygene.Code.Compiler.Compiler.Compile() Inpx_WspolneWindows C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Echoes.targets 70
I’ll try to install 2457. Using personal 2456 was ok
Pretty much the entire product we ship (including the compiler, yes) is built with the exact version of the compiler that ships in the product (chicken, meet egg ;), so its pretty much always safe to assume that any bug you see is not going to be as simple as “nothing compiles, so you’ll easily see this yourself”.
Test case - can’t give you whole code. DLL without any code - everything in shared - I’ll try to generate sample, but don’t know if it’s possible. We can connect via teamviewer or sth but could it help?
Can you try opening ebuild.exe as a project in vs, disableing Just my Code, setting a break on NullReferenceException and running it with your project as parameter? that should trigger the error above, then, if you look at the locals in the different methods, you can find “where” you are.
w E.a(IMutableMethodImplementation a) << should have the method name. The others the current statement.