You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am getting an error when I am trying to use review functionality in Q developer. It is happening in a specific project. I tried it in other projects and it seems working fine.
To reproduce
Open Q Developer chat window and use /review to review the project
Expected behavior
Screenshots
Failed to run code review and display results. Caused by: Amazon Q encountered an error while reviewing for code issues. Please try again later., status code: null, exception: PatternSyntaxException, request ID: null Jetbrains IDE: IntelliJ IDEA 2024.2.3, IDE version: IU-242.23339.11,
java.util.regex.PatternSyntaxException: Unescaped trailing backslash near index 9
.*chsenv
at java.base/java.util.regex.Pattern.error(Pattern.java:2204)
at java.base/java.util.regex.Pattern.compile(Pattern.java:1951)
at java.base/java.util.regex.Pattern.(Pattern.java:1576)
at java.base/java.util.regex.Pattern.compile(Pattern.java:1101)
at kotlin.text.Regex.(Regex.kt:88)
at software.aws.toolkits.jetbrains.services.amazonq.FeatureDevSessionContext.(FeatureDevSessionContext.kt:86)
at software.aws.toolkits.jetbrains.services.amazonq.FeatureDevSessionContext.(FeatureDevSessionContext.kt:41)
at software.aws.toolkits.jetbrains.services.codewhisperer.codescan.sessionconfig.CodeScanSessionConfig.(CodeScanSessionConfig.kt:61)
at software.aws.toolkits.jetbrains.services.codewhisperer.codescan.sessionconfig.CodeScanSessionConfig$Companion.create(CodeScanSessionConfig.kt:333)
at software.aws.toolkits.jetbrains.services.codewhisperer.codescan.CodeWhispererCodeScanManager$launchCodeScanCoroutine$1.invokeSuspend(CodeWhispererCodeScanManager.kt:402)
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)
Your Environment
IntelliJ IDEA 2024.2.3 (Ultimate Edition)
Build #IU-242.23339.11, built on September 25, 2024
Runtime version: 21.0.4+13-b509.17 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 10.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 4056M
Cores: 12
Non-Bundled Plugins:
aws.toolkit.core (3.44-242)
amazon.q (3.44-242)
aws.toolkit (3.44-242)
The text was updated successfully, but these errors were encountered:
Describe the bug
I am getting an error when I am trying to use review functionality in Q developer. It is happening in a specific project. I tried it in other projects and it seems working fine.
To reproduce
Open Q Developer chat window and use /review to review the project
Expected behavior
Screenshots
Failed to run code review and display results. Caused by: Amazon Q encountered an error while reviewing for code issues. Please try again later., status code: null, exception: PatternSyntaxException, request ID: null Jetbrains IDE: IntelliJ IDEA 2024.2.3, IDE version: IU-242.23339.11,
java.util.regex.PatternSyntaxException: Unescaped trailing backslash near index 9
.*chsenv
at java.base/java.util.regex.Pattern.error(Pattern.java:2204)
at java.base/java.util.regex.Pattern.compile(Pattern.java:1951)
at java.base/java.util.regex.Pattern.(Pattern.java:1576)
at java.base/java.util.regex.Pattern.compile(Pattern.java:1101)
at kotlin.text.Regex.(Regex.kt:88)
at software.aws.toolkits.jetbrains.services.amazonq.FeatureDevSessionContext.(FeatureDevSessionContext.kt:86)
at software.aws.toolkits.jetbrains.services.amazonq.FeatureDevSessionContext.(FeatureDevSessionContext.kt:41)
at software.aws.toolkits.jetbrains.services.codewhisperer.codescan.sessionconfig.CodeScanSessionConfig.(CodeScanSessionConfig.kt:61)
at software.aws.toolkits.jetbrains.services.codewhisperer.codescan.sessionconfig.CodeScanSessionConfig$Companion.create(CodeScanSessionConfig.kt:333)
at software.aws.toolkits.jetbrains.services.codewhisperer.codescan.CodeWhispererCodeScanManager$launchCodeScanCoroutine$1.invokeSuspend(CodeWhispererCodeScanManager.kt:402)
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)
Your Environment
IntelliJ IDEA 2024.2.3 (Ultimate Edition)
Build #IU-242.23339.11, built on September 25, 2024
Runtime version: 21.0.4+13-b509.17 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 10.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 4056M
Cores: 12
Non-Bundled Plugins:
aws.toolkit.core (3.44-242)
amazon.q (3.44-242)
aws.toolkit (3.44-242)
The text was updated successfully, but these errors were encountered: