[ https://issues.apache.org/jira/browse/SOLR-3584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404144#comment-13404144 ]
Andy Lester commented on SOLR-3584: ----------------------------------- It seems that the cause is in the <searchComponent> section. I had <lst name="spellChecker"> where it should have been <lst name="spellchecker">. I can reliably get the NPE by switching to the miscapitalized version. > Solr shouldn't throw NPE when spellcheck dictionary isn' > -------------------------------------------------------- > > Key: SOLR-3584 > URL: https://issues.apache.org/jira/browse/SOLR-3584 > Project: Solr > Issue Type: Bug > Components: spellchecker > Affects Versions: 3.6 > Environment: uname -a > Linux hostname 2.6.32-131.6.1.el6.x86_64 #1 SMP Mon Sep 26 10:18:37 GMT 2011 > x86_64 x86_64 x86_64 GNU/Linux > Reporter: Andy Lester > Priority: Minor > > I'm trying to force indexing of my spellchecker component on my "titles" core. > /solr/titles/suggest?q=at&spellcheck=true gives me back no results. > /solr/titles/suggest?q=at&spellcheck=true&spellcheck.build=true gives me an > NPE starting as > null java.lang.NullPointerException at > org.apache.solr.handler.component.SpellCheckComponent.prepare(SpellCheckComponent.java:109) > at .... -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org