[ https://issues.apache.org/jira/browse/LUCENE-5244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benson Margulies resolved LUCENE-5244. -------------------------------------- Resolution: Invalid This was pilot error, I forgot to call reset(). > NPE in Japanese Analyzer > ------------------------ > > Key: LUCENE-5244 > URL: https://issues.apache.org/jira/browse/LUCENE-5244 > Project: Lucene - Core > Issue Type: Bug > Components: modules/analysis > Affects Versions: 4.4 > Reporter: Benson Margulies > > I've got a test case that shows an NPE with the Japanese analyzer. > It's all available in https://github.com/benson-basis/kuromoji-npe, and I > explicitly grant a license to the Foundation. > If anyone would prefer that I attach a tarball here, just let me know. > {noformat} > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Running com.basistech.testcase.JapaneseNpeTest > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.298 sec <<< > FAILURE! - in com.basistech.testcase.JapaneseNpeTest > japaneseNpe(com.basistech.testcase.JapaneseNpeTest) Time elapsed: 0.282 sec > <<< ERROR! > java.lang.NullPointerException: null > at > org.apache.lucene.analysis.util.RollingCharBuffer.get(RollingCharBuffer.java:86) > at > org.apache.lucene.analysis.ja.JapaneseTokenizer.parse(JapaneseTokenizer.java:618) > at > org.apache.lucene.analysis.ja.JapaneseTokenizer.incrementToken(JapaneseTokenizer.java:468) > at > com.basistech.testcase.JapaneseNpeTest.japaneseNpe(JapaneseNpeTest.java:28) > {noformat} -- 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: 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