TrimbleSolutionsCorporation / VSSonarQubeExtension

This is a SonarQube Extension for Visual Studio
http://visualstudiogallery.msdn.microsoft.com/7fc312c3-f1ab-49f8-b286-dbf7fff37305
GNU Lesser General Public License v3.0
24 stars 17 forks source link

Visual Studio Crash #57

Closed goffinf closed 9 years ago

goffinf commented 10 years ago

Visual Studio crashes when clicking the 'Clear All Filters' link on the 'Server Analysis' tab.

Problem is re-producable.

Environment details provided below.

A project is loaded (doesn't seem to matter which - e.g. the C# Playground project that is provided with sonar-examples-master download from Github (https://github.com/SonarSource/sonar-examples). The project is associated to the VSSonarExtension and a connection to the SonarQube server is established.

As soon as the 'Clear All Filters' link is clicked this happens ...

vs_crash1

Environment

OS: Windows 7 Enterprise VS: Visual Studio 2012 Professional v11.0.61030.00 Update 4 .Net framework: 4.5.50938

SonarQube: v4.5 (on localhost) Database: MySQL 5.6.21 (localhost) JDK: 1.7.0 Update 67

VSSonarExtension: v1.4.1.3 CsPlugin: v1.4.1.1 Duplications Plugin: v1.3.3.1 Quality Editor Plugin: v1.0.1.1

sonar-project.properties ...

sonar.projectKey=org.example.csharpplayground sonar.projectName=C# playground sonar.projectVersion=1.0

sonar.sourceEncoding=UTF-8

sonar.verbose=true

sonar.scm.enabled=false

Disable the Visual Studio bootstrapper

sonar.visualstudio.enable=false sonar.sources=. sonar.projectBaseDir=.

Exclude files and folders from analysis

sonar.exclusions=/obj/,**/AssemblyInfo.cs

sonar.exclusions=CalcAddTest/obj/,CalcSubtractTest/obj/,CalcDivideTest/obj/,CalcMultiplyTest/obj/,MyLibrary/obj/,/AssemblyInfo.cs

sonar.exclusions=CalcAddTest/*/.cs,CalcSubtractTest/*/_.cs,CalcDivideTest/_/.cs,CalcMultiplyTest//.cs

sonar.modules=CalcAddTest,CalcMultiplyTest,CalcDivideTest,CalcSubtractTest,MyLibrary

Code Coverage

sonar.cs.ncover3.reportsPaths=coverage.nccov

sonar.cs.opencover.reportsPaths=results.xml

sonar.cs.dotcover.reportsPaths=dotCover.html

sonar.cs.vscoveragexml.reportsPaths=VisualStudio.coveragexml

Unit Test Results (regex)

sonar.visualstudio.testProjectPattern=.[Tt]est. CalcAddTest.sonar.cs.vstest.reportsPaths=TestResults/CalcAddTest.trx CalcSubtractTest.sonar.cs.vstest.reportsPaths=TestResults/CalcSubtractTest.trx CalcMultiplyTest.sonar.cs.vstest.reportsPaths=TestResults/CalcMultiplyTest.trx CalcDivideTest.sonar.cs.vstest.reportsPaths=TestResults/CalcDivideTest.trx

sonar.cs.vstest.reportsPaths=TestResults/allTests.trx

Integration Tests

sonar.visualstudio.itProjectPattern=.[Uu][Ii][Tt]est.

Required only when using SonarQube < 4.2

sonar.language=cs

FxCop

CalcAddTest.sonar.cs.fxcop.assembly=CalcAddTest/bin/Debug/CalcAddTest.dll CalcMultiplyTest.sonar.cs.fxcop.assembly=CalcMultiplyTest/bin/Debug/CalcMultiplyTest.dll CalcDivideTest.sonar.cs.fxcop.assembly=CalcDivideTest/bin/Debug/CalcDivideTest.dll CalcSubtractTest.sonar.cs.fxcop.assembly=CalcSubtractTest/bin/Debug/CalcSubtractTest.dll MyLibrary.sonar.cs.fxcop.assembly=MyLibrary/bin/Debug/MyLibrary.dll

StyleCop

CalcAddTest.sonar.stylecop.projectFilePath=CalcAddTest/CalcAddTest.csproj CalcMultiplyTest.sonar.stylecop.projectFilePath=CalcMultiplyTest/CalcMultiplyTest.csproj CalcDivideTest.sonar.stylecop.projectFilePath=CalcDivideTest/CalcDivideTest.csproj CalcSubtractTest.sonar.stylecop.projectFilePath=CalcSubtractTest/CalcSubtractTest.csproj MyLibrary.sonar.stylecop.projectFilePath=MyLibrary/MyLibrary.csproj

R

sonar.resharper.solutionFile=CSharpPlayground.sln CalcAddTest.sonar.resharper.projectName=CalcAddTest CalcMultiplyTest.sonar.resharper.projectName=CalcMultiplyTest CalcDivideTest.sonar.resharper.projectName=CalcDivideTest CalcSubtractTest.sonar.resharper.projectName=CalcSubtractTest MyLibrary.sonar.resharper.projectName=MyLibrary

goffinf commented 10 years ago

Adding to the above. Actually I found that this exception also occurs in the Local Analysis tab when clicking 'Clear All Filters' and doesn't even need a project association. Here is the stack trace. You can see from this line (the last one below) the method that is called in the VSSonarExtenion API ...

VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.OnFilterClearAllCommand(Object obj)

System.Reflection.TargetInvocationException was unhandled HResult=-2146232828 Message=Exception has been thrown by the target of an invocation. Source=mscorlib StackTrace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at GalaSoft.MvvmLight.Helpers.WeakAction1.Execute(T parameter) at GalaSoft.MvvmLight.Command.RelayCommand1.Execute(Object parameter) at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated) at System.Windows.Documents.Hyperlink.OnClick() at System.Windows.Documents.Hyperlink.DispatchNavigation(Object sender) at System.Windows.Documents.Hyperlink.DoUserInitiatedNavigation(Object sender) at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(Object sender, MouseButtonEventArgs e) at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(MouseButtonEventArgs e) at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) InnerException: System.NullReferenceException HResult=-2147467261 Message=Object reference not set to an instance of an object. Source=PresentationFramework StackTrace: at System.Windows.Data.ListCollectionView.PrepareLocalArray() at System.Windows.Data.ListCollectionView.RefreshOverride() at System.Windows.Data.CollectionView.RefreshInternal() at System.Windows.Data.CollectionView.RefreshOrDefer() at System.Windows.Data.CollectionView.set_Filter(Predicate1 value) at System.Windows.Data.ListCollectionView.set_Filter(Predicate1 value) at VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.ClearFilter() at VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.OnFilterClearAllCommand(Object obj) InnerException:

jmecosta commented 10 years ago

Great, thanks for all the info. However i think the issue here is that you are lacking some runtime libraries. Can you just confirm that you have visual studio 2013 shell http://www.microsoft.com/en-us/download/details.aspx?id=40764 http://www.microsoft.com/en-us/download/details.aspx?id=40764

ive moved to vs 2013 since 2012 shouldnt have been release in the first place... its kind of unfinished version imo.

anyway, i think there were some default constructors left i will use the issue to remove those..

but let me know if installing the 2013 helps... On Oct 28, 2014 7:41 PM, "goffinf" notifications@github.com wrote:

Adding to the above. Actually I found that this exception also occurs in the Local Analysis tab when clicking 'Clear All Filters' and doesn't even need a project association. Here is the stack trace. You can see from this line (the last one below) the method that is called in the VSSonarExtenion API ...

VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.OnFilterClearAllCommand(Object obj)

System.Reflection.TargetInvocationException was unhandled HResult=-2146232828 Message=Exception has been thrown by the target of an invocation. Source=mscorlib StackTrace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at GalaSoft.MvvmLight.Helpers.WeakAction1.Execute(T parameter) at GalaSoft.MvvmLight.Command.RelayCommand1.Execute(Object parameter) at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated) at System.Windows.Documents.Hyperlink.OnClick() at System.Windows.Documents.Hyperlink.DispatchNavigation(Object sender) at System.Windows.Documents.Hyperlink.DoUserInitiatedNavigation(Object sender) at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(Object sender, MouseButtonEventArgs e) at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(MouseButtonEventArgs e) at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) InnerException: System.NullReferenceException HResult=-2147467261 Message=Object reference not set to an instance of an object. Source=PresentationFramework StackTrace: at System.Windows.Data.ListCollectionView.PrepareLocalArray() at System.Windows.Data.ListCollectionView.RefreshOverride() at System.Windows.Data.CollectionView.RefreshInternal() at System.Windows.Data.CollectionView.RefreshOrDefer() at System.Windows.Data.CollectionView.set_Filter(Predicate1 value) at System.Windows.Data.ListCollectionView.set_Filter(Predicate1 value) at VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.ClearFilter() at VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.OnFilterClearAllCommand(Object obj) InnerException:

— Reply to this email directly or view it on GitHub https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60798535 .

goffinf commented 10 years ago

I was aware of the pre-reqs including the VS 2013 Shell (Isolated) and the minimum IE version. I have satisfied both of these, but just to be sure I un-installed then re-installed the VS 2013 Shell. Unfortunately still no change.

This time I just opened up VS with no existing project and then created a basic console app. Went to SonarQube -> Local Analysis -> Clear All Filters ..... And BOOM !

Any other ideas ?

I can try upgrading to VS 2013 but it would be good to get to the bottom of this one since I think most of our .Net Dev team are still using 2012.

Regards

Fraser.

On 28/10/2014, Jorge Costa notifications@github.com wrote:

Great, thanks for all the info. However i think the issue here is that you are lacking some runtime libraries. Can you just confirm that you have visual studio 2013 shell http://www.microsoft.com/en-us/download/details.aspx?id=40764 http://www.microsoft.com/en-us/download/details.aspx?id=40764

ive moved to vs 2013 since 2012 shouldnt have been release in the first place... its kind of unfinished version imo.

anyway, i think there were some default constructors left i will use the issue to remove those..

but let me know if installing the 2013 helps... On Oct 28, 2014 7:41 PM, "goffinf" notifications@github.com wrote:

Adding to the above. Actually I found that this exception also occurs in the Local Analysis tab when clicking 'Clear All Filters' and doesn't even need a project association. Here is the stack trace. You can see from this line (the last one below) the method that is called in the VSSonarExtenion API ...

VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.OnFilterClearAllCommand(Object obj)

System.Reflection.TargetInvocationException was unhandled HResult=-2146232828 Message=Exception has been thrown by the target of an invocation. Source=mscorlib StackTrace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at GalaSoft.MvvmLight.Helpers.WeakAction1.Execute(T parameter) at GalaSoft.MvvmLight.Command.RelayCommand1.Execute(Object parameter) at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated) at System.Windows.Documents.Hyperlink.OnClick() at System.Windows.Documents.Hyperlink.DispatchNavigation(Object sender) at System.Windows.Documents.Hyperlink.DoUserInitiatedNavigation(Object sender) at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(Object sender, MouseButtonEventArgs e) at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(MouseButtonEventArgs e) at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) InnerException: System.NullReferenceException HResult=-2147467261 Message=Object reference not set to an instance of an object. Source=PresentationFramework StackTrace: at System.Windows.Data.ListCollectionView.PrepareLocalArray() at System.Windows.Data.ListCollectionView.RefreshOverride() at System.Windows.Data.CollectionView.RefreshInternal() at System.Windows.Data.CollectionView.RefreshOrDefer() at System.Windows.Data.CollectionView.set_Filter(Predicate1 value) at System.Windows.Data.ListCollectionView.set_Filter(Predicate1 value) at VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.ClearFilter() at VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.OnFilterClearAllCommand(Object obj) InnerException:

— Reply to this email directly or view it on GitHub https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60798535 .


Reply to this email directly or view it on GitHub: https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60810783

jmecosta commented 10 years ago

i am pretty sure then its not related with vs 2013... anyway you could try to upgrade just to rule out this.

also you can try to upgrade with the last build https://ci.appveyor.com/api/buildjobs/1vp8k1f1mqvjyj04/artifacts/BuildDrop/VSSonarQubeExtensionMetro.vsix if that link does not work you can try this one https://ci.appveyor.com/project/jorgecosta/vssonarqubeextension/build/artifacts

If none of those happen then i will try to create debug version so that we can spot what is the issue.

On Tue, Oct 28, 2014 at 9:59 PM, goffinf notifications@github.com wrote:

I was aware of the pre-reqs including the VS 2013 Shell (Isolated) and the minimum IE version. I have satisfied both of these, but just to be sure I un-installed then re-installed the VS 2013 Shell. Unfortunately still no change.

This time I just opened up VS with no existing project and then created a basic console app. Went to SonarQube -> Local Analysis -> Clear All Filters ..... And BOOM !

Any other ideas ?

I can try upgrading to VS 2013 but it would be good to get to the bottom of this one since I think most of our .Net Dev team are still using 2012.

Regards

Fraser.

On 28/10/2014, Jorge Costa notifications@github.com wrote:

Great, thanks for all the info. However i think the issue here is that you are lacking some runtime libraries. Can you just confirm that you have visual studio 2013 shell http://www.microsoft.com/en-us/download/details.aspx?id=40764 http://www.microsoft.com/en-us/download/details.aspx?id=40764

ive moved to vs 2013 since 2012 shouldnt have been release in the first place... its kind of unfinished version imo.

anyway, i think there were some default constructors left i will use the issue to remove those..

but let me know if installing the 2013 helps... On Oct 28, 2014 7:41 PM, "goffinf" notifications@github.com wrote:

Adding to the above. Actually I found that this exception also occurs in the Local Analysis tab when clicking 'Clear All Filters' and doesn't even need a project association. Here is the stack trace. You can see from this line (the last one below) the method that is called in the VSSonarExtenion API ...

VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.OnFilterClearAllCommand(Object

obj)

System.Reflection.TargetInvocationException was unhandled HResult=-2146232828 Message=Exception has been thrown by the target of an invocation. Source=mscorlib StackTrace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at GalaSoft.MvvmLight.Helpers.WeakAction1.Execute(T parameter) at GalaSoft.MvvmLight.Command.RelayCommand1.Execute(Object parameter) at

MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource

commandSource, Boolean userInitiated) at System.Windows.Documents.Hyperlink.OnClick() at System.Windows.Documents.Hyperlink.DispatchNavigation(Object sender) at System.Windows.Documents.Hyperlink.DoUserInitiatedNavigation(Object sender) at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(Object sender, MouseButtonEventArgs e) at

System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(MouseButtonEventArgs e) at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) InnerException: System.NullReferenceException HResult=-2147467261 Message=Object reference not set to an instance of an object. Source=PresentationFramework StackTrace: at System.Windows.Data.ListCollectionView.PrepareLocalArray() at System.Windows.Data.ListCollectionView.RefreshOverride() at System.Windows.Data.CollectionView.RefreshInternal() at System.Windows.Data.CollectionView.RefreshOrDefer() at System.Windows.Data.CollectionView.set_Filter(Predicate1 value) at System.Windows.Data.ListCollectionView.set_Filter(Predicate1 value) at VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.ClearFilter() at

VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.OnFilterClearAllCommand(Object

obj) InnerException:

— Reply to this email directly or view it on GitHub < https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60798535>

.


Reply to this email directly or view it on GitHub:

https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60810783

— Reply to this email directly or view it on GitHub https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60821158 .

goffinf commented 10 years ago

Nope, unfortunately its still the same behaviour even with your latest version.

Fraser.

On 28 October 2014 20:35, Jorge Costa notifications@github.com wrote:

i am pretty sure then its not related with vs 2013... anyway you could try to upgrade just to rule out this.

also you can try to upgrade with the last build

https://ci.appveyor.com/api/buildjobs/1vp8k1f1mqvjyj04/artifacts/BuildDrop/VSSonarQubeExtensionMetro.vsix if that link does not work you can try this one

https://ci.appveyor.com/project/jorgecosta/vssonarqubeextension/build/artifacts

If none of those happen then i will try to create debug version so that we can spot what is the issue.

On Tue, Oct 28, 2014 at 9:59 PM, goffinf notifications@github.com wrote:

I was aware of the pre-reqs including the VS 2013 Shell (Isolated) and the minimum IE version. I have satisfied both of these, but just to be sure I un-installed then re-installed the VS 2013 Shell. Unfortunately still no change.

This time I just opened up VS with no existing project and then created a basic console app. Went to SonarQube -> Local Analysis -> Clear All Filters ..... And BOOM !

Any other ideas ?

I can try upgrading to VS 2013 but it would be good to get to the bottom of this one since I think most of our .Net Dev team are still using 2012.

Regards

Fraser.

On 28/10/2014, Jorge Costa notifications@github.com wrote:

Great, thanks for all the info. However i think the issue here is that you are lacking some runtime libraries. Can you just confirm that you have visual studio 2013 shell http://www.microsoft.com/en-us/download/details.aspx?id=40764 http://www.microsoft.com/en-us/download/details.aspx?id=40764

ive moved to vs 2013 since 2012 shouldnt have been release in the first place... its kind of unfinished version imo.

anyway, i think there were some default constructors left i will use the issue to remove those..

but let me know if installing the 2013 helps... On Oct 28, 2014 7:41 PM, "goffinf" notifications@github.com wrote:

Adding to the above. Actually I found that this exception also occurs in the Local Analysis tab when clicking 'Clear All Filters' and doesn't even need a project association. Here is the stack trace. You can see from this line (the last one below) the method that is called in the VSSonarExtenion API ...

VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.OnFilterClearAllCommand(Object

obj)

System.Reflection.TargetInvocationException was unhandled HResult=-2146232828 Message=Exception has been thrown by the target of an invocation. Source=mscorlib StackTrace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at GalaSoft.MvvmLight.Helpers.WeakAction1.Execute(T parameter) at GalaSoft.MvvmLight.Command.RelayCommand1.Execute(Object parameter) at

MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource

commandSource, Boolean userInitiated) at System.Windows.Documents.Hyperlink.OnClick() at System.Windows.Documents.Hyperlink.DispatchNavigation(Object sender) at System.Windows.Documents.Hyperlink.DoUserInitiatedNavigation(Object sender) at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(Object sender, MouseButtonEventArgs e) at

System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(MouseButtonEventArgs

e) at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) at

System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) InnerException: System.NullReferenceException HResult=-2147467261 Message=Object reference not set to an instance of an object. Source=PresentationFramework StackTrace: at System.Windows.Data.ListCollectionView.PrepareLocalArray() at System.Windows.Data.ListCollectionView.RefreshOverride() at System.Windows.Data.CollectionView.RefreshInternal() at System.Windows.Data.CollectionView.RefreshOrDefer() at System.Windows.Data.CollectionView.set_Filter(Predicate1 value) at System.Windows.Data.ListCollectionView.set_Filter(Predicate1 value) at VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.ClearFilter() at

VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.OnFilterClearAllCommand(Object

obj) InnerException:

— Reply to this email directly or view it on GitHub <

https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60798535>

.


Reply to this email directly or view it on GitHub:

https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60810783

— Reply to this email directly or view it on GitHub < https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60821158>

.

— Reply to this email directly or view it on GitHub https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60826710 .

jmecosta commented 10 years ago

OK so I will prepare a debug version tomorrow and send. By the way is everything else running. Or did you find any additional issue? On Oct 28, 2014 10:59 PM, "goffinf" notifications@github.com wrote:

Nope, unfortunately its still the same behaviour even with your latest version.

Fraser.

On 28 October 2014 20:35, Jorge Costa notifications@github.com wrote:

i am pretty sure then its not related with vs 2013... anyway you could try to upgrade just to rule out this.

also you can try to upgrade with the last build

https://ci.appveyor.com/api/buildjobs/1vp8k1f1mqvjyj04/artifacts/BuildDrop/VSSonarQubeExtensionMetro.vsix if that link does not work you can try this one

https://ci.appveyor.com/project/jorgecosta/vssonarqubeextension/build/artifacts

If none of those happen then i will try to create debug version so that we can spot what is the issue.

On Tue, Oct 28, 2014 at 9:59 PM, goffinf notifications@github.com wrote:

I was aware of the pre-reqs including the VS 2013 Shell (Isolated) and the minimum IE version. I have satisfied both of these, but just to be sure I un-installed then re-installed the VS 2013 Shell. Unfortunately still no change.

This time I just opened up VS with no existing project and then created a basic console app. Went to SonarQube -> Local Analysis -> Clear All Filters ..... And BOOM !

Any other ideas ?

I can try upgrading to VS 2013 but it would be good to get to the bottom of this one since I think most of our .Net Dev team are still using 2012.

Regards

Fraser.

On 28/10/2014, Jorge Costa notifications@github.com wrote:

Great, thanks for all the info. However i think the issue here is that you are lacking some runtime libraries. Can you just confirm that you have visual studio 2013 shell http://www.microsoft.com/en-us/download/details.aspx?id=40764 http://www.microsoft.com/en-us/download/details.aspx?id=40764

ive moved to vs 2013 since 2012 shouldnt have been release in the first place... its kind of unfinished version imo.

anyway, i think there were some default constructors left i will use the issue to remove those..

but let me know if installing the 2013 helps... On Oct 28, 2014 7:41 PM, "goffinf" notifications@github.com wrote:

Adding to the above. Actually I found that this exception also occurs in the Local Analysis tab when clicking 'Clear All Filters' and doesn't even need a project association. Here is the stack trace. You can see from this line (the last one below) the method that is called in the VSSonarExtenion API ...

VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.OnFilterClearAllCommand(Object

obj)

System.Reflection.TargetInvocationException was unhandled HResult=-2146232828 Message=Exception has been thrown by the target of an invocation. Source=mscorlib StackTrace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at GalaSoft.MvvmLight.Helpers.WeakAction1.Execute(T parameter) at GalaSoft.MvvmLight.Command.RelayCommand1.Execute(Object parameter) at

MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource

commandSource, Boolean userInitiated) at System.Windows.Documents.Hyperlink.OnClick() at System.Windows.Documents.Hyperlink.DispatchNavigation(Object sender) at System.Windows.Documents.Hyperlink.DoUserInitiatedNavigation(Object sender) at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(Object sender, MouseButtonEventArgs e) at

System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(MouseButtonEventArgs

e) at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) at

System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) InnerException: System.NullReferenceException HResult=-2147467261 Message=Object reference not set to an instance of an object. Source=PresentationFramework StackTrace: at System.Windows.Data.ListCollectionView.PrepareLocalArray() at System.Windows.Data.ListCollectionView.RefreshOverride() at System.Windows.Data.CollectionView.RefreshInternal() at System.Windows.Data.CollectionView.RefreshOrDefer() at System.Windows.Data.CollectionView.set_Filter(Predicate1 value) at System.Windows.Data.ListCollectionView.set_Filter(Predicate1 value) at VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.ClearFilter() at

VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.OnFilterClearAllCommand(Object

obj) InnerException:

— Reply to this email directly or view it on GitHub <

https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60798535>

.


Reply to this email directly or view it on GitHub:

https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60810783

— Reply to this email directly or view it on GitHub <

https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60821158>

.

— Reply to this email directly or view it on GitHub < https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60826710>

.

— Reply to this email directly or view it on GitHub https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60830598 .

goffinf commented 10 years ago

Performing the actual analysis, local or server, appears to work successfully.

There was another slight anomaly. When I opened the Duplicates and Rules panes and docked them next to the SonarQube one, then selected 'auto hide', when I clicked on them again, the names changed to 'Plugin' and wouldn't then show their content. Also, if I chose 'hide' for any of those two, I couldn't find a way of displaying them again (I had to re-install the VSSonarExtension to get them back !).

Tomorrow I will upgrade one of my VS installs to 2013, so I'll have both 2012 + the 2013 Shell and a pure 2013, and thus be able to test both.

Thanks for your patience

Fraser.

On 28/10/2014, Jorge Costa notifications@github.com wrote:

OK so I will prepare a debug version tomorrow and send. By the way is everything else running. Or did you find any additional issue? On Oct 28, 2014 10:59 PM, "goffinf" notifications@github.com wrote:

Nope, unfortunately its still the same behaviour even with your latest version.

Fraser.

On 28 October 2014 20:35, Jorge Costa notifications@github.com wrote:

i am pretty sure then its not related with vs 2013... anyway you could try to upgrade just to rule out this.

also you can try to upgrade with the last build

https://ci.appveyor.com/api/buildjobs/1vp8k1f1mqvjyj04/artifacts/BuildDrop/VSSonarQubeExtensionMetro.vsix if that link does not work you can try this one

https://ci.appveyor.com/project/jorgecosta/vssonarqubeextension/build/artifacts

If none of those happen then i will try to create debug version so that we can spot what is the issue.

On Tue, Oct 28, 2014 at 9:59 PM, goffinf notifications@github.com wrote:

I was aware of the pre-reqs including the VS 2013 Shell (Isolated) and the minimum IE version. I have satisfied both of these, but just to be sure I un-installed then re-installed the VS 2013 Shell. Unfortunately still no change.

This time I just opened up VS with no existing project and then created a basic console app. Went to SonarQube -> Local Analysis -> Clear All Filters ..... And BOOM !

Any other ideas ?

I can try upgrading to VS 2013 but it would be good to get to the bottom of this one since I think most of our .Net Dev team are still using 2012.

Regards

Fraser.

On 28/10/2014, Jorge Costa notifications@github.com wrote:

Great, thanks for all the info. However i think the issue here is that you are lacking some runtime libraries. Can you just confirm that you have visual studio 2013 shell http://www.microsoft.com/en-us/download/details.aspx?id=40764 http://www.microsoft.com/en-us/download/details.aspx?id=40764

ive moved to vs 2013 since 2012 shouldnt have been release in the first place... its kind of unfinished version imo.

anyway, i think there were some default constructors left i will use the issue to remove those..

but let me know if installing the 2013 helps... On Oct 28, 2014 7:41 PM, "goffinf" notifications@github.com wrote:

Adding to the above. Actually I found that this exception also occurs in the Local Analysis tab when clicking 'Clear All Filters' and doesn't even need a project association. Here is the stack trace. You can see from this line (the last one below) the method that is called in the VSSonarExtenion API ...

VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.OnFilterClearAllCommand(Object

obj)

System.Reflection.TargetInvocationException was unhandled HResult=-2146232828 Message=Exception has been thrown by the target of an invocation. Source=mscorlib StackTrace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at GalaSoft.MvvmLight.Helpers.WeakAction1.Execute(T parameter) at GalaSoft.MvvmLight.Command.RelayCommand1.Execute(Object parameter) at

MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource

commandSource, Boolean userInitiated) at System.Windows.Documents.Hyperlink.OnClick() at System.Windows.Documents.Hyperlink.DispatchNavigation(Object sender) at System.Windows.Documents.Hyperlink.DoUserInitiatedNavigation(Object sender) at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(Object sender, MouseButtonEventArgs e) at

System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(MouseButtonEventArgs

e) at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) at

System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) InnerException: System.NullReferenceException HResult=-2147467261 Message=Object reference not set to an instance of an object. Source=PresentationFramework StackTrace: at System.Windows.Data.ListCollectionView.PrepareLocalArray() at System.Windows.Data.ListCollectionView.RefreshOverride() at System.Windows.Data.CollectionView.RefreshInternal() at System.Windows.Data.CollectionView.RefreshOrDefer() at System.Windows.Data.CollectionView.set_Filter(Predicate1 value) at System.Windows.Data.ListCollectionView.set_Filter(Predicate1 value) at VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.ClearFilter() at

VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.OnFilterClearAllCommand(Object

obj) InnerException:

— Reply to this email directly or view it on GitHub <

https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60798535>

.


Reply to this email directly or view it on GitHub:

https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60810783

— Reply to this email directly or view it on GitHub <

https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60821158>

.

— Reply to this email directly or view it on GitHub < https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60826710>

.

— Reply to this email directly or view it on GitHub https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60830598 .


Reply to this email directly or view it on GitHub: https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60834314

jmecosta commented 10 years ago

For the tools, I think I've seen something similar. But the haven't tough of the hide could cause this. I will investigate and fix. Thanks for reporting

For the crash on the clear, does it happen if you use the filter in the colons? If you expands the headers and do apply and clear. I think it should also crash On Oct 29, 2014 12:25 AM, "goffinf" notifications@github.com wrote:

Performing the actual analysis, local or server, appears to work successfully.

There was another slight anomaly. When I opened the Duplicates and Rules panes and docked them next to the SonarQube one, then selected 'auto hide', when I clicked on them again, the names changed to 'Plugin' and wouldn't then show their content. Also, if I chose 'hide' for any of those two, I couldn't find a way of displaying them again (I had to re-install the VSSonarExtension to get them back !).

Tomorrow I will upgrade one of my VS installs to 2013, so I'll have both 2012 + the 2013 Shell and a pure 2013, and thus be able to test both.

Thanks for your patience

Fraser.

On 28/10/2014, Jorge Costa notifications@github.com wrote:

OK so I will prepare a debug version tomorrow and send. By the way is everything else running. Or did you find any additional issue? On Oct 28, 2014 10:59 PM, "goffinf" notifications@github.com wrote:

Nope, unfortunately its still the same behaviour even with your latest version.

Fraser.

On 28 October 2014 20:35, Jorge Costa notifications@github.com wrote:

i am pretty sure then its not related with vs 2013... anyway you could try to upgrade just to rule out this.

also you can try to upgrade with the last build

https://ci.appveyor.com/api/buildjobs/1vp8k1f1mqvjyj04/artifacts/BuildDrop/VSSonarQubeExtensionMetro.vsix

if that link does not work you can try this one

https://ci.appveyor.com/project/jorgecosta/vssonarqubeextension/build/artifacts

If none of those happen then i will try to create debug version so that we can spot what is the issue.

On Tue, Oct 28, 2014 at 9:59 PM, goffinf notifications@github.com wrote:

I was aware of the pre-reqs including the VS 2013 Shell (Isolated) and the minimum IE version. I have satisfied both of these, but just to be sure I un-installed then re-installed the VS 2013 Shell. Unfortunately still no change.

This time I just opened up VS with no existing project and then created a basic console app. Went to SonarQube -> Local Analysis -> Clear All Filters ..... And BOOM !

Any other ideas ?

I can try upgrading to VS 2013 but it would be good to get to the bottom of this one since I think most of our .Net Dev team are still using 2012.

Regards

Fraser.

On 28/10/2014, Jorge Costa notifications@github.com wrote:

Great, thanks for all the info. However i think the issue here is that you are lacking some runtime libraries. Can you just confirm that you have visual studio 2013 shell http://www.microsoft.com/en-us/download/details.aspx?id=40764 http://www.microsoft.com/en-us/download/details.aspx?id=40764

ive moved to vs 2013 since 2012 shouldnt have been release in the first place... its kind of unfinished version imo.

anyway, i think there were some default constructors left i will use the issue to remove those..

but let me know if installing the 2013 helps... On Oct 28, 2014 7:41 PM, "goffinf" notifications@github.com wrote:

Adding to the above. Actually I found that this exception also occurs in the Local Analysis tab when clicking 'Clear All Filters' and doesn't even need a project association. Here is the stack trace. You can see from this line (the last one below) the method that is called in the VSSonarExtenion API ...

VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.OnFilterClearAllCommand(Object

obj)

System.Reflection.TargetInvocationException was unhandled HResult=-2146232828 Message=Exception has been thrown by the target of an invocation. Source=mscorlib StackTrace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at GalaSoft.MvvmLight.Helpers.WeakAction1.Execute(T parameter) at GalaSoft.MvvmLight.Command.RelayCommand1.Execute(Object parameter) at

MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource

commandSource, Boolean userInitiated) at System.Windows.Documents.Hyperlink.OnClick() at System.Windows.Documents.Hyperlink.DispatchNavigation(Object sender) at System.Windows.Documents.Hyperlink.DoUserInitiatedNavigation(Object sender) at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(Object sender, MouseButtonEventArgs e) at

System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(MouseButtonEventArgs

e) at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) at

System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate

genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) at

System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate

genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) at

System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority

priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) InnerException: System.NullReferenceException HResult=-2147467261 Message=Object reference not set to an instance of an object. Source=PresentationFramework StackTrace: at System.Windows.Data.ListCollectionView.PrepareLocalArray() at System.Windows.Data.ListCollectionView.RefreshOverride() at System.Windows.Data.CollectionView.RefreshInternal() at System.Windows.Data.CollectionView.RefreshOrDefer() at System.Windows.Data.CollectionView.set_Filter(Predicate1 value) at System.Windows.Data.ListCollectionView.set_Filter(Predicate1 value) at

VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.ClearFilter()

at

VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.OnFilterClearAllCommand(Object

obj) InnerException:

— Reply to this email directly or view it on GitHub <

https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60798535>

.


Reply to this email directly or view it on GitHub:

https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60810783

— Reply to this email directly or view it on GitHub <

https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60821158>

.

— Reply to this email directly or view it on GitHub <

https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60826710>

.

— Reply to this email directly or view it on GitHub < https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60830598>

.


Reply to this email directly or view it on GitHub:

https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60834314

— Reply to this email directly or view it on GitHub https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60842660 .

jmecosta commented 10 years ago

ok there is now a new version coming up in a couple of minutes https://ci.appveyor.com/project/jorgecosta/vssonarqubeextension/build/artifacts

let me know if it helps

On Wed, Oct 29, 2014 at 8:11 AM, Jorge Costa jmecosta@gmail.com wrote:

For the tools, I think I've seen something similar. But the haven't tough of the hide could cause this. I will investigate and fix. Thanks for reporting

For the crash on the clear, does it happen if you use the filter in the colons? If you expands the headers and do apply and clear. I think it should also crash On Oct 29, 2014 12:25 AM, "goffinf" notifications@github.com wrote:

Performing the actual analysis, local or server, appears to work successfully.

There was another slight anomaly. When I opened the Duplicates and Rules panes and docked them next to the SonarQube one, then selected 'auto hide', when I clicked on them again, the names changed to 'Plugin' and wouldn't then show their content. Also, if I chose 'hide' for any of those two, I couldn't find a way of displaying them again (I had to re-install the VSSonarExtension to get them back !).

Tomorrow I will upgrade one of my VS installs to 2013, so I'll have both 2012 + the 2013 Shell and a pure 2013, and thus be able to test both.

Thanks for your patience

Fraser.

On 28/10/2014, Jorge Costa notifications@github.com wrote:

OK so I will prepare a debug version tomorrow and send. By the way is everything else running. Or did you find any additional issue? On Oct 28, 2014 10:59 PM, "goffinf" notifications@github.com wrote:

Nope, unfortunately its still the same behaviour even with your latest version.

Fraser.

On 28 October 2014 20:35, Jorge Costa notifications@github.com wrote:

i am pretty sure then its not related with vs 2013... anyway you could try to upgrade just to rule out this.

also you can try to upgrade with the last build

https://ci.appveyor.com/api/buildjobs/1vp8k1f1mqvjyj04/artifacts/BuildDrop/VSSonarQubeExtensionMetro.vsix

if that link does not work you can try this one

https://ci.appveyor.com/project/jorgecosta/vssonarqubeextension/build/artifacts

If none of those happen then i will try to create debug version so that we can spot what is the issue.

On Tue, Oct 28, 2014 at 9:59 PM, goffinf notifications@github.com wrote:

I was aware of the pre-reqs including the VS 2013 Shell (Isolated) and the minimum IE version. I have satisfied both of these, but just to be sure I un-installed then re-installed the VS 2013 Shell. Unfortunately still no change.

This time I just opened up VS with no existing project and then created a basic console app. Went to SonarQube -> Local Analysis -> Clear All Filters ..... And BOOM !

Any other ideas ?

I can try upgrading to VS 2013 but it would be good to get to the bottom of this one since I think most of our .Net Dev team are still using 2012.

Regards

Fraser.

On 28/10/2014, Jorge Costa notifications@github.com wrote:

Great, thanks for all the info. However i think the issue here is that you are lacking some runtime libraries. Can you just confirm that you have visual studio 2013 shell http://www.microsoft.com/en-us/download/details.aspx?id=40764 http://www.microsoft.com/en-us/download/details.aspx?id=40764

ive moved to vs 2013 since 2012 shouldnt have been release in the first place... its kind of unfinished version imo.

anyway, i think there were some default constructors left i will use the issue to remove those..

but let me know if installing the 2013 helps... On Oct 28, 2014 7:41 PM, "goffinf" notifications@github.com wrote:

Adding to the above. Actually I found that this exception also occurs in the Local Analysis tab when clicking 'Clear All Filters' and doesn't even need a project association. Here is the stack trace. You can see from this line (the last one below) the method that is called in the VSSonarExtenion API ...

VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.OnFilterClearAllCommand(Object

obj)

System.Reflection.TargetInvocationException was unhandled HResult=-2146232828 Message=Exception has been thrown by the target of an invocation. Source=mscorlib StackTrace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at GalaSoft.MvvmLight.Helpers.WeakAction1.Execute(T parameter) at GalaSoft.MvvmLight.Command.RelayCommand1.Execute(Object parameter) at

MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource

commandSource, Boolean userInitiated) at System.Windows.Documents.Hyperlink.OnClick() at System.Windows.Documents.Hyperlink.DispatchNavigation(Object sender) at System.Windows.Documents.Hyperlink.DoUserInitiatedNavigation(Object sender) at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(Object sender, MouseButtonEventArgs e) at

System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(MouseButtonEventArgs

e) at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) at

System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate

genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) at

System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate

genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at

System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) at

System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority

priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) InnerException: System.NullReferenceException HResult=-2147467261 Message=Object reference not set to an instance of an object. Source=PresentationFramework StackTrace: at System.Windows.Data.ListCollectionView.PrepareLocalArray() at System.Windows.Data.ListCollectionView.RefreshOverride() at System.Windows.Data.CollectionView.RefreshInternal() at System.Windows.Data.CollectionView.RefreshOrDefer() at System.Windows.Data.CollectionView.set_Filter(Predicate1 value) at System.Windows.Data.ListCollectionView.set_Filter(Predicate1 value) at

VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.ClearFilter()

at

VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel.OnFilterClearAllCommand(Object

obj) InnerException:

— Reply to this email directly or view it on GitHub <

https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60798535>

.


Reply to this email directly or view it on GitHub:

https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60810783

— Reply to this email directly or view it on GitHub <

https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60821158>

.

— Reply to this email directly or view it on GitHub <

https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60826710>

.

— Reply to this email directly or view it on GitHub < https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60830598>

.


Reply to this email directly or view it on GitHub:

https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60834314

— Reply to this email directly or view it on GitHub https://github.com/jmecosta/VSSonarQubeExtension/issues/57#issuecomment-60842660 .