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

  1. ,

    Use the relative path when providing the location of the file. Place the file in the project folder and access it according to the hierarchy. If you want to access a file outside the project folder, provide the absolute path.

Solutions on the web

via Stack Overflow by user1407668
, 1 year ago
"C:\Chithra\Contacts.txt" (The filename, directory name, or volume label syntax is incorrect)
via Oracle Community by 807605, 9 months ago
distance (No such file or directory)
via Stack Overflow by Coppernick
, 1 year ago
myfile.csv (No such file or directory)
via Stack Overflow by Quality Products
, 1 year ago
C:\Users\Manuli\Desktop\input.txt (The filename, directory name, or volume label syntax is incorrect)
via Stack Overflow by Numerator
, 1 year ago
D:ir (The filename, directory name, or volume label syntax is incorrect)
java.io.FileNotFoundException: "C:\Chithra\Contacts.txt" (The filename, directory name, or volume label syntax is incorrect) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileReader.<init>(Unknown Source) at PropertiesTest.main(PropertiesTest.java:32)