flashdevelop: Crash at startup
Latest HaxeDevelop often crashes at startup (never had the case with previous version).
Here’s what I found in Exceptions.log:
Unhandled exception:
System.Exception: System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.
à HaXeContext.HaxeComplete.<>c__DisplayClass22_0`1.<StartThread>b__0(Object _)
à System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
à System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
à System.Threading.ThreadPoolWorkQueue.Dispatch()
à System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 1
- Comments: 17 (11 by maintainers)
Well, that’s not exactly startup heh, but I know why and where it happens, I already did some work for this, hopefully I can push my local changes tomorrow.
I pushed a change that should fix your second exception @markknol. With the projects I have here I couldn’t repro it, so even if I’m confident I won’t say it solves it 100%. I wonder if your first exception is some bug specific to QuickNavigate as I see it in the stacktrace.
I will try to reproduce and fix Nicolas’ one tomorrow.
@markknol for the second exception you’ve posted I could get a repro, I will do my best to fix it during this day… my days lately are like a roller-coaster heh.
EDIT: By looking at the code related to this exception I would say it was just a matter of time it would sooner or later fail heh.