DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20290>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20290

Using QueryFilter with RemoteSearchable = Exception

           Summary: Using QueryFilter with RemoteSearchable = Exception
           Product: Lucene
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Search
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Using QueryFilter with a RemoteSearchable results in a NullPointerException in 
QueryFilter class (line 85):

  synchronized (cache) {                        // check cache
   
cache isn't serialized an therefore is null.
I would like a late instantiation of cache:

  if (cache == null) cache = new WeakHashMap();
  synchronized (cache) {                        // check cache

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to