NullPointerException when temporary directory not readable
----------------------------------------------------------
Key: LUCENE-449
URL: http://issues.apache.org/jira/browse/LUCENE-449
Project: Lucene - Java
Type: Improvement
Versions: CVS Nightly - Specify date in submission
Environment: Lucene 1.4.3 and SVN head (2005-10-10)
Reporter: Jeff Turner
We have customers reporting errors such as:
Caused by: java.lang.NullPointerException
at org.apache.lucene.store.FSDirectory.create(FSDirectory.java:200)
at
org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:144)
at
org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:117)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:205)
at
com.atlassian.jira.util.LuceneUtils.getIndexWriter(LuceneUtils.java:46)
at
com.atlassian.jira.issue.index.DefaultIndexManager.getIndexWriter(DefaultIndexManager.java:568)
at
com.atlassian.jira.issue.index.DefaultIndexManager.indexIssuesAndComments(DefaultIndexManager.java:287)
... 59 more
This occurs when the lock directory is unreadable (eg. because Tomcat sets
java.io.tmpdir to temp/ and the permissions here are broken). Attached is
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]