Here is the final line in the log file
On restarting NT I had to re-enter the code for the new strategy, and got no problem. So its probably an obscure bug in the ActiproSoftware SyntaxEditor which I assume you are using.
The point is that an exception raised in ActiproSoftware SyntaxEditor should not cause the whole of NT to crash. NT developers need to add some kind of try-catch wrapper around ActiproSoftware SyntaxEditor so if it throws an exception the problem is contained inside the NinjaScript Editor window.
Here's the end of the trace file
2016-10-19 16:58:54:076 Unable to cast object of type 'ActiproSoftware.Text.Languages.DotNet.Ast.Impleme ntation.QualifiedName' to type 'ActiproSoftware.Text.Languages.DotNet.Ast.Impleme ntation.Expression'.
2016-10-19 16:58:54:106 System.InvalidCastException: Unable to cast object of type 'ActiproSoftware.Text.Languages.DotNet.Ast.Impleme ntation.QualifiedName' to type 'ActiproSoftware.Text.Languages.DotNet.Ast.Impleme ntation.Expression'.
at #hSc.#ySc.#BWc(#iSc #3Bf, IAstNodeMatchCollection #5T)
at #hSc.#ySc.#rWc(#iSc #3Bf, IAstNodeMatchCollection #5T)
at #hSc.#zSc.CreateNode(IAstNodeMatchCollection #5T)
at #hSc.#6Sc.#1Xc(EbnfProduction #ZVc, Int32 #fd)
at #hSc.#WSc.#nXc(IParserState #Zb, #6Sc #6Sc, IDebugger #SBf)
at #hSc.#WSc.Parse(IParserState #Zb, #6Sc #6Sc)
at ActiproSoftware.Text.Parsing.LLParser.Implementati on.LLParserBase.Parse(IParseRequest request)
at ActiproSoftware.Text.Parsing.Implementation.Thread edParseRequestDispatcher.#0Yc.#nXc(IParseRequest #FMc)
at ActiproSoftware.Text.Parsing.Implementation.Thread edParseRequestDispatcher.#0Yc.#56c()
at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Comment