Skip to content
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

TimeoutException when expanding RDS node in DataGrip #4212

Open
hackslashX opened this issue Mar 28, 2024 · 0 comments
Open

TimeoutException when expanding RDS node in DataGrip #4212

hackslashX opened this issue Mar 28, 2024 · 0 comments
Labels
bug We can reproduce the issue and confirmed it is a bug.

Comments

@hackslashX
Copy link

Describe the bug
Timeout Exception when expanding the RDS node in DataGrip. The account has approx. 140 DB Instances and they always fail to load in AWS Toolkit.

2024-03-28 14:47:51,007 [ 95878] INFO - software.aws.toolkits.jetbrains.services.rds.RdsExplorerParentNode - Failed to get children java.util.concurrent.TimeoutException at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1960) at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2095) at software.aws.toolkits.jetbrains.core.AwsResourceCache$Companion.wait(AwsResourceCache.kt:181) at software.aws.toolkits.jetbrains.core.AwsResourceCache$Companion.access$wait(AwsResourceCache.kt:176) at software.aws.toolkits.jetbrains.core.AwsResourceCache.getResourceNow(AwsResourceCache.kt:111) at software.aws.toolkits.jetbrains.core.AwsResourceCache.getResourceNow(AwsResourceCache.kt:135) at software.aws.toolkits.jetbrains.core.AwsResourceCacheKt.getResourceNow(AwsResourceCache.kt:205) at software.aws.toolkits.jetbrains.core.AwsResourceCacheKt.getResourceNow$default(AwsResourceCache.kt:204) at software.aws.toolkits.jetbrains.services.rds.RdsExplorerParentNode.getChildrenInternal(RdsExplorerNodes.kt:24) at software.aws.toolkits.jetbrains.core.explorer.nodes.ResourceParentNode.getChildren(ResourceParentNode.kt:20) at software.aws.toolkits.jetbrains.core.explorer.nodes.AwsExplorerServiceRootNode.getChildren(AwsExplorerServiceRootNode.kt:22) at software.aws.toolkits.jetbrains.core.explorer.nodes.AwsExplorerServiceRootNode.getChildren(AwsExplorerServiceRootNode.kt:13) at com.intellij.ide.util.treeView.AbstractTreeStructureBase.getChildElements(AbstractTreeStructureBase.java:38) at com.intellij.ui.tree.StructureTreeModel.getValidChildren(StructureTreeModel.java:411) at com.intellij.ui.tree.StructureTreeModel.validateChildren(StructureTreeModel.java:329) at com.intellij.ui.tree.StructureTreeModel.getNode(StructureTreeModel.java:323) at com.intellij.ui.tree.StructureTreeModel.getChildren(StructureTreeModel.java:343) at com.intellij.ui.tree.AsyncTreeModel$CmdGetChildren.computeNode(AsyncTreeModel.java:613) at com.intellij.ui.tree.AsyncTreeModel$Command.computeNode(AsyncTreeModel.java:489) at com.intellij.util.concurrency.Invoker$Task.run(Invoker.java:381) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1075) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runInReadActionWithWriteActionPriority$0(ProgressIndicatorUtils.java:73) at com.intellij.openapi.progress.util.ProgressIndicatorUtilService.runActionAndCancelBeforeWrite(ProgressIndicatorUtilService.java:73) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:128) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runWithWriteActionPriority$1(ProgressIndicatorUtils.java:111) at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:73) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:192) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:610) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:685) at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:641) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:609) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:78) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:179) at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:73) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runWithWriteActionPriority(ProgressIndicatorUtils.java:108) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runInReadActionWithWriteActionPriority(ProgressIndicatorUtils.java:73) at com.intellij.util.concurrency.Invoker.startTask(Invoker.java:238) at com.intellij.util.concurrency.Invoker.invokeSafely(Invoker.java:194) at com.intellij.util.concurrency.Invoker.lambda$offerSafely$0(Invoker.java:177) at com.intellij.util.concurrency.Invoker$Background.lambda$offer$0(Invoker.java:508) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:272) at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:244) at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:30) at com.intellij.util.concurrency.BoundedTaskExecutor$1.executeFirstTaskAndHelpQueue(BoundedTaskExecutor.java:222) at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:218) at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:210) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699) at java.base/java.lang.Thread.run(Thread.java:840)

To reproduce
In AWS Toolkit, expand the RDS Node. It fails after a certain interval with Timeout Exception.

Expected behavior
The RDS node should list all instances belonging to the account.

Screenshots
image

Your Environment

  • OS: macOS
  • JetBrains product: DataGrip
  • JetBrains product version: 2023.3.4
  • AWS Toolkit version: 2.14*233
@hackslashX hackslashX added the bug We can reproduce the issue and confirmed it is a bug. label Mar 28, 2024
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.
Projects
None yet
Development

No branches or pull requests

1 participant