DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28074>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28074 npe if java.io.tmpdir does not exist Summary: npe if java.io.tmpdir does not exist Product: Lucene Version: unspecified Platform: Other OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Store AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] In org.apache.lucene.store.FSDirectory from Lucene-1.3-final, on line 170-171: File tmpdir = new File(System.getProperty("java.io.tmpdir")); files = tmpdir.list(); if the directory specified by the property "java.io.tmpdir" does not exist, a null pointer exception is thrown. Perhaps a check to see if the directory exists is in order, and if it doesn't, use a directory you know exists (e.g. a /temp directory in the directory created earlier in the create() method). --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]