java.nio.file.InvalidPathException: Illegal char <:> at index 2: /C:/BuildAgent/work/a31d203e70e89f90/security/subsystem/target/test-classes/org/jboss/as/security/vault.keystore

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

The path should start without the leading "/".

,
Expert tip

The path should start without the leading "/".

Solutions on the web

via GitHub by wildfly-ci
, 1 year ago
Illegal char <:> at index 2: /C:/BuildAgent/work/a31d203e70e89f90/security/subsystem/target/test-classes/org/jboss/as/security/vault.keystore
via Google Groups by Joachim, 10 months ago
Illegal char <:> at index 2: /C:/Workspace-Modernisierung/BD-Disposition/tech.bison.bd. disposition.adapter/target/test-classes/
via Coderanch by kri shan, 1 year ago
Illegal char <:> at index 2: /c:/a/b/c/d/hai.txt
via Stack Overflow by Aequitas
, 2 years ago
Illegal char <?> at index 8: C:/temp/?.txt
via Stack Overflow by Rajeev Singh
, 2 years ago
Illegal char &lt;:&gt; at index 5: https://abc/dir
via Stack Overflow by Ketan Chachad
, 4 days ago
Illegal char <:> at index 4: file://user:password@/localhost/log/service.log
java.nio.file.InvalidPathException: Illegal char <:> at index 2: /C:/BuildAgent/work/a31d203e70e89f90/security/subsystem/target/test-classes/org/jboss/as/security/vault.keystore
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 java.nio.file.Paths.get(Paths.java:84)
at org.jboss.as.security.vault.VaultSession.getVaultOptionsMap(VaultSession.java:225)
at org.jboss.as.security.vault.VaultSession.initSecurityVault(VaultSession.java:193)
at org.jboss.as.security.vault.VaultSession.startVaultSession(VaultSession.java:214)
at org.jboss.as.security.vault.VaultTool.execute(VaultTool.java:193)
at org.jboss.as.security.vault.VaultTool.main(VaultTool.java:83)
at org.jboss.as.security.VaultToolTestCase.doTestVaultTool(VaultToolTestCase.java:110)
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 java.nio.file.Paths.get(Paths.java:84)
at org.jboss.as.security.VaultToolTestCase.tearDown(VaultToolTestCase.java:210)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 4 weeks ago
Once, 6 months ago
Once, 7 months ago
8 times, 7 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.