lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Rowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3049) NullPointerException in BiSegGraph.getShortPath (in smartcn chinese analyzer)
Date Wed, 27 Apr 2011 18:16:03 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-3049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025927#comment-13025927
] 

Steven Rowe commented on LUCENE-3049:
-------------------------------------

Jonathan, FYI, you didn't attach a patch?

> NullPointerException in BiSegGraph.getShortPath (in smartcn chinese analyzer)
> -----------------------------------------------------------------------------
>
>                 Key: LUCENE-3049
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3049
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/analyzers
>    Affects Versions: 3.1
>            Reporter: Jonathan Young
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Calling HHMMSegmenter.process() on a string which is longer than 32767 characters will
usually result in a NullPointerException being thrown with the following backtrace:
> java.lang.NullPointerException
> 	at org.apache.lucene.analysis.cn.smart.hhmm.BiSegGraph.getShortPath(BiSegGraph.java:190)
> 	at org.apache.lucene.analysis.cn.smart.hhmm.HHMMSegmenter.process(HHMMSegmenter.java:208)
> The root cause is the declaration of index as a _short_ at line 77 of modules/analysis/smartcn/src/java/org/apache/lucene/analysis/cn/smart/hhmm/SegGraph.java
.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message