lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-7279) AIOOBE from JapaneseTokenizer
Date Sat, 14 May 2016 09:00:29 GMT

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

ASF subversion and git services commented on LUCENE-7279:
---------------------------------------------------------

Commit c1d5a5eb3581d554dbfce08b0241c53c9f58ad61 in lucene-solr's branch refs/heads/branch_6_0
from Mike McCandless
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c1d5a5e ]

LUCENE-7279: don't throw AIOOBE on some valid inputs


> AIOOBE from JapaneseTokenizer
> -----------------------------
>
>                 Key: LUCENE-7279
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7279
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/analysis
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 6.0.1, master (7.0)
>
>         Attachments: LUCENE-7279.patch
>
>
> On certain Japanese input strings you can hit this:
> {noformat}
> java.lang.ArrayIndexOutOfBoundsException: -1
> 	at __randomizedtesting.SeedInfo.seed([C6752A567B924B1:2B195610610ED60]:0)
> 	at org.apache.lucene.analysis.ja.JapaneseTokenizer.backtrace(JapaneseTokenizer.java:1607)
> 	at org.apache.lucene.analysis.ja.JapaneseTokenizer.parse(JapaneseTokenizer.java:902)
> 	at org.apache.lucene.analysis.ja.JapaneseTokenizer.incrementToken(JapaneseTokenizer.java:479)
> 	at org.apache.lucene.analysis.ja.TestJapaneseTokenizer.testBigDocument(TestJapaneseTokenizer.java:837)
> {noformat}
> I have a patch with a test case and fix.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message