You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Error - 1:09:17 PM] Sep 27, 2024, 1:09:17 PM An internal error occurred during: "Publish Diagnostics".
Illegal char <:> at index 2: /D:/jdtls/src/App.java
java.nio.file.InvalidPathException: Illegal char <:> at index 2: /D:/jdtls/src/App.java
at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:204)
at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:175)
at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:231)
at java.base/java.nio.file.Path.of(Path.java:148)
at java.base/java.nio.file.Paths.get(Paths.java:69)
at org.eclipse.jdt.ls.core.internal.JDTUtils.isExcludedFile(JDTUtils.java:1871)
at org.eclipse.jdt.ls.core.internal.handlers.BaseDiagnosticsHandler.matchesDiagnosticFilter(BaseDiagnosticsHandler.java:154)
at org.eclipse.jdt.ls.core.internal.handlers.BaseDiagnosticsHandler.endReporting(BaseDiagnosticsHandler.java:138)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.reportProblems(ReconcileWorkingCopyOperation.java:141)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:110)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:739)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:804)
at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1303)
at org.eclipse.jdt.ls.core.internal.handlers.BaseDocumentLifeCycleHandler.publishDiagnostics(BaseDocumentLifeCycleHandler.java:332)
at org.eclipse.jdt.ls.core.internal.handlers.BaseDocumentLifeCycleHandler.publishDiagnostics(BaseDocumentLifeCycleHandler.java:295)
at org.eclipse.jdt.ls.core.internal.handlers.BaseDocumentLifeCycleHandler$PublishDiagnosticJob.run(BaseDocumentLifeCycleHandler.java:777)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
This is due to improper path handling in JDTUtils. Applying the following patch (sort of) works:
And due to escaping, java.diagnostic.filter must be set to something like **\\\\src\\\\Foo.java. Technically, it is also possible to manually convert from Unix path to Windows path to support the the same configuration on both platform.
The text was updated successfully, but these errors were encountered:
And due to escaping, java.diagnostic.filter must be set to something like **\\src\\Foo.java. Technically, it is also possible to manually convert from Unix path to Windows path to support the the same configuration on both platform.
This is due to improper path handling in
JDTUtils
. Applying the following patch (sort of) works:And due to escaping,
java.diagnostic.filter
must be set to something like**\\\\src\\\\Foo.java
. Technically, it is also possible to manually convert from Unix path to Windows path to support the the same configuration on both platform.The text was updated successfully, but these errors were encountered: