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

bug: bug: java.lang.Throwable: Creating agent unsuccessful: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: [UriError]: If a URI does... #3055

Open
Makaralex opened this issue Feb 2, 2025 · 1 comment
Labels
bug Something isn't working repo/jetbrains

Comments

@Makaralex
Copy link

IDE Information

PhpStorm 2024.3.2.1
Build #PS-243.23654.168, built on January 24, 2025
Licensed to Алексей Щербаков
Subscription is active until February 9, 2025.
Runtime version: 21.0.5+8-b631.30 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: 4096M
Cores: 32
Registry:
run.processes.with.pty=TRUE
ide.experimental.ui=true
terminal.new.ui=true
Non-Bundled Plugins:
dev.meanmail.plugin.nginx-intellij-plugin (2024.5.1)
com.intellij.lang.jsgraphql (243.22562.13)
com.kalessil.phpStorm.phpInspectionsEA (5.1.0)
ru.adelf.idea.dotenv (2024.3)
de.espend.idea.php.annotation (11.1.1)
com.sourcegraph.jetbrains (7.12.6)

Bug Description

Bug with Cody

Additional context

Stacktrace:

java.lang.Throwable: Creating agent unsuccessful: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: [UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")

Error: [UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")
    at s2 (C:\Users\Aleksey\AppData\Roaming\JetBrains\PhpStorm2024.3\plugins\Sourcegraph\agent\index.js:30969:21)
    at new f2 (C:\Users\Aleksey\AppData\Roaming\JetBrains\PhpStorm2024.3\plugins\Sourcegraph\agent\index.js:30993:88)
    at new l3 (C:\Users\Aleksey\AppData\Roaming\JetBrains\PhpStorm2024.3\plugins\Sourcegraph\agent\index.js:31039:9)
    at f2.parse (C:\Users\Aleksey\AppData\Roaming\JetBrains\PhpStorm2024.3\plugins\Sourcegraph\agent\index.js:31006:25)
    at _Uri.parse (C:\Users\Aleksey\AppData\Roaming\JetBrains\PhpStorm2024.3\plugins\Sourcegraph\agent\index.js:92110:29)
    at C:\Users\Aleksey\AppData\Roaming\JetBrains\PhpStorm2024.3\plugins\Sourcegraph\agent\index.js:139407:80
    at async C:\Users\Aleksey\AppData\Roaming\JetBrains\PhpStorm2024.3\plugins\Sourcegraph\agent\index.js:139047:44
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:376)
	at com.sourcegraph.cody.agent.CodyAgentService.startAgent$lambda$7$lambda$2(CodyAgentService.kt:98)
	at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:990)
	at java.base/java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(CompletableFuture.java:974)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
	at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2194)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleResponse(RemoteEndpoint.java:220)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:204)
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:185)
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:97)
	at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:114)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	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.lang.Thread.run(Thread.java:1583)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working repo/jetbrains
Projects
None yet
Development

No branches or pull requests

1 participant