Skip to content

Wrong error shown when language is not supported #4929

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rli opened this issue Oct 1, 2024 · 1 comment
Closed

Wrong error shown when language is not supported #4929

rli opened this issue Oct 1, 2024 · 1 comment
Labels
bug We can reproduce the issue and confirmed it is a bug. codewhisperer

Comments

@rli
Copy link
Contributor

rli commented Oct 1, 2024

java.lang.Throwable: Assert: must be called on EDT
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:376)
	at com.intellij.util.ui.EDT.assertIsEdt(EDT.java:77)
	at com.intellij.codeInsight.hint.LocalHintManager.getHintPosition(LocalHintManager.java:347)
	at com.intellij.codeInsight.hint.HintManagerImpl.showInformationHint(HintManagerImpl.java:570)
	at com.intellij.codeInsight.hint.HintManagerImpl.showInformationHint(HintManagerImpl.java:544)
	at com.intellij.codeInsight.hint.HintManagerImpl.showInformationHint(HintManagerImpl.java:531)
	at software.aws.toolkits.jetbrains.services.codewhisperer.service.CodeWhispererService.showCodeWhispererInfoHint(CodeWhispererService.kt:758)
	at software.aws.toolkits.jetbrains.services.codewhisperer.service.CodeWhispererService.doShowRecommendationsInPopup(CodeWhispererService.kt:177)
	at software.aws.toolkits.jetbrains.services.codewhisperer.service.CodeWhispererService.access$doShowRecommendationsInPopup(CodeWhispererService.kt:93)
	at software.aws.toolkits.jetbrains.services.codewhisperer.service.CodeWhispererService$showRecommendationsInPopup$1.invokeSuspend(CodeWhispererService.kt:110)
	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)

amazon.q (3.30-242)
aws.toolkit (3.30-242)

@rli rli added bug We can reproduce the issue and confirmed it is a bug. codewhisperer labels Oct 1, 2024
@bryceitoc9
Copy link
Contributor

Appears fixed by #4946 . Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug We can reproduce the issue and confirmed it is a bug. codewhisperer
Projects
None yet
Development

No branches or pull requests

2 participants