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
The similar error message also can be found in protobuf/android gradle init scripts folder. The project can be imported successfully and there are only the error messages.
It seems this error only appears in VS Code insiders since there is an - in the path string
!MESSAGE Illegal character in path at index 43: file:/C:/Users/chenshi/AppData/Roaming/Code - Insiders/User/globalStorage/redhat.java/1.10.0/config_win/org.eclipse.osgi/53/0/.cp/gradle/init/init.gradle
!STACK 0
java.net.URISyntaxException: Illegal character in path at index 43: file:/C:/Users/chenshi/AppData/Roaming/Code - Insiders/User/globalStorage/redhat.java/1.10.0/config_win/org.eclipse.osgi/53/0/.cp/gradle/init/init.gradle
The text was updated successfully, but these errors were encountered:
It's the whitespace that isn't supported by java.net.URI. I'm guessing we convert the path to a URI somewhere, so we should probably avoid that.
jshell> new URI("file:/C:/Users/chenshi/AppData/Roaming/Code - Insiders/User/globalStorage/redhat.java/1.10.0/config_win/org.eclipse.osgi/53/0/.cp/gradle/init/init.gradle")
| Exception java.net.URISyntaxException: Illegal character in path at index 43: file:/C:/Users/chenshi/AppData/Roaming/Code - Insiders/User/globalStorage/redhat.java/1.10.0/config_win/org.eclipse.osgi/53/0/.cp/gradle/init/init.gradle
| at URI$Parser.fail (URI.java:2974)
| at URI$Parser.checkChars (URI.java:3145)
| at URI$Parser.parseHierarchical (URI.java:3227)
| at URI$Parser.parse (URI.java:3175)
| at URI.<init> (URI.java:623)
| at (#4:1)
jshell> new URI("file:/C:/Users/chenshi/AppData/Roaming/Code-Insiders/User/globalStorage/redhat.java/1.10.0/config_win/org.eclipse.osgi/53/0/.cp/gradle/init/init.gradle")
$5 ==> file:/C:/Users/chenshi/AppData/Roaming/Code-Insiders/User/globalStorage/redhat.java/1.10.0/config_win/org.eclipse.osgi/53/0/.cp/gradle/init/init.gradle
The similar error message also can be found in protobuf/android gradle init scripts folder. The project can be imported successfully and there are only the error messages.
It seems this error only appears in VS Code insiders since there is an
-
in the path stringThe text was updated successfully, but these errors were encountered: