java.io.IOException: The filename, directory name, or volume label syntax is incorrect

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

Solutions on the web

via Stack Overflow by Ranjan
, 1 year ago
via Oracle Community by 749776, 1 year ago
The filename, directory name, or volume label syntax is incorrect
via oracle.com by Unknown author, 2 years ago
The filename, directory name, or volume label syntax is incorrect
via Oracle Community by user10708912, 1 year ago
The filename, directory name, or volume label syntax is incorrect
via hivmr.com by Unknown author, 1 year ago
The filename, directory name, or volume label syntax is incorrect
via grokbase.com by Unknown author, 2 years ago
The filename, directory name, or volume label syntax is incorrect
java.io.IOException: The filename, directory name, or volume label syntax is incorrect
at java.io.WinNTFileSystem.canonicalize0(Native Method)
at java.io.Win32FileSystem.canonicalize(Unknown Source)
at java.io.File.getCanonicalPath(Unknown Source)
at com.tecnomen.test.system.PropertyLoader.loadSystemProperties(PropertyLoader.java:101)
at com.tecnomen.test.system.PropertyLoader.loadSystemProperties(PropertyLoader.java:62)
at com.tecnomen.test.TestProperties.getInstance(TestProperties.java:89)
at com.tecnomen.test.BaseTestCase.(BaseTestCase.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.getTest(JUnit3TestLoader.java:108)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.loadTests(JUnit3TestLoader.java:59)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:444)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)

Users with the same issue

4 times, 2 months ago
2 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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