Closed KevinDHunter closed 10 months ago
Hi @KevinDHunter , this bug has been fixed in the latest AWS Toolkit for JetBrains v2.0+. We included various security scan improvements in this release. Could you try installing the latest build and do security scan? Thank you!
Describe the bug The plugin assumes that the CodeWhisperer Security Issues window is always present, and crashes if it is not.
If you run a security scan and close (X-out) the CodeWhisperer Security Issues window, then run another scan, you get the following exception.
To reproduce
You get an "IDE error" message which, when you click for more information, gives you the exception above. The "Stop Security Scan" option is now displayed, but doesn't do anything. You have to exit PyCharm and restart it to get things back to working again.
Expected behavior It should simply re-create the CodeWhisperer Security Issues window as required, not assume that it's already there.
Screenshots This is what I mean by the "x" on the window:
Here's what it looks like afterwards:
Your Environment