GoogleCloudPlatform / cloud-code-intellij

Plugin to support the Google Cloud Platform in IntelliJ IDEA - Docs and Issues Repository
Apache License 2.0
318 stars 59 forks source link

Yaml Language Server startup error #3140

Open pasglop opened 1 year ago

pasglop commented 1 year ago

(Please ensure you are running the latest version of Cloud Cloud IntelliJ with Help > Check for Updates.)

(screenshots are often helpful)

Expected Behavior

no freeze

Actual Behavior

When I start webstorm I get this notification :

Yaml Language Server startup error

Request initialize failed with message: [UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")

Then after 1 to 5 mn webstorm freeze for ~5mn (Think waiting a time out)

This happens when Plugin Google Cloud Code is installed and activated (thus related). Also I have AWS toolkit plugin installed and activated.

I disabled the Google Cloud Code and the startup error disappeared.

Additional Information

Feel free to deviate from this template as needed, especially if you are submitting a feature request.

WebStorm 2023.1.1 Build #WS-231.8770.64, built on April 27, 2023 Runtime version: 17.0.6+10-b829.9 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 11.0 GC: G1 Young Generation, G1 Old Generation Memory: 2048M Cores: 16 Registry: debugger.new.tool.window.layout=true ide.experimental.ui=true eslint.additional.file.extensions=svelte

Non-Bundled Plugins: net.chakmidlot.jetbrains.bigquery.plugin (0.1.3) org.intellij.plugins.hcl (231.8109.91) com.github.copilot (1.2.5.2507) com.intellij.ideolog (203.0.30.0) org.jetbrains.plugins.localization (231.8109.91) ru.adelf.idea.dotenv (2023.1) com.intellij.database (231.8770.64) com.github.dbDoc (0.1) com.intellij.lang.jsgraphql (4.0.0) dev.blachut.svelte.lang (231.8770.15) com.haulmont.rcb (2023.2-231) mdx.js (231.8109.91) aws.toolkit (1.67-231)

etanshaul commented 1 year ago

sorry for the delay here. is this still an issue? We are not able to repro this. There is a new version of the plugin you can try as well. 22.5.2. Let us know if you are still facing this.

jlenuffgsoi commented 1 year ago

Hi, the bug is still present.

Request initialize failed with message: [UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")

Plugin version : 23.5.2-222 IDE : Intellij IDEA 2023.1.3 (Ultimate Edition), build #IU-231.9161.38

etanshaul commented 1 year ago

We are looking into this. Do you happen to know which Yaml file you had open when this error came up? If so, is it possible to share the contents (redacting sensitive info)?

jlenuffgsoi commented 1 year ago

This message shows at Intellij startup. The title message is Yaml Language Server startup error. So, it happens when scanning the whole local repository (not when openning a particular file). I have several files, but only 5 YAML files.

One of these is :

services:
  jenkins:
    image: jenkins/jenkins:2.387.3-lts-jdk11
    restart: always
    ports:
      - "8080:8080"
    volumes:
      - type: bind
        source: /mnt/disk/jenkins_data
        target: /var/jenkins_home
    environment:
      JAVA_OPTS: >-
        -Djava.awt.headless=true
        -Dhudson.model.DirectoryBrowserSupport.CSP="sandbox allow-scripts; default-src 'none'; img-src 'self' data: ; style-src 'self' 'unsafe-inline' data: ; script-src 'self' 'unsafe-inline' 'unsafe-eval';"
        -Dorg.apache.commons.jelly.tags.fmt.timeZone=Europe/Paris
volumes:
  jenkins_home:

And one other is :

repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.3.0
    hooks:
      - id: trailing-whitespace
      - id: end-of-file-fixer
        exclude: /secrets
      - id: check-added-large-files
      - id: check-yaml
        args:
        - '--allow-multiple-documents'
        exclude: /templates|/secrets

  - repo: https://github.com/compilerla/conventional-pre-commit
    rev: v1.3.0
    hooks:
      - id: conventional-pre-commit
        stages: [commit-msg]

  - repo: https://github.com/antonbabenko/pre-commit-terraform
    rev: v1.72.1
    hooks:
      - id: terraform_fmt
        args:
        - --args=-diff
        - --args=-write=true
      - id: terraform_docs
      - id: terraform_tflint
        files: \.tf$
        args:
        - '--args=--enable-rule=terraform_deprecated_interpolation'
        - '--args=--enable-rule=terraform_deprecated_index'
        - '--args=--enable-rule=terraform_unused_declarations'
        - '--args=--enable-rule=terraform_comment_syntax'
        - '--args=--enable-rule=terraform_documented_outputs'
        - '--args=--enable-rule=terraform_documented_variables'
        - '--args=--enable-rule=terraform_typed_variables'
        - '--args=--enable-rule=terraform_required_version'
        - '--args=--enable-rule=terraform_required_providers'
        - '--args=--enable-rule=terraform_unused_required_providers'
        - '--args=--enable-rule=terraform_standard_module_structure'
      # - id: terraform_tfsec
      #   args:
      #   - '--args=--config-file __GIT_WORKING_DIR__/.tfsec.yml --exclude-downloaded-modules --exclude-path=.tfsec/cache'

The others are very similar.

jlenuffgsoi commented 1 year ago

After removing all Yaml files from my repository, I still encounter the startup error message about YAML.

etanshaul commented 1 year ago

thanks. we are trying to get to the bottom of this. If there is anything interesting in the ide logs that you could share that might help as well.

etanshaul commented 1 year ago

@jtattermusch are you also on windows? Is there anything of note about the file system where your project is living (is it a network file system perhaps)? This error seems to be indicating that the language server initialization (via the lsp4j library) is not liking the URI structure of the files.

edit: noting for reference that https://github.com/redhat-developer/vscode-java/issues/259 looks related

jlenuffgsoi commented 1 year ago

Here are some logs from my IDE :

2023-06-26 15:37:45,284 [282752894]   INFO - #c.i.o.v.i.p.NewMappings - VCS Root: [Git] - [<Project>]
2023-06-26 15:37:45,312 [282752922]   WARN - #c.i.i.s.p.i.BundledSharedIndexPostStartupActivity - Skipped 1 pre-built shared indexes: bundled-js-predefined-1d06a55b98c1-35bf29dd0b10-JavaScript-IU-231.9161.38
2023-06-26 15:37:45,342 [282752952]   INFO - #c.i.o.v.i.p.NewMappings - Mapped Roots: 1
2023-06-26 15:37:45,505 [282753115]   INFO - #com.google.cloud.tools.intellij.cloudapis.CloudApiMetadataManager - Successfully downloaded file https://storage.googleapis.com/cloudcode_api_browser_metadata/products.csv to C:\Users\j.lenuff\AppData\Local\Temp\cloud_api_prefix5232\products.csv
2023-06-26 15:37:45,510 [282753120]   INFO - #com.google.cloud.tools.intellij.cloudapis.CloudApiMetadataManager - Successfully copied temporary file C:\Users\j.lenuff\AppData\Local\Temp\cloud_api_prefix5232\products.csv to C:\Users\j.lenuff\AppData\Local\cloud-code\products.csv
2023-06-26 15:37:45,574 [282753184]   INFO - #c.i.w.i.i.EntitiesOrphanageImpl - Update orphanage. null modules added
2023-06-26 15:37:45,575 [282753185]   INFO - #c.i.w.i.i.WorkspaceModelImpl - Project model updated to version 3 in 1 ms: Node: update library entities
2023-06-26 15:37:45,606 [282753216]   INFO - #com.google.cloud.tools.intellij.cloudapis.CloudApiMetadataManager - Successfully downloaded file https://storage.googleapis.com/cloudcode_api_browser_metadata/libraries.csv to C:\Users\j.lenuff\AppData\Local\Temp\cloud_api_prefix5773\libraries.csv
2023-06-26 15:37:45,611 [282753221]   INFO - #com.google.cloud.tools.intellij.cloudapis.CloudApiMetadataManager - Successfully copied temporary file C:\Users\j.lenuff\AppData\Local\Temp\cloud_api_prefix5773\libraries.csv to C:\Users\j.lenuff\AppData\Local\cloud-code\libraries.csv
2023-06-26 15:37:45,786 [282753396]   INFO - #c.i.u.i.UnindexedFilesScanner - 6de5e0ac: initial VFS refresh finished 630 ms
2023-06-26 15:37:46,101 [282753711]   INFO - #c.i.e.wsl - WSL mount root for Debian is /mnt/ (done in 751 ms)
2023-06-26 15:37:46,608 [282754218]   INFO - #com.google.cloud.tools.intellij.cloudapis.CloudApiMetadataManager - Successfully downloaded file https://storage.googleapis.com/cloudcode_api_browser_metadata/code_snippets.csv to C:\Users\j.lenuff\AppData\Local\Temp\cloud_api_prefix4\code_snippets.csv
2023-06-26 15:37:46,632 [282754242]   INFO - #com.google.cloud.tools.intellij.cloudapis.CloudApiMetadataManager - Successfully copied temporary file C:\Users\j.lenuff\AppData\Local\Temp\cloud_api_prefix4\code_snippets.csv to C:\Users\j.lenuff\AppData\Local\cloud-code\code_snippets.csv
2023-06-26 15:37:46,690 [282754300]   INFO - #c.i.d.PerformanceWatcherImpl - Post-startup activities under progress took 1423ms; general responsiveness: ok; EDT responsiveness: ok
2023-06-26 15:37:46,733 [282754343]   WARN - #c.i.c.InspectionEP - com.google.cloud.tools.intellij.appengine.java.inspections.AppEngineDeprecatedRuntimeInspection
2023-06-26 15:37:46,779 [282754389]   WARN - #com.google.cloud.tools.intellij.installer.InstallationState - `start` called after installation has already completed
2023-06-26 15:37:46,832 [282754442]   INFO - language-server - Starting setup for language servers...
2023-06-26 15:37:46,833 [282754443]   INFO - yaml-language-server - Starting yaml-language-server...
2023-06-26 15:37:46,841 [282754451]   INFO - #com.android.tools.idea.projectsystem.ProjectSystemService - DefaultProjectSystem project system has been detected
2023-06-26 15:37:48,208 [282755818]   INFO - #com.google.cloud.tools.intellij.kubernetes.dependencies.ManagedDepsInstallerTask - Successfully installed managed dependencies in C:\Users\j.lenuff\AppData\Local\cloud-code\bin\versions\8dc9b2c2dae666aa01b76becf5aa19e4312198cf72941b9c987e1467fd48ffc1
2023-06-26 15:37:50,684 [282758294]   WARN - language-server - Language server yaml-language-server failed to initialize
java.util.concurrent.ExecutionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: Request initialize failed with message: [UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")
    at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
    at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)
    at com.google.cloud.tools.intellij.languageclient.ServerInitializer.initialize(ServerInitializer.kt:140)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService$setUpServer$initializeResult$1.invoke(LanguageServerProjectStateService.kt:124)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService$setUpServer$initializeResult$1.invoke(LanguageServerProjectStateService.kt:123)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService.initializeLanguageServerAndPingMetrics(LanguageServerProjectStateService.kt:214)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService.setUpServer(LanguageServerProjectStateService.kt:123)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService.setUpServer$default(LanguageServerProjectStateService.kt:88)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService.setUpYamlServer(LanguageServerProjectStateService.kt:198)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService$start$1.invokeSuspend(LanguageServerProjectStateService.kt:72)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
    at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
    at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Caused by: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: Request initialize failed with message: [UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleResponse(RemoteEndpoint.java:209)
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:193)
    at org.eclipse.lsp4j.jsonrpc.TracingMessageConsumer.consume(TracingMessageConsumer.java:114)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
    at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    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.lang.Thread.run(Thread.java:833)
2023-06-26 15:37:51,149 [282758759]   INFO - #com.google.cloud.tools.intellij.kubernetes.skaffold.SkaffoldTrackingStartupActivity - updating skaffold session for gsoi-bishop due to login status change
2023-06-26 15:37:51,149 [282758759]   INFO - #com.google.cloud.tools.intellij.kubernetes.skaffold.SkaffoldTrackingStartupActivity - updating skaffold session for cicd due to login status change
2023-06-26 15:37:51,696 [282759306]   INFO - c.i.s.k.s.d.SpaceKtsFileDetector - SpaceKtsFileDetector
2023-06-26 15:37:51,697 [282759307]   INFO - #o.j.j.b.i.CompilerReferenceIndex - backward reference index version doesn't exist
2023-06-26 15:37:51,698 [282759308]   INFO - #c.j.r.p.c.CodeWithMeCleanup - running activity to cleanup old thin clients... Root path is 'C:\Users\j.lenuff\AppData\Local\JetBrains'. JvmStartTimeMs=1687503911516
2023-06-26 15:37:51,699 [282759309]   INFO - #c.j.r.p.c.CodeWithMeCleanup - found 0 Code With Me client system folders to check
2023-06-26 15:37:51,700 [282759310]   INFO - #c.j.r.p.c.CodeWithMeCleanup - found 0 Code With Me client config folders to check
2023-06-26 15:37:51,700 [282759310]   INFO - #c.j.r.p.c.CodeWithMeCleanup - keep only [] major versions
2023-06-26 15:37:51,700 [282759310]   INFO - #c.i.r.OsRegistryConfigProvider - Looking for 'versionManagementEnabled' value in [HKLM_64\SOFTWARE\JetBrains\JetBrainsClient\versionManagementEnabled, HKLM_32\SOFTWARE\JetBrains\JetBrainsClient\versionManagementEnabled, HKCU_64\SOFTWARE\JetBrains\JetBrainsClient\versionManagementEnabled, HKCU_32\SOFTWARE\JetBrains\JetBrainsClient\versionManagementEnabled]
2023-06-26 15:37:51,701 [282759311]   INFO - #c.i.c.b.IsUpToDateCheckStartupActivity - suitable consumer is not found
2023-06-26 15:37:51,701 [282759311]   INFO - #c.i.r.OsRegistryConfigProvider - OS provided value for 'versionManagementEnabled' is not found
2023-06-26 15:37:51,707 [282759317]   INFO - #c.i.w.i.i.GlobalWorkspaceModel - Sync global entities with mutable entity storage
2023-06-26 15:37:51,712 [282759322]   INFO - #c.i.w.i.i.EntitiesOrphanageImpl - Update orphanage. null modules added
2023-06-26 15:37:51,712 [282759322]   INFO - #c.i.w.i.i.WorkspaceModelImpl - Project model updated to version 4 in 2 ms: Apply JPS storage (iml files)
2023-06-26 15:37:51,714 [282759324]   INFO - #c.i.w.i.i.EntitiesOrphanageImpl - Update orphanage. null modules added
2023-06-26 15:37:51,715 [282759325]   INFO - #c.i.w.i.i.j.s.DelayedProjectSynchronizer$Companion - Workspace model loaded from cache. Syncing real project state into workspace model in 22 ms. Thread[DefaultDispatcher-worker-3,5,main]
2023-06-26 15:37:51,747 [282759357]   INFO - #c.i.v.l.d.i.IndexDiagnosticRunner - Running index diagnostic for [file:////wsl$/Debian/home/jordan/IdeaProjects/GSOi/cicd]
2023-06-26 15:37:51,810 [282759420]   INFO - #c.i.d.WindowsDefenderCheckerActivity - real-time protection: false
2023-06-26 15:37:52,909 [282760519]   WARN - #com.google.cloud.tools.intellij.login.sdk.CloudSdkTokenExpiryScheduler - Unable to get config-helper, token refresh will not be available
2023-06-26 15:37:54,206 [282761816]   WARN - #com.google.cloud.tools.intellij.login.sdk.CloudSdkSentinelWatcher - Unable to find path to gcloud sentinel logger with config-helper, trying global config
etanshaul commented 1 year ago

That's helpful. we think we addressed the ResponseErrorException in the last release 23.6.1. When you have a moment could you check if it helps with the issue you are describing here?

jlenuffgsoi commented 1 year ago

Thank you.

I've installed the 23.6.1 version and I've restarted twice my IDE. The error is still present.

Here are the new logs :

2023-06-26 16:20:12,444 [  20946]   WARN - #c.i.i.s.p.i.BundledSharedIndexPostStartupActivity - Skipped 1 pre-built shared indexes: bundled-js-predefined-1d06a55b98c1-35bf29dd0b10-JavaScript-IU-231.9161.38
2023-06-26 16:20:12,460 [  20962]   INFO - #git4idea.config.GitExecutableManager - Git version for Debian: /usr/bin/git: 2.30.2.0 (WSL2)
2023-06-26 16:20:12,509 [  21011]   INFO - #com.android.tools.idea.imports.GMavenIndexRepository - HTTP not modified since the last request for URL: https://dl.google.com/android/studio/gmaven/index/release/v0.1/classes-v0.1.json.gz (etag: "176e662").
2023-06-26 16:20:12,510 [  21012]   INFO - #com.android.tools.idea.imports.GMavenIndexRepository - Kept the old disk cache with an old ETag header: "176e662".
2023-06-26 16:20:12,977 [  21479]   INFO - #com.google.cloud.tools.intellij.cloudapis.CloudApiMetadataManager - Successfully downloaded file https://storage.googleapis.com/cloudcode_api_browser_metadata/products.csv to C:\Users\xxxxxxx\AppData\Local\Temp\cloud_api_prefix\products.csv
2023-06-26 16:20:12,993 [  21495]   INFO - #com.google.cloud.tools.intellij.cloudapis.CloudApiMetadataManager - Successfully copied temporary file C:\Users\xxxxxxx\AppData\Local\Temp\cloud_api_prefix\products.csv to C:\Users\xxxxxxx\AppData\Local\cloud-code\products.csv
2023-06-26 16:20:13,084 [  21586]   INFO - #com.google.cloud.tools.intellij.cloud.sdk.ManagedCloudSdkService - Managed Google Cloud SDK successfully installed/updated at: null
2023-06-26 16:20:13,102 [  21604]   INFO - #com.google.cloud.tools.intellij.cloudapis.CloudApiMetadataManager - Successfully downloaded file https://storage.googleapis.com/cloudcode_api_browser_metadata/libraries.csv to C:\Users\xxxxxxx\AppData\Local\Temp\cloud_api_prefix1\libraries.csv
2023-06-26 16:20:13,117 [  21619]   INFO - #com.google.cloud.tools.intellij.cloudapis.CloudApiMetadataManager - Successfully copied temporary file C:\Users\xxxxxxx\AppData\Local\Temp\cloud_api_prefix1\libraries.csv to C:\Users\xxxxxxx\AppData\Local\cloud-code\libraries.csv
2023-06-26 16:20:13,168 [  21670]   WARN - #c.i.o.a.i.ActionUpdater - 2253 ms to call on BGT FileTemplateSeparator#getChildren@ProjectViewPopup(preload-bgt) (com.intellij.ide.fileTemplates.actions.FileTemplateSeparator)
2023-06-26 16:20:13,302 [  21804]   INFO - #c.i.e.wsl - WSL mount root for Debian is /mnt/ (done in 743 ms)
2023-06-26 16:20:13,760 [  22262]   INFO - #c.i.i.p.DisabledPluginsState - Plugins to enable: [com.jetbrains.codeWithMe]
2023-06-26 16:20:13,815 [  22317]   INFO - #c.i.i.p.DynamicPlugins - Plugins to load: []
2023-06-26 16:20:14,885 [  23387]   INFO - #c.i.w.i.i.EntitiesOrphanageImpl - Update orphanage. null modules added
2023-06-26 16:20:14,893 [  23395]   INFO - #c.i.w.i.i.WorkspaceModelImpl - Project model updated to version 3 in 15 ms: Node: update library entities
2023-06-26 16:20:15,380 [  23882]   INFO - #git4idea.commands.GitHandler - [.] git version
2023-06-26 16:20:15,690 [  24192]   INFO - #git4idea.commands.GitHandler - git version 2.41.0.windows.1
2023-06-26 16:20:15,720 [  24222]   INFO - #git4idea.config.GitExecutableManager - Git version for C:\Program Files\Git\cmd\git.exe: 2.41.0.0 (MSYS)
2023-06-26 16:20:16,463 [  24965]   INFO - #com.google.cloud.tools.intellij.cloudapis.CloudApiMetadataManager - Successfully downloaded file https://storage.googleapis.com/cloudcode_api_browser_metadata/code_snippets.csv to C:\Users\xxxxxxx\AppData\Local\Temp\cloud_api_prefix2\code_snippets.csv
2023-06-26 16:20:16,498 [  25000]   INFO - #com.google.cloud.tools.intellij.cloudapis.CloudApiMetadataManager - Successfully copied temporary file C:\Users\xxxxxxx\AppData\Local\Temp\cloud_api_prefix2\code_snippets.csv to C:\Users\xxxxxxx\AppData\Local\cloud-code\code_snippets.csv
2023-06-26 16:20:16,610 [  25112]   INFO - language-server - Starting setup for language servers...
2023-06-26 16:20:16,617 [  25119]   INFO - yaml-language-server - Starting yaml-language-server...
2023-06-26 16:20:16,713 [  25215]   INFO - #c.i.i.s.IdeStartupScripts - 0 startup script(s) found
2023-06-26 16:20:17,167 [  25669]   INFO - #c.i.d.PerformanceWatcherImpl - Post-startup activities under progress took 7807ms; general responsiveness: 1/7 sluggish; EDT responsiveness: 2/6 sluggish, 2/6 very slow
2023-06-26 16:20:17,910 [  26412]   WARN - #c.i.o.a.i.ActionUpdater - 1839 ms to call on BGT ShowIntentionActionsAction#update@EditorPopup(preload-bgt) (com.intellij.codeInsight.intention.actions.ShowIntentionActionsAction)
2023-06-26 16:20:18,824 [  27326]   WARN - #c.i.c.InspectionEP - com.google.cloud.tools.intellij.appengine.java.inspections.AppEngineDeprecatedRuntimeInspection
2023-06-26 16:20:18,947 [  27449]   INFO - #c.i.v.l.d.i.IndexDiagnosticRunner - Running index diagnostic for [file:////wsl$/Debian/home/xxxxxxx/IdeaProjects/xxxxxxx/xxxxxxx]
2023-06-26 16:20:20,046 [  28548]   INFO - #c.i.u.i.UnindexedFilesScanner - Scanning completed for gsoi-bishop. Number of scanned files: 1053; Number of files for indexing: 0 took 14263ms; general responsiveness: 1/14 sluggish; EDT responsiveness: 4/14 sluggish, 3/14 very slow
2023-06-26 16:20:20,047 [  28549]   INFO - #c.i.u.i.UnindexedFilesScanner - ebbbc14e: marking roots for initial VFS refresh
2023-06-26 16:20:20,053 [  28555]   INFO - #c.i.u.i.UnindexedFilesScanner - ebbbc14e: starting initial VFS refresh
2023-06-26 16:20:20,072 [  28574]   INFO - #c.i.u.i.PerProjectIndexingQueue - Finished for gsoi-bishop. No files to index with loading content.
2023-06-26 16:20:21,420 [  29922]   INFO - #com.android.tools.idea.projectsystem.ProjectSystemService - DefaultProjectSystem project system has been detected
2023-06-26 16:20:21,648 [  30150]   INFO - #c.i.u.i.UnindexedFilesScanner - ebbbc14e: initial VFS refresh finished 1594 ms
2023-06-26 16:20:22,757 [  31259]   INFO - #com.google.cloud.tools.intellij.kubernetes.dependencies.ManagedDepsInstallerTask - Successfully installed managed dependencies in C:\Users\xxxxxxx\AppData\Local\cloud-code\bin\versions\8dc9b2c2dae666aa01b76becf5aa19e4312198cf72941b9c987e1467fd48ffc1
2023-06-26 16:20:23,095 [  31597]   INFO - #o.j.j.b.i.CompilerReferenceIndex - backward reference index version doesn't exist
2023-06-26 16:20:23,157 [  31659]   INFO - #c.i.d.WindowsDefenderCheckerActivity - real-time protection: false
2023-06-26 16:20:23,169 [  31671]   INFO - #com.google.cloud.tools.intellij.kubernetes.dependencies.LanguageServerInstallerTask - Successfully installed language-server binary in C:\Users\xxxxxxxx\AppData\Local\cloud-code\bin\versions\6557b973a7c68ec4d781fa77ba66a0e44268cde9def3e41d3eed728a05c2932d
2023-06-26 16:20:23,205 [  31707]   INFO - #c.i.c.b.IsUpToDateCheckStartupActivity - suitable consumer is not found
2023-06-26 16:20:23,230 [  31732]   INFO - c.i.s.k.s.d.SpaceKtsFileDetector - SpaceKtsFileDetector
2023-06-26 16:20:23,290 [  31792]   INFO - #c.j.r.p.c.CodeWithMeCleanup - running activity to cleanup old thin clients... Root path is 'C:\Users\j.lenuff\AppData\Local\JetBrains'. JvmStartTimeMs=1687789186947
2023-06-26 16:20:23,293 [  31795]   INFO - #c.j.r.p.c.CodeWithMeCleanup - found 0 Code With Me client system folders to check
2023-06-26 16:20:23,295 [  31797]   INFO - #c.j.r.p.c.CodeWithMeCleanup - found 0 Code With Me client config folders to check
2023-06-26 16:20:23,330 [  31832]   INFO - #c.j.r.p.c.CodeWithMeCleanup - keep only [] major versions
2023-06-26 16:20:23,348 [  31850]   INFO - #c.i.r.OsRegistryConfigProvider - Looking for 'versionManagementEnabled' value in [HKLM_64\SOFTWARE\JetBrains\JetBrainsClient\versionManagementEnabled, HKLM_32\SOFTWARE\JetBrains\JetBrainsClient\versionManagementEnabled, HKCU_64\SOFTWARE\JetBrains\JetBrainsClient\versionManagementEnabled, HKCU_32\SOFTWARE\JetBrains\JetBrainsClient\versionManagementEnabled]
2023-06-26 16:20:23,349 [  31851]   INFO - #c.i.r.OsRegistryConfigProvider - OS provided value for 'versionManagementEnabled' is not found
2023-06-26 16:20:23,729 [  32231]   INFO - #c.i.w.i.i.GlobalWorkspaceModel - Sync global entities with mutable entity storage
2023-06-26 16:20:23,816 [  32318]   WARN - #c.i.o.a.i.ActionUpdater - 1095 ms to call on BGT RedesignedRunToolbarWrapper#update@MainToolbar (com.intellij.execution.ui.RedesignedRunToolbarWrapper)
2023-06-26 16:20:23,931 [  32433]   INFO - #c.i.w.i.i.EntitiesOrphanageImpl - Update orphanage. null modules added
2023-06-26 16:20:23,934 [  32436]   INFO - #c.i.w.i.i.WorkspaceModelImpl - Project model updated to version 4 in 70 ms: Apply JPS storage (iml files)
2023-06-26 16:20:23,935 [  32437]   INFO - #c.i.w.i.i.EntitiesOrphanageImpl - Update orphanage. null modules added
2023-06-26 16:20:23,947 [  32449]   INFO - #c.i.w.i.i.j.s.DelayedProjectSynchronizer$Companion - Workspace model loaded from cache. Syncing real project state into workspace model in 1724 ms. Thread[DefaultDispatcher-worker-22,5,main]
2023-06-26 16:20:24,140 [  32642]   INFO - #com.google.cloud.tools.intellij.kubernetes.skaffold.SkaffoldTrackingStartupActivity - updating skaffold session for gsoi-bishop due to login status change
2023-06-26 16:20:27,218 [  35720]   WARN - #com.google.cloud.tools.intellij.login.sdk.CloudSdkTokenExpiryScheduler - Unable to get config-helper, token refresh will not be available
2023-06-26 16:20:28,777 [  37279]   WARN - language-server - Language server yaml-language-server failed to initialize
java.util.concurrent.ExecutionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: Request initialize failed with message: [UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")
    at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
    at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)
    at com.google.cloud.tools.intellij.languageclient.ServerInitializer.initialize(ServerInitializer.kt:157)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService$setUpServer$doInitialize$1$1.invoke(LanguageServerProjectStateService.kt:158)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService$setUpServer$doInitialize$1$1.invoke(LanguageServerProjectStateService.kt:157)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService.initializeLanguageServerAndPingMetrics(LanguageServerProjectStateService.kt:256)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService.access$initializeLanguageServerAndPingMetrics(LanguageServerProjectStateService.kt:62)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService$setUpServer$doInitialize$1.invoke(LanguageServerProjectStateService.kt:157)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService$setUpServer$doInitialize$1.invoke(LanguageServerProjectStateService.kt:156)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService.setUpServer(LanguageServerProjectStateService.kt:167)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService$setUpServer$1.invokeSuspend(LanguageServerProjectStateService.kt)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
    at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
    at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Caused by: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: Request initialize failed with message: [UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleResponse(RemoteEndpoint.java:209)
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:193)
    at org.eclipse.lsp4j.jsonrpc.TracingMessageConsumer.consume(TracingMessageConsumer.java:114)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
    at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    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.lang.Thread.run(Thread.java:833)
2023-06-26 16:20:29,868 [  38370]   WARN - #com.google.cloud.tools.intellij.login.sdk.CloudSdkSentinelWatcher - Unable to find path to gcloud sentinel logger with config-helper, trying global config
2023-06-26 16:20:37,669 [  46171]   WARN - #org.intellij.terraform.config.model.loader.TerraformMetadataLoader - No resources nor data-sources defined for provider 'shell-init' in file '/terraform/model/providers/shell-init.json'
2023-06-26 16:21:06,545 [  75047]   INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities to files
2023-06-26 16:21:06,703 [  75205]   INFO - #c.i.c.ComponentStoreImpl - Saving appFileTypeManager took 17 ms
2023-06-26 16:21:06,872 [  75374]   INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=gsoi-bishop, containerState=COMPONENT_CREATED, componentStore=\\wsl$\Debian\home\xxxxxxx\IdeaProjects\xxxxxxx\xxxxxxx)RunManager took 57 ms
2023-06-26 16:21:08,892 [  77394]   INFO - #c.i.o.a.i.PopupMenuPreloader - 60327 ms since showing to preload popup menu 'Editor Popup Menu' at 'EditorPopup(preload-bgt)' in 521 ms
2023-06-26 16:21:08,894 [  77396]   INFO - #c.i.o.a.i.PopupMenuPreloader - 61350 ms since showing to preload popup menu 'Editor Popup Menu' at 'EditorPopup(preload-bgt)' in 526 ms
2023-06-26 16:21:09,118 [  77620]   INFO - #c.i.o.a.i.PopupMenuPreloader - 63829 ms since showing to preload popup menu 'Project View Popup Menu' at 'ProjectViewPopup(preload-bgt)' in 748 ms
2023-06-26 16:21:09,120 [  77622]   INFO - #c.i.o.a.i.PopupMenuPreloader - 61907 ms since showing to preload popup menu 'Project View Popup Menu' at 'ProjectViewPopup(preload-bgt)' in 750 ms
jlenuffgsoi commented 1 year ago

Please be aware that the last version of Cloud Code break the Intellij commit message box : https://youtrack.jetbrains.com/issue/IDEA-323568/Cant-type-in-commit-window-after-the-last-update

etanshaul commented 1 year ago

@jlenuffgsoi yes. we have a fix that we are finishing testing and will have a patch out shortly (today)

etanshaul commented 1 year ago

regarding:

Please be aware that the last version of Cloud Code break the Intellij commit message box : https://youtrack.jetbrains.com/issue/IDEA-323568/Cant-type-in-commit-window-after-the-last-update

We have released a fix. Please update to Cloud Code version 22.6.2. thanks for the heads up.

jlenuffgsoi commented 1 year ago

Hi, the 22.6.2 solves the commit message issue. Thank you.

But the Yaml error message is still present :

2023-06-27 08:27:46,123 [   7606]   INFO - #c.i.w.i.i.WorkspaceModelImpl - Project model updated to version 2 in 151 ms: Sync global entities with project: yyyyyyyyy
2023-06-27 08:27:46,235 [   7718]   WARN - #c.i.o.w.i.s.w.StatusBarWidgetsManager - com.github.copilot.statusBar.CopilotWidgetFactory doesn't define id for extension (point=com.intellij.statusBarWidgetFactory). Please specify `id` attribute.
2023-06-27 08:27:46,309 [   7792]   WARN - #c.i.o.w.i.s.w.StatusBarWidgetsManager - com.google.cloud.tools.intellij.languageclient.aicompanion.AiCompanionStatusBarWidgetFactory doesn't define id for extension (point=com.intellij.statusBarWidgetFactory). Please specify `id` attribute.
2023-06-27 08:27:46,646 [   8129]   INFO - STDOUT - Info  | RdCoroutineScope          | 51:DefaultDispatcher-worker-29 | RdCoroutineHost overridden 
2023-06-27 08:27:46,723 [   8206]   INFO - #c.i.r.OsRegistryConfigProvider - Looking for 'enabled' value in [HKLM_64\SOFTWARE\JetBrains\portForwarding\enabled, HKLM_32\SOFTWARE\JetBrains\portForwarding\enabled, HKCU_64\SOFTWARE\JetBrains\portForwarding\enabled, HKCU_32\SOFTWARE\JetBrains\portForwarding\enabled]
2023-06-27 08:27:46,747 [   8230]   INFO - #c.i.r.OsRegistryConfigProvider - OS provided value for 'enabled' is not found
2023-06-27 08:27:46,974 [   8457]   INFO - #c.i.p.c.ProjectCodeStyleSettingsManager - Initialized from default code style settings.
2023-06-27 08:27:47,129 [   8612]   INFO - PerformancePlugin - Performance Plugin is in silent mode
2023-06-27 08:27:47,197 [   8680]   INFO - #c.j.r.f.FollowMeManager - Register new user 0:'xxxxxxxx' with ClientId=ClientId(value=Host)
2023-06-27 08:27:47,226 [   8709]   WARN - #c.i.c.InspectionEP - com.google.cloud.tools.intellij.appengine.java.inspections.AppEngineDeprecatedRuntimeInspection
2023-06-27 08:27:48,237 [   9720]   INFO - #c.i.o.w.i.ToolWindowManagerImpl - Ignore setShowStripeButton(id=Database Changes, value=false) - not applicable for a new UI
2023-06-27 08:27:48,651 [  10134]   INFO - #c.i.o.a.i.NonBlockingReadActionImpl - OTel monitoring for NonBlockingReadAction is enabled
2023-06-27 08:27:48,817 [  10300]   INFO - #c.i.o.a.Experiments - Experimental features enabled for user: wsl.p9.support, wsl.prefer.p9.support, wsl.p9.show.roots.in.file.chooser, wsl.execute.with.wsl.exe, linux.native.menu, recent.and.edited.files.together, show.create.new.element.in.popup, search.everywhere.mixed.results, new.project.wizard, editor.reader.mode, new.large.text.file.viewer, terminal.shell.command.handling, reuse.target.paths.for.rsync
2023-06-27 08:27:49,277 [  10760]   INFO - #c.i.u.i.UnindexedFilesScanner - Started scanning for indexing of yyyyyyyyy. Reason: On project open
2023-06-27 08:27:49,295 [  10778]   INFO - #c.i.u.i.UnindexedFilesScanner - Performing delayed pushing properties tasks for yyyyyyyyy took 8ms; general responsiveness: ok; EDT responsiveness: ok
2023-06-27 08:27:49,849 [  11332]   INFO - #c.i.u.i.UnindexedFilesScanner - Scanning of yyyyyyyyy uses 7 scanning threads
2023-06-27 08:27:50,249 [  11732]   INFO - #c.i.d.u.SqlDialects - SQL dialects initialized in 281 ms
2023-06-27 08:27:50,733 [  12216]   INFO - #c.i.o.u.i.UpdateCheckerService - channel: release
2023-06-27 08:27:50,894 [  12377]   INFO - #c.i.o.v.i.p.NewMappings - VCS Root: [Git] - [<Project>]
2023-06-27 08:27:51,187 [  12670]   INFO - #c.i.o.e.s.p.m.ExternalProjectsDataStorage - Load external projects data in 25 millis (read time: 10)
2023-06-27 08:27:51,325 [  12808]   INFO - #c.i.o.v.i.p.NewMappings - Mapped Roots: 1
2023-06-27 08:27:51,565 [  13048]   INFO - #c.i.e.w.WslDistributionManager - Fetched WSL distributions: [(Debian, version=2)] ("C:\WINDOWS\system32\wsl.exe --list --verbose" done in 347 ms)
2023-06-27 08:27:51,694 [  13177]   INFO - #git4idea.commands.GitHandler - [.] git version
2023-06-27 08:27:52,046 [  13529]   INFO - #c.i.c.CompilerWorkspaceConfiguration - Available processors: 8
2023-06-27 08:27:52,128 [  13611]   INFO - #git4idea.commands.GitHandler - git version 2.30.2
2023-06-27 08:27:52,353 [  13836]   INFO - #git4idea.config.GitExecutableManager - Git version for Debian: /usr/bin/git: 2.30.2.0 (WSL2)
2023-06-27 08:27:52,833 [  14316]   INFO - #com.android.tools.idea.imports.GMavenIndexRepository - HTTP not modified since the last request for URL: https://dl.google.com/android/studio/gmaven/index/release/v0.1/classes-v0.1.json.gz (etag: "176e662").
2023-06-27 08:27:52,834 [  14317]   INFO - #com.android.tools.idea.imports.GMavenIndexRepository - Kept the old disk cache with an old ETag header: "176e662".
2023-06-27 08:27:52,945 [  14428]   INFO - #c.i.e.wsl - WSL mount root for Debian is /mnt/ (done in 538 ms)
2023-06-27 08:27:53,330 [  14813]   WARN - #c.i.i.s.p.i.BundledSharedIndexPostStartupActivity - Skipped 1 pre-built shared indexes: bundled-js-predefined-1d06a55b98c1-35bf29dd0b10-JavaScript-IU-231.9161.38
2023-06-27 08:27:53,526 [  15009]   INFO - #com.google.cloud.tools.intellij.cloudapis.CloudApiMetadataManager - Successfully downloaded file https://storage.googleapis.com/cloudcode_api_browser_metadata/products.csv to C:\Users\xxxxxxxx\AppData\Local\Temp\cloud_api_prefix\products.csv
2023-06-27 08:27:53,539 [  15022]   INFO - #com.google.cloud.tools.intellij.cloudapis.CloudApiMetadataManager - Successfully copied temporary file C:\Users\xxxxxxxx\AppData\Local\Temp\cloud_api_prefix\products.csv to C:\Users\xxxxxxxx\AppData\Local\cloud-code\products.csv
2023-06-27 08:27:53,612 [  15095]   INFO - #com.google.cloud.tools.intellij.cloudapis.CloudApiMetadataManager - Successfully downloaded file https://storage.googleapis.com/cloudcode_api_browser_metadata/libraries.csv to C:\Users\xxxxxxxx\AppData\Local\Temp\cloud_api_prefix1\libraries.csv
2023-06-27 08:27:53,621 [  15104]   INFO - #com.google.cloud.tools.intellij.cloudapis.CloudApiMetadataManager - Successfully copied temporary file C:\Users\xxxxxxxx\AppData\Local\Temp\cloud_api_prefix1\libraries.csv to C:\Users\xxxxxxxx\AppData\Local\cloud-code\libraries.csv
2023-06-27 08:27:54,970 [  16453]   INFO - #git4idea.commands.GitHandler - [.] git version
2023-06-27 08:27:55,251 [  16734]   INFO - #git4idea.commands.GitHandler - git version 2.41.0.windows.1
2023-06-27 08:27:55,295 [  16778]   INFO - #com.google.cloud.tools.intellij.cloud.sdk.ManagedCloudSdkService - Managed Google Cloud SDK successfully installed/updated at: null
2023-06-27 08:27:55,297 [  16780]   INFO - #git4idea.config.GitExecutableManager - Git version for C:\Program Files\Git\cmd\git.exe: 2.41.0.0 (MSYS)
2023-06-27 08:27:55,547 [  17030]   INFO - #com.google.cloud.tools.intellij.cloudapis.CloudApiMetadataManager - Successfully downloaded file https://storage.googleapis.com/cloudcode_api_browser_metadata/code_snippets.csv to C:\Users\xxxxxxxx\AppData\Local\Temp\cloud_api_prefix2\code_snippets.csv
2023-06-27 08:27:55,568 [  17051]   INFO - #com.google.cloud.tools.intellij.cloudapis.CloudApiMetadataManager - Successfully copied temporary file C:\Users\xxxxxxxx\AppData\Local\Temp\cloud_api_prefix2\code_snippets.csv to C:\Users\xxxxxxxx\AppData\Local\cloud-code\code_snippets.csv
2023-06-27 08:27:55,628 [  17111]   INFO - #c.i.i.p.DisabledPluginsState - Plugins to enable: [com.jetbrains.codeWithMe]
2023-06-27 08:27:55,636 [  17119]   INFO - language-server - Starting setup for language servers...
2023-06-27 08:27:55,644 [  17127]   INFO - #c.i.i.p.DynamicPlugins - Plugins to load: []
2023-06-27 08:27:55,644 [  17127]   INFO - yaml-language-server - Starting yaml-language-server...
2023-06-27 08:27:55,711 [  17194]   INFO - #c.i.i.s.IdeStartupScripts - 0 startup script(s) found
2023-06-27 08:27:56,039 [  17522]   INFO - #c.i.d.PerformanceWatcherImpl - Post-startup activities under progress took 5333ms; general responsiveness: ok; EDT responsiveness: 1/5 sluggish, 3/5 very slow
2023-06-27 08:27:56,229 [  17712]   INFO - #c.i.w.i.i.EntitiesOrphanageImpl - Update orphanage. null modules added
2023-06-27 08:27:56,235 [  17718]   INFO - #c.i.w.i.i.WorkspaceModelImpl - Project model updated to version 3 in 11 ms: Node: update library entities
2023-06-27 08:27:57,287 [  18770]   WARN - #c.i.c.InspectionEP - com.google.cloud.tools.intellij.appengine.java.inspections.AppEngineDeprecatedRuntimeInspection
2023-06-27 08:27:58,737 [  20220]   INFO - #c.i.v.l.d.i.IndexDiagnosticRunner - Running index diagnostic for [file:////wsl$/Debian/home/xxxxxxxx/IdeaProjects/zzz/yyyyyyyyy]
2023-06-27 08:27:59,638 [  21121]   INFO - #com.android.tools.idea.projectsystem.ProjectSystemService - DefaultProjectSystem project system has been detected
2023-06-27 08:28:00,143 [  21626]   INFO - #c.i.u.i.UnindexedFilesScanner - Scanning completed for yyyyyyyyy. Number of scanned files: 1057; Number of files for indexing: 0 took 10848ms; general responsiveness: ok; EDT responsiveness: 4/11 sluggish, 3/11 very slow
2023-06-27 08:28:00,144 [  21627]   INFO - #c.i.u.i.UnindexedFilesScanner - ebbbc14e: marking roots for initial VFS refresh
2023-06-27 08:28:00,145 [  21628]   INFO - #c.i.u.i.UnindexedFilesScanner - ebbbc14e: starting initial VFS refresh
2023-06-27 08:28:00,240 [  21723]   INFO - #c.i.u.i.PerProjectIndexingQueue - Finished for yyyyyyyyy. No files to index with loading content.
2023-06-27 08:28:01,167 [  22650]   INFO - #c.i.u.i.UnindexedFilesScanner - ebbbc14e: initial VFS refresh finished 1018 ms
2023-06-27 08:28:01,236 [  22719]   INFO - #o.j.j.b.i.CompilerReferenceIndex - backward reference index version doesn't exist
2023-06-27 08:28:01,268 [  22751]   INFO - #c.i.c.b.IsUpToDateCheckStartupActivity - suitable consumer is not found
2023-06-27 08:28:01,301 [  22784]   INFO - c.i.s.k.s.d.SpaceKtsFileDetector - SpaceKtsFileDetector
2023-06-27 08:28:01,324 [  22807]   INFO - #c.i.d.WindowsDefenderCheckerActivity - real-time protection: false
2023-06-27 08:28:01,343 [  22826]   INFO - #c.j.r.p.c.CodeWithMeCleanup - running activity to cleanup old thin clients... Root path is 'C:\Users\xxxxxxxx\AppData\Local\JetBrains'. JvmStartTimeMs=1687847257781
2023-06-27 08:28:01,346 [  22829]   INFO - #c.j.r.p.c.CodeWithMeCleanup - found 0 Code With Me client system folders to check
2023-06-27 08:28:01,347 [  22830]   INFO - #c.j.r.p.c.CodeWithMeCleanup - found 0 Code With Me client config folders to check
2023-06-27 08:28:01,353 [  22836]   INFO - #c.j.r.p.c.CodeWithMeCleanup - keep only [] major versions
2023-06-27 08:28:01,356 [  22839]   INFO - #c.i.r.OsRegistryConfigProvider - Looking for 'versionManagementEnabled' value in [HKLM_64\SOFTWARE\JetBrains\JetBrainsClient\versionManagementEnabled, HKLM_32\SOFTWARE\JetBrains\JetBrainsClient\versionManagementEnabled, HKCU_64\SOFTWARE\JetBrains\JetBrainsClient\versionManagementEnabled, HKCU_32\SOFTWARE\JetBrains\JetBrainsClient\versionManagementEnabled]
2023-06-27 08:28:01,358 [  22841]   INFO - #c.i.r.OsRegistryConfigProvider - OS provided value for 'versionManagementEnabled' is not found
2023-06-27 08:28:01,379 [  22862]   INFO - #c.i.w.i.i.GlobalWorkspaceModel - Sync global entities with mutable entity storage
2023-06-27 08:28:02,125 [  23608]   INFO - #c.i.w.i.i.EntitiesOrphanageImpl - Update orphanage. null modules added
2023-06-27 08:28:02,126 [  23609]   INFO - #c.i.w.i.i.WorkspaceModelImpl - Project model updated to version 4 in 36 ms: Apply JPS storage (iml files)
2023-06-27 08:28:02,127 [  23610]   INFO - #c.i.w.i.i.EntitiesOrphanageImpl - Update orphanage. null modules added
2023-06-27 08:28:02,135 [  23618]   INFO - #c.i.w.i.i.j.s.DelayedProjectSynchronizer$Companion - Workspace model loaded from cache. Syncing real project state into workspace model in 1066 ms. Thread[DefaultDispatcher-worker-24,5,main]
2023-06-27 08:28:02,905 [  24388]   INFO - #com.google.cloud.tools.intellij.kubernetes.dependencies.ManagedDepsInstallerTask - Successfully installed managed dependencies in C:\Users\xxxxxxxx\AppData\Local\cloud-code\bin\versions\8dc9b2c2dae666aa01b76becf5aa19e4312198cf72941b9c987e1467fd48ffc1
2023-06-27 08:28:03,521 [  25004]   INFO - #com.google.cloud.tools.intellij.kubernetes.dependencies.LanguageServerInstallerTask - Successfully installed language-server binary in C:\Users\xxxxxxxx\AppData\Local\cloud-code\bin\versions\6557b973a7c68ec4d781fa77ba66a0e44268cde9def3e41d3eed728a05c2932d
2023-06-27 08:28:04,526 [  26009]   INFO - #com.google.cloud.tools.intellij.kubernetes.skaffold.SkaffoldTrackingStartupActivity - updating skaffold session for yyyyyyyyy due to login status change
2023-06-27 08:28:06,201 [  27684]   WARN - #com.google.cloud.tools.intellij.login.sdk.CloudSdkTokenExpiryScheduler - Unable to get config-helper, token refresh will not be available
2023-06-27 08:28:06,991 [  28474]   WARN - language-server - Language server yaml-language-server failed to initialize
java.util.concurrent.ExecutionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: Request initialize failed with message: [UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")
    at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
    at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)
    at com.google.cloud.tools.intellij.languageclient.ServerInitializer.initialize(ServerInitializer.kt:157)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService$setUpServer$doInitialize$1$1.invoke(LanguageServerProjectStateService.kt:158)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService$setUpServer$doInitialize$1$1.invoke(LanguageServerProjectStateService.kt:157)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService.initializeLanguageServerAndPingMetrics(LanguageServerProjectStateService.kt:256)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService.access$initializeLanguageServerAndPingMetrics(LanguageServerProjectStateService.kt:62)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService$setUpServer$doInitialize$1.invoke(LanguageServerProjectStateService.kt:157)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService$setUpServer$doInitialize$1.invoke(LanguageServerProjectStateService.kt:156)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService.setUpServer(LanguageServerProjectStateService.kt:167)
    at com.google.cloud.tools.intellij.languageclient.LanguageServerProjectStateService$setUpServer$1.invokeSuspend(LanguageServerProjectStateService.kt)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
    at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
    at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Caused by: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: Request initialize failed with message: [UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleResponse(RemoteEndpoint.java:209)
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:193)
    at org.eclipse.lsp4j.jsonrpc.TracingMessageConsumer.consume(TracingMessageConsumer.java:114)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
    at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    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.lang.Thread.run(Thread.java:833)
2023-06-27 08:28:07,834 [  29317]   WARN - #com.google.cloud.tools.intellij.login.sdk.CloudSdkSentinelWatcher - Unable to find path to gcloud sentinel logger with config-helper, trying global config
2023-06-27 08:28:24,511 [  45994]   INFO - #c.i.o.a.i.PopupMenuPreloader - 9929 ms since showing to preload popup menu 'Editor Popup Menu' at 'EditorPopup(preload-bgt)' in 441 ms
2023-06-27 08:28:24,513 [  45996]   INFO - #c.i.o.a.i.PopupMenuPreloader - 33180 ms since showing to preload popup menu 'Editor Popup Menu' at 'EditorPopup(preload-bgt)' in 445 ms
2023-06-27 08:28:32,646 [  54129]   INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities to files
2023-06-27 08:28:32,853 [  54336]   INFO - #c.i.c.ComponentStoreImpl - Saving appFileTypeManager took 23 ms
2023-06-27 08:28:33,233 [  54716]   INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=yyyyyyyyy, containerState=COMPONENT_CREATED, componentStore=\\wsl$\Debian\home\xxxxxxxx\IdeaProjects\zzz\yyyyyyyyy)Kotlin2JvmCompilerArguments took 21 ms, RunManager took 119 ms
etanshaul commented 1 year ago

by any chance is your project on WSL?

jlenuffgsoi commented 1 year ago

You're right, my IDE is on Windows and I host my files on WSL (Debian).

etanshaul commented 1 year ago

great. that is helpful. it gives us a starting point. will update here when we find anything

spencer-easton-ait commented 8 months ago

Any follow up on this? I also having this same issue. I am using jetbrains on windows but all my tooling is in WSL. All the features of the plugin works as expected, but I get the YAML error and the 5 minute lockup on startup.

Currently using webstorm version: #WS-232.10203.14 Cloud Code plugin version: 23.10.1-api-version-222

peterlin741 commented 2 months ago

As a workaround, the team has added the capability to disable YAML functionality completely via the settings.

To enable or disable YAML support, navigate to File > Settings > Tools > Gemini + Google Cloud Code > Kubernetes (for Windows and Linux) or IntelliJ IDEA > Settings > Tools > Gemini + Google Cloud Code > Kubernetes (for macOS) and select or clear the Enable YAML support checkbox to enable or disable the feature.

https://cloud.google.com/code/docs/intellij/yaml-editing#enable_or_disable_yaml_support