java.nio.file.InvalidPathException: Illegal char <:> at index 2: \C:\Program Files (x86)\SmartFoxServerBASIC_1.5.5\Server\logs\smartfox_log_0.txt.lck

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 Stack Overflow by Austin Marviano
, 9 months ago
Illegal char <:> at index 2: \C:\Program Files (x86)\SmartFoxServerBASIC_1.5.5\Server\logs\smartfox_log_0.txt.lck
via Coderanch by kri shan, 1 year ago
Illegal char <:> at index 2: /c:/a/b/c/d/hai.txt
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 Stack Overflow by Aequitas
, 2 years ago
Illegal char <?> at index 8: C:/temp/?.txt
via howtobuildsoftware.com by Unknown author, 1 year ago
Illegal char <:> at index 5: https://abc/dir
via Stack Overflow by Rajeev Singh
, 2 years ago
Illegal char &lt;:&gt; at index 5: https://abc/dir
java.nio.file.InvalidPathException: Illegal char <:> at index 2: \C:\Program Files (x86)\SmartFoxServerBASIC_1.5.5\Server\logs\smartfox_log_0.txt.lck
at sun.nio.fs.WindowsPathParser.normalize(Unknown Source)
at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
at sun.nio.fs.WindowsPath.parse(Unknown Source)
at sun.nio.fs.WindowsFileSystem.getPath(Unknown Source)
at java.nio.file.Paths.get(Unknown Source)
at java.util.logging.FileHandler.openFiles(Unknown Source)
at java.util.logging.FileHandler.(Unknown Source)
at it.gotoandplay.smartfoxserver.SmartFoxServer.initLogger(SmartFoxServer.java:495)
at it.gotoandplay.smartfoxserver.SmartFoxServer.run(SmartFoxServer.java:585)

Users with the same issue

3 times, 3 weeks ago
Once, 6 months ago
Once, 7 months ago
8 times, 7 months ago
10 times, 1 year ago
7 more bugmates

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