lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amandeep Saini (JIRA)" <>
Subject [jira] [Created] (SOLR-4145) Getting a NPE when the result set is null
Date Tue, 04 Dec 2012 23:12:57 GMT
Amandeep Saini created SOLR-4145:

             Summary: Getting a NPE when the result set is null
                 Key: SOLR-4145
             Project: Solr
          Issue Type: Bug
    Affects Versions: 4.0
            Reporter: Amandeep Saini

Re: org.apache.solr.handler.dataimport.JdbcDataSource

In line 250, resultSet.getMetaData() is called. However, if the resultSet is null, a NPE is

In line 254, the null check is done (if (resultSet == null))
The contents of line 250 should occur after the null check.

I am getting the NPE after trying to delete some data in my DB using the DIH. The DIH is probably
not meant for that but it would benefit me if it worked and I don't see a big change in the
code in order to do it.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message