lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Muhammad Waleed (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENENET-605) NullReference Exception is thrown if we create a term with null searchterm
Date Fri, 07 Dec 2018 11:14:00 GMT
Muhammad Waleed created LUCENENET-605:
-----------------------------------------

             Summary: NullReference Exception is thrown if we create a term with null searchterm
                 Key: LUCENENET-605
                 URL: https://issues.apache.org/jira/browse/LUCENENET-605
             Project: Lucene.Net
          Issue Type: Bug
    Affects Versions: Lucene.Net 4.8.0
            Reporter: Muhammad Waleed


if you try to create a term by specifying fieldname and null as searchterm, NullReference
Exception is thrown, e.g.

*Term term = new Term("ID", null);*

However it should throw proper error message like parameter name is null or something likewise. 

Null Reference exception shows that something is not properly handled underneath,



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message