aws/aws-toolkit-jetbrains

Intermittent issues: Failed to run security scan and display results. Caused by: Security scan failed

Opened this issue · 0 comments

Describe the bug

To reproduce

Expected behavior

Your Environment

IntelliJ IDEA 2024.2.2
Amazon Q: 3.37-242
Time: 11/1 10-12.00 PM EST

Additional context
2024-11-01 10:40:58,826 [2574963] INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities com.intellij.platform.workspace.jps.entities.LibraryEntity to files 2024-11-01 10:40:58,856 [2574993] INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=prompt_catalog, containerState=COMPONENT_CREATED, componentStore=C:\Users\K27997\IdeaProjects\prompt_catalog)RunManager took 16 ms 2024-11-01 10:41:05,450 [2581587] SEVERE - software.aws.toolkits.jetbrains.services.codewhisperer.codescan.CodeWhispererCodeScanSession - Failed to run security scan and display results. Caused by: Security scan failed., status code: null, exception: Exception, request ID: nullJetbrains IDE: IntelliJ IDEA 2024.2.2, IDE version: IU-242.22855.74, java.lang.Exception: Security scan failed. at software.aws.toolkits.jetbrains.services.codewhisperer.codescan.CodeWhispererCodeScanExceptionKt.codeScanFailed(CodeWhispererCodeScanException.kt:16) at software.aws.toolkits.jetbrains.services.codewhisperer.codescan.CodeWhispererCodeScanSession$run$8.invokeSuspend(CodeWhispererCodeScanSession.kt:191) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732) at java.base/java.security.AccessController.doPrivileged(AccessController.java:400) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732) at java.base/java.lang.Thread.run(Thread.java:1583) 2024-11-01 10:41:05,472 [2581609] SEVERE - software.aws.toolkits.jetbrains.services.codewhisperer.codescan.CodeWhispererCodeScanManager - Failed to run security scan and display results. Caused by: Amazon Q encountered an error while scanning for security issues. Please try again later., status code: null, exception: Exception, request ID: null Jetbrains IDE: IntelliJ IDEA 2024.2.2, IDE version: IU-242.22855.74, java.lang.Exception: Security scan failed. at software.aws.toolkits.jetbrains.services.codewhisperer.codescan.CodeWhispererCodeScanExceptionKt.codeScanFailed(CodeWhispererCodeScanException.kt:16) at software.aws.toolkits.jetbrains.services.codewhisperer.codescan.CodeWhispererCodeScanSession$run$8.invokeSuspend(CodeWhispererCodeScanSession.kt:191) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732) at java.base/java.security.AccessController.doPrivileged(AccessController.java:400) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732) at java.base/java.lang.Thread.run(Thread.java:1583) 2024-11-01 10:41:13,968 [2590105] INFO - #c.i.DynamicBundle - Cleanup bundle cache for messages.ProtobufIdeBundle