Sounds like the same issue as these: http://www.mail-archive.com/lucene-net-dev@incubator.apache.org/msg01899 .html https://issues.apache.org/jira/browse/LUCENE-785
What version of lucene are you running? Can you give us the exception thrown and the line(s) that are involved? -----Original Message----- From: pcodlcruz [mailto:fcocruzo...@gmail.com] Sent: Thursday, August 04, 2011 8:34 AM To: general@lucene.apache.org Subject: NullPointerException in RAMDirectory Hi. I create a new RAMDirectory wich I put in a Java Cache. When later I get this RAMDirectory its attribute lockFactory is null. Does anyone know why? thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/NullPointerException-in-RAMDirectory- tp3225250p3225250.html Sent from the Lucene - General mailing list archive at Nabble.com.