You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2008/07/23 19:18:32 UTC

[jira] Assigned: (SOLR-648) SpellcheckComponent throws NullPointerException on restart without build

     [ https://issues.apache.org/jira/browse/SOLR-648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar reassigned SOLR-648:
------------------------------------------

    Assignee: Shalin Shekhar Mangar

> SpellcheckComponent throws NullPointerException on restart without build
> ------------------------------------------------------------------------
>
>                 Key: SOLR-648
>                 URL: https://issues.apache.org/jira/browse/SOLR-648
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Geoffrey Young
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 1.3
>
>
> from http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200807.mbox/%3cC4AC838E.ADE7%25jonathan_lee@comcast.com%3e
> "I believe there is a bug in IndexBased- and FileBasedSpellChecker.java
> where the analyzer variable is only set on the build command. Therefore,
> when the index is reloaded, but not built after starting solr, issuing a
> query with the spellcheck.q parameter will cause a NullPointerException to
> be thrown (SpellCheckComponent.java:158). Moving the analyzer logic to the
> constructor seems to fix the problem."

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.