Abort caused by leading space in file name.

19 views
Skip to first unread message

Ihe Onwuka

unread,
May 9, 2014, 11:33:02 PM5/9/14
to tagsoup...@googlegroups.com
Input script

java -jar $HOME/bin/tagsoup-1.2.1.jar --nons --files *.htm

Exception in thread "main" java.io.FileNotFoundException: /home/ihe/denver/FG-310B.htm (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:146)
    at java.io.FileInputStream.<init>(FileInputStream.java:101)
    at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
    at org.ccil.cowan.tagsoup.Parser.getInputStream(Parser.java:510)
    at org.ccil.cowan.tagsoup.Parser.getReader(Parser.java:487)
    at org.ccil.cowan.tagsoup.Parser.parse(Parser.java:440)
    at org.ccil.cowan.tagsoup.CommandLine.process(CommandLine.java:206)
    at org.ccil.cowan.tagsoup.CommandLine.main(CommandLine.java:90)

I believe this was caused because the file complained of had a leading space in the filename.

Reply all
Reply to author
Forward
0 new messages