You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DesignTime: null-reference exception after a short time #262
@0x53A I believe fsc.exe would only report Exception.Message on such failure, the way to get the callstack would be to catch the exception and make another one with the Message containing the inner exception.ToString().
The other thing worth considering is opening an issue on visualfsharp repository to make that such errors, for any type provider, would print the whole stacktrace.
@0x53A without the compiler showing the full stack trace, or debugging the issue with reproducible steps, it is hard to fix this.
I have not seen such error for long time now, it may have been addressed.
One issue I'm seeing nowadays is a failing dictionary lookup, it might be solved in the master branch with recent refactoring around naked usage of dictionary without locks and few other adjustments which took place in retrieving the sql data types information.
Activity
0x53A commentedon Feb 21, 2017
A restart of VS fixed the issue for now, but is there a way to get callstacks for such failures?
smoothdeveloper commentedon Feb 21, 2017
@0x53A I believe fsc.exe would only report Exception.Message on such failure, the way to get the callstack would be to catch the exception and make another one with the Message containing the inner exception.ToString().
The other thing worth considering is opening an issue on visualfsharp repository to make that such errors, for any type provider, would print the whole stacktrace.
smoothdeveloper commentedon Feb 21, 2017
I believe this is the location in compiler handling that error:
https://github.com/Microsoft/visualfsharp/blob/a2bb40f7017de0bb43a79823edaf0c9abce431c6/src/fsharp/tainted.fs#L64
smoothdeveloper commentedon Nov 20, 2020
@0x53A without the compiler showing the full stack trace, or debugging the issue with reproducible steps, it is hard to fix this.
I have not seen such error for long time now, it may have been addressed.
One issue I'm seeing nowadays is a failing dictionary lookup, it might be solved in the master branch with recent refactoring around naked usage of dictionary without locks and few other adjustments which took place in retrieving the sql data types information.