jfrog / jfrog-visual-studio-extension

Apache License 2.0
10 stars 9 forks source link

JFrog Window Crashes Visual Studio 2019 #15

Closed app2eds closed 3 years ago

app2eds commented 3 years ago

I recently installed and configured the JFrog extension in Visual Studio 2019. If I open a project with dependencies that have no JFrog issues, everything is fine. If I open a project where I know some of the dependencies have vulnerabilities, as soon as I open the JFrog window, Visual Studio crashes.

I have uninstalled and reinstalled the extension, but still have the issue.

After much trial and error, here is something I've noticed. Not sure if this has anything to do with the issue, but when my project references Microsoft.NETCore.Platforms 3.1.0 (which has vulnerabilities according to JFrog), Visual Studio will crash when I open the JFrog window. However, if I upgrade Microsoft.NETCore.Platforms to 3.1.4 (which does NOT have vulnerabilities), I can open the JFrog window without any problems.

eyalbe4 commented 3 years ago

Thanks so much for investigating and reporting this issue @app2eds. Will you be able to share with us a sample project that reproduces this issue through GitHub?

jigar61 commented 3 years ago

I am having the same issue. The output window shows that the scan completes successfully and the json is returned but the treeview struggles to load and crashes VS 2019.

eyalbe4 commented 3 years ago

@app2eds and @jigar61 - Thanks for raising this issue. We believe https://github.com/jfrog/jfrog-visual-studio-extension/pull/16 fixes the issue. We'll get a patch released soon.

RobiNino commented 3 years ago

Hi @app2eds and @jigar61 , We just released version 1.0.7 of the extension that includes a fix to this issue. We'd appreciate your feedback for it. Thanks

jigar61 commented 3 years ago

Seems to work for me now.

eyalbe4 commented 3 years ago

Thanks for the feedback @jigar61!