Skip to content

Commit 9c4f604

Browse files
authored
aggregate typical buildship warnings (#1092)
1 parent 7c37495 commit 9c4f604

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/daemon/serverLog/whitelist.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ const MESSAGE_WHITELIST: string[] = [
4141
"Synchronize Gradle projects with workspace failed due to an error in the referenced Gradle build.",
4242
"Unable to read JavaModelManager nonChainingJarsCache file",
4343
"Workspace restored, but some problems occurred.",
44+
45+
// While loading class "xxxx", thread "Thread[Worker-1: Loading available Gradle versions,5,main]" timed out waiting (300xxms) for thread "Thread[Worker-0: Synchronizing projects,5,main]" to finish starting bundle "org.eclipse.buildship.core_3.1.6.v20220511-1359 [16]". To avoid deadlock, thread "Thread[Worker-1: Loading available Gradle versions,5,main]" is proceeding but "xxxx" may not be fully initialized.
46+
// xxxx stands for below:
47+
// org.eclipse.buildship.core.internal.preferences.PersistentModelConverter
48+
// org.eclipse.buildship.core.internal.util.gradle.PublishedGradleVersions$LookupStrategy
49+
// ...
50+
"While loading class \"org.eclipse.buildship.core.internal."
4451
];
4552

4653
export function redact(rawMessage: string, consentToCollectLogs: boolean): {

0 commit comments

Comments
 (0)