Menu

#6 final comments generate errors

open
nobody
None
5
2009-05-18
2009-05-18
Anonymous
No

If a query file or a definition file has a comment as the last item in the file, an error is generated. This can be avoided just by moving the comment to somewhere above other lines in the file. The error output was:

in InFileDominatrix.java:
java.io.IOException: Stream closed
java.io.IOException: Stream closed
at java.io.BufferedReader.ensureOpen(BufferedReader.java:97)
at java.io.BufferedReader.read(BufferedReader.java:154)
at io.InFileDominatrix.NextString(InFileDominatrix.java:258)
at command.Definite.MakeDefVector(Definite.java:75)
at command.BasicCommands.Fundamentals(BasicCommands.java:78)
at command.BasicCommands.Store(BasicCommands.java:36)
at command.ReadIn.CommandFile(ReadIn.java:36)
at command.ReadIn.PrefsAndQuery(ReadIn.java:22)
at csearch.Meat.CrankThrough(Meat.java:34)
at csearch.CorpusSearch.main(CorpusSearch.java:43)

Joel Wallenberg
joelcw@babel.ling.upenn.edu
U of Pennsylvania

Discussion


Log in to post a comment.

MongoDB Logo MongoDB