Grokbase Groups Lucene dev April 2011
FAQ
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


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

Search Discussions

  • Jonathan Young (JIRA) at Apr 27, 2011 at 6:02 pm
    [ https://issues.apache.org/jira/browse/LUCENE-3049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Jonathan Young updated LUCENE-3049:
    -----------------------------------

    Lucene Fields: [New, Patch Available] (was: [New])

    Patch attached.
    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
  • Steven Rowe (JIRA) at Apr 27, 2011 at 6:16 pm
    [ 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
  • Jonathan Young (JIRA) at Apr 27, 2011 at 6:18 pm
    [ https://issues.apache.org/jira/browse/LUCENE-3049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Jonathan Young resolved LUCENE-3049.
    ------------------------------------

    Resolution: Duplicate
    Lucene Fields: [New] (was: [Patch Available, New])

    Recently fixed at revision 1092328.
    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
  • Jonathan Young (JIRA) at Apr 27, 2011 at 6:18 pm
    [ https://issues.apache.org/jira/browse/LUCENE-3049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Jonathan Young updated LUCENE-3049:
    -----------------------------------

    Comment: was deleted

    (was: Patch attached.)
    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
  • Jonathan Young (JIRA) at Apr 27, 2011 at 6:18 pm
    [ https://issues.apache.org/jira/browse/LUCENE-3049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025929#comment-13025929 ]

    Jonathan Young edited comment on LUCENE-3049 at 4/27/11 6:17 PM:
    -----------------------------------------------------------------

    In preparing the patch, I updated, and then discovered it had already been recently fixed at revision 1092328.

    was (Author: jyoung):
    Recently fixed at revision 1092328.
    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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categorieslucene
postedApr 27, '11 at 6:02p
activeApr 27, '11 at 6:18p
posts6
users1
websitelucene.apache.org

1 user in discussion

Jonathan Young (JIRA): 6 posts

People

Translate

site design / logo © 2022 Grokbase