Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

Edited Issue: Changing code analysis level from Off to Low caused VS to crash [1127]

$
0
0
Configuration
- Win8.1 w/ latest updates
- VS2013 w/ Update 3 RC
- Node.js 0.10.29
- NTVS 20701.00

Repro (this is what I did)
- Code analysis was set at default (high)
- Type in some code
- change code analysis from high to off
- Type in some code (I don't believe I saved the file)
- change code analysis from off to low, then click OK

Actual result
- VS crashed and restarted.

Call stack
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException
Stack:
``` at System.RuntimeType.TryChangeType(System.Object, System.Reflection.Binder, System.Globalization.CultureInfo, Boolean)
at System.RuntimeType.CheckValue(System.Object, System.Reflection.Binder, System.Globalization.CultureInfo, System.Reflection.BindingFlags)
at System.Reflection.RtFieldInfo.InternalSetValue(System.Object, System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Globalization.CultureInfo, System.Threading.StackCrawlMark ByRef)
at System.Reflection.RtFieldInfo.SetValue(System.Object, System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Globalization.CultureInfo)
at Microsoft.NodejsTools.Analysis.AnalysisSerializer+<>c__DisplayClass8.<DeserializeObject>b__2(System.Object)
at Microsoft.NodejsTools.Analysis.AnalysisSerializer.DeserializeObject(System.IO.BinaryReader)
at Microsoft.NodejsTools.Analysis.AnalysisSerializer.Deserialize(System.IO.Stream)
at Microsoft.NodejsTools.Intellisense.VsProjectAnalyzer..ctor(System.String)
at Microsoft.NodejsTools.Project.NodejsProjectNode.AdvancedOptionsPageAnalysisLevelChanged(System.Object, System.EventArgs)
at System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon)
at Microsoft.NodejsTools.Options.NodejsAdvancedOptionsPage.set_AnalysisLevel(Microsoft.NodejsTools.Options.AnalysisLevel)
at Microsoft.NodejsTools.Options.NodejsAdvancedOptionsPage.SaveSettingsToStorage()
at Microsoft.VisualStudio.Shell.DialogPage.OnApply(PageApplyEventArgs)
at Microsoft.VisualStudio.Shell.DialogPage+DialogSubclass.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)
at Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource.Invoke(System.String, System.Object, System.Object ByRef)
at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Invoke(System.String, System.Object, System.Object ByRef)
at Microsoft.VisualStudio.PlatformUI.VsCommand.Execute(System.Object)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource, Boolean)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)

```


Viewing all articles
Browse latest Browse all 4630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>