Skip to content

Illegal character exception in WSL2 #1794

Closed

Description

@traktorlixach
java.lang.IllegalArgumentException: Illegal character in path at index 82: file://wsl.localhost/Ubuntu-22.04/home/user/projects/trader/public/research/Промпт для пересказа.md
	at java.base/java.net.URI.create(URI.java:936)
	at com.redhat.devtools.lsp4ij.internal.uri.WslUriConverter.toUri(WslUriConverter.java:110)
	at com.redhat.devtools.lsp4ij.internal.uri.UriConverter.toUri(UriConverter.java:72)
	at com.redhat.devtools.lsp4ij.internal.uri.UriConverterManager.toUri(UriConverterManager.java:143)
	at com.redhat.devtools.lsp4ij.LSPIJUtils.toUri(LSPIJUtils.java:522)
	at com.redhat.devtools.lsp4ij.client.features.FileUriSupportBase.getFileUri(FileUriSupportBase.java:34)
	at com.redhat.devtools.lsp4ij.client.features.LSPClientFeatures.getFileUri(LSPClientFeatures.java:219)
	at com.redhat.devtools.lsp4ij.client.features.FileUriSupport.getFileUri(FileUriSupport.java:73)
	at com.redhat.devtools.lsp4ij.LanguageServerWrapper.toUri(LanguageServerWrapper.java:1481)
	at com.redhat.devtools.lsp4ij.features.files.AbstractLSPFileListener.isOpened(AbstractLSPFileListener.java:154)
	at com.redhat.devtools.lsp4ij.features.files.AbstractLSPFileListener.getSupportedEvents(AbstractLSPFileListener.java:139)
	at com.redhat.devtools.lsp4ij.features.files.AbstractLSPFileListener.prepareChange(AbstractLSPFileListener.java:80)
	at com.intellij.openapi.vfs.newvfs.AsyncEventSupport.lambda$collectAppliers$0(AsyncEventSupport.java:143)
	at com.intellij.openapi.application.ReadAction.lambda$runBlocking$0(ReadAction.java:122)
	at com.intellij.openapi.application.ThrowableComputableToLambda.invoke(coroutines.kt:351)
	at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.runReadAction(NestedLocksThreadingSupport.kt:862)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:1124)
	at com.intellij.openapi.application.ReadAction.runBlocking(ReadAction.java:121)
	at com.intellij.openapi.vfs.newvfs.AsyncEventSupport.collectAppliers(AsyncEventSupport.java:143)
	at com.intellij.openapi.vfs.newvfs.AsyncEventSupport.runAsyncListeners(AsyncEventSupport.java:128)
	at com.intellij.openapi.vfs.newvfs.AsyncEventSupport$1.before(AsyncEventSupport.java:70)
	at com.intellij.util.messages.impl.MessageBusImplKt.invokeMethod(MessageBusImpl.kt:831)
	at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:771)
	at com.intellij.util.messages.impl.MessageBusImplKt.executeOrAddToQueue(MessageBusImpl.kt:596)
	at com.intellij.util.messages.impl.ToDirectChildrenMessagePublisher.publish$intellij_platform_core(CompositeMessageBus.kt:156)
	at com.intellij.util.messages.impl.MessagePublisher.invoke(MessageBusImpl.kt:544)
	at jdk.proxy2/jdk.proxy2.$Proxy174.before(Unknown Source)
	at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.lambda$fireBeforeEvents$3(PersistentFSImpl.java:1783)
	at com.intellij.openapi.vfs.newvfs.impl.VfsThreadingUtil.runActionOnEdtRegardlessOfCurrentThread(VfsThreadingUtil.java:18)
	at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.lambda$fireBeforeEvents$2(PersistentFSImpl.java:1783)
	at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.runSuppressing(PersistentFSImpl.java:1392)
	at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.fireBeforeEvents(PersistentFSImpl.java:1781)
	at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl$3.close(PersistentFSImpl.java:1272)
	at com.intellij.openapi.fileEditor.impl.LoadTextUtil.write(LoadTextUtil.java:496)
	at com.intellij.openapi.fileEditor.impl.LoadTextUtil.write(LoadTextUtil.java:507)
	at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.lambda$doSaveDocumentInWriteAction$2(FileDocumentManagerImpl.java:481)
	at com.intellij.pom.core.impl.PomModelImpl.guardPsiModificationsIn(PomModelImpl.java:351)
	at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.doSaveDocumentInWriteAction(FileDocumentManagerImpl.java:468)
	at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.lambda$doSaveDocument$0(FileDocumentManagerImpl.java:411)
	at com.intellij.openapi.application.ThrowableComputableToLambda.invoke(coroutines.kt:351)
	at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.runWriteActionBlocking(NestedLocksThreadingSupport.kt:1006)
	at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1198)
	at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.doSaveDocument(FileDocumentManagerImpl.java:410)
	at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.doSave(FileDocumentManagerImpl.java:324)
	at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.lambda$saveDocumentsOnEdt$0(FileDocumentManagerImpl.java:293)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:296)
	at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:44)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$0(CoreProgressManager.java:295)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$0(CoreProgressManager.java:761)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:837)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:793)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:760)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.lambda$executeProcessUnderProgress$0(ProgressManagerImpl.java:90)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.runWithHook(ProgressManagerImpl.java:293)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:90)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:276)
	at com.intellij.openapi.progress.util.PotemkinProgress.runInSwingThread(PotemkinProgress.java:155)
	at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.saveDocumentsOnEdt(FileDocumentManagerImpl.java:292)
	at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.saveDocuments(FileDocumentManagerImpl.java:271)
	at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.saveAllDocuments(FileDocumentManagerImpl.java:252)
	at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.saveAllDocuments(FileDocumentManagerImpl.java:245)
	at com.intellij.configurationStore.StoreUtil.saveDocumentsAndProjectSettings(storeUtil.kt:76)
	at com.intellij.openapi.vcs.actions.commit.CheckinActionUtil.performCheckInAfterUpdate(CheckinActionUtil.kt:92)
	at com.intellij.openapi.vcs.actions.commit.CheckinActionUtil.performCommonCommitAction(CheckinActionUtil.kt:80)
	at com.intellij.openapi.vcs.actions.commit.CommonCheckinProjectActionKt.performCheckinProjectAction(CommonCheckinProjectAction.kt:111)
	at com.intellij.openapi.vcs.actions.commit.CommonCheckinProjectActionKt.access$performCheckinProjectAction(CommonCheckinProjectAction.kt:1)
	at com.intellij.openapi.vcs.actions.commit.CommonCheckinProjectAction.actionPerformed(CommonCheckinProjectAction.kt:59)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.doPerformActionOrShowPopup(ActionUtil.kt:506)
	at com.intellij.openapi.keymap.impl.ActionProcessor.performAction$lambda$0(ActionProcessor.kt:35)
	at com.intellij.openapi.application.WriteIntentReadAction.lambda$run$0(WriteIntentReadAction.java:24)
	at com.intellij.openapi.application.ThrowableComputableToLambda.invoke(coroutines.kt:351)
	at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.runWriteIntentReadAction(NestedLocksThreadingSupport.kt:711)
	at com.intellij.openapi.application.impl.ApplicationImpl.runWriteIntentReadAction(ApplicationImpl.java:1229)
	at com.intellij.openapi.application.WriteIntentReadAction.computeThrowable(WriteIntentReadAction.java:55)
	at com.intellij.openapi.application.WriteIntentReadAction.run(WriteIntentReadAction.java:23)
	at com.intellij.openapi.keymap.impl.ActionProcessor.performAction(ActionProcessor.kt:34)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$ac

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions