Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Lucene.Net 2.9.4g
-
None
-
.Net 2.0
Description
A NullReferenceException occurs in Lucene.Net.Util.ThreadLocal. This class is only included when Lucene is compiled for .Net 2.0.
The cause is that the threadstatic "slots" variable is lazily-initialized, but there is no null-check in the dispose.