aws / aws-toolkit-jetbrains

AWS Toolkit for JetBrains - a plugin for interacting with AWS from JetBrains IDEs
https://plugins.jetbrains.com/plugin/11349-aws-toolkit
Apache License 2.0
730 stars 198 forks source link

Amazon Q break configuration and run java application java.lang.NullPointerException: getVirtualFile(...) must not be null #4563

Closed Sangeethachan closed 3 weeks ago

Sangeethachan commented 3 weeks ago

After updating AWS TOOLKIT GOT THE ERROR Error Type:

java.lang.NullPointerException: This error occurs when an application attempts to use null in a case where an object is required. This usually happens when trying to call a method on a null object. Specific Location:

software.aws.toolkits.jetbrains.services.codewhisperer.codescan.listeners.CodeWhispererCodeScanFileListener.editorCreated(CodeWhispererCodeScanFileListener.kt:18): The error occurs at line 18 of the CodeWhispererCodeScanFileListener.kt file in the editorCreated method.

Your Environment

Additional context

rli commented 3 weeks ago

Same as https://github.com/aws/aws-toolkit-jetbrains/issues/4554