Fails to update server binding in IntelliJ Idea: Illegal character <*>

360 views
Skip to first unread message

Juraj

unread,
Sep 15, 2017, 9:37:49 AM9/15/17
to SonarLint
Hi, I can not bind my SonarLint plugin in IntelliJ Idea because of the following error:

Illegal char<*> at index 0: *Test-Root-Template*.pb

I know that theoretically I could change the name, so that it does not contain the * character. Is there a chance that this will be fixed as a bug? Thank you

SonarLint plugin: 3.0.0.2041
IntelliJ IDEA 2017.2.4
JRE: 1.8.0_152-release-915-b11 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

Duarte Meneses

unread,
Sep 15, 2017, 9:57:58 AM9/15/17
to Juraj, SonarLint
Hi,

Do you have the full stack trace? It would be easier to find which component is writing it.
Thanks.

--
You received this message because you are subscribed to the Google Groups "SonarLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarlint+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarlint/e727baaa-a3c7-4645-bdbf-8a3c3bf97d1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Duarte Meneses | SonarSource
Software Engineer

Are you using SonarLint in your IDE?

Juraj

unread,
Sep 15, 2017, 10:12:45 AM9/15/17
to SonarLint
2017-09-15 16:08:05,526 [3524963]   INFO - ntellij.tasks.ServerUpdateTask - Error updating from server  
java.nio.file.InvalidPathException: Illegal char <*> at index 0: *Test-Root-Template*.pb
at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
at sun.nio.fs.AbstractPath.resolve(AbstractPath.java:53)
at org.sonarsource.sonarlint.core.container.connected.update.RulesDownloader.fetchRulesTo(RulesDownloader.java:63)
at org.sonarsource.sonarlint.core.container.connected.update.perform.GlobalStorageUpdateExecutor.update(GlobalStorageUpdateExecutor.java:89)
at org.sonarsource.sonarlint.core.container.connected.ConnectedContainer.update(ConnectedContainer.java:109)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.lambda$null$1(ConnectedSonarLintEngineImpl.java:178)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.runInConnectedContainer(ConnectedSonarLintEngineImpl.java:305)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.lambda$update$2(ConnectedSonarLintEngineImpl.java:178)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.withRwLock(ConnectedSonarLintEngineImpl.java:319)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.update(ConnectedSonarLintEngineImpl.java:173)
at org.sonarlint.intellij.tasks.ServerUpdateTask.run(ServerUpdateTask.java:94)
at org.sonarlint.intellij.tasks.ServerUpdateTask$2.run(ServerUpdateTask.java:81)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:718)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:170)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:548)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:493)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:165)
at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:342)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)



On Friday, September 15, 2017 at 3:57:58 PM UTC+2, duarte.meneses wrote:
Hi,

Do you have the full stack trace? It would be easier to find which component is writing it.
Thanks.
On 15 September 2017 at 15:37, Juraj <jura...@gmail.com> wrote:
Hi, I can not bind my SonarLint plugin in IntelliJ Idea because of the following error:

Illegal char<*> at index 0: *Test-Root-Template*.pb

I know that theoretically I could change the name, so that it does not contain the * character. Is there a chance that this will be fixed as a bug? Thank you

SonarLint plugin: 3.0.0.2041
IntelliJ IDEA 2017.2.4
JRE: 1.8.0_152-release-915-b11 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

--
You received this message because you are subscribed to the Google Groups "SonarLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarlint+...@googlegroups.com.

Duarte Meneses

unread,
Sep 15, 2017, 11:21:28 AM9/15/17
to Juraj, SonarLint
Thanks. SonarLint URL-encodes filenames but it seems like it's not enough to  prevent invalid characters.
It's scheduled for the next version.

To unsubscribe from this group and stop receiving emails from it, send an email to sonarlint+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarlint/edafbb1d-6540-45c9-90c6-9c1b6de45a3f%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Juraj

unread,
Sep 15, 2017, 11:28:26 AM9/15/17
to SonarLint
Thank you :)
Reply all
Reply to author
Forward
0 new messages