lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Naber (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-449) NullPointerException when temporary directory not readable
Date Mon, 10 Oct 2005 19:35:48 GMT
     [ http://issues.apache.org/jira/browse/LUCENE-449?page=all ]
     
Daniel Naber resolved LUCENE-449:
---------------------------------

    Fix Version: 1.9
     Resolution: Fixed

Thanks for the patch, it has just been committed.


> 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
>      Fix For: 1.9
>  Attachments: unreadable-lockdir.diff
>
> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message