geraldsec / jcseg

Automatically exported from code.google.com/p/jcseg
0 stars 0 forks source link

exception on token something, refer to description (已解决) #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Caused by: java.lang.ArrayIndexOutOfBoundsException: 64
    at com.webssky.jcseg.util.IStringBuffer.deleteCharAt(Unknown Source)
    at com.webssky.jcseg.ASegment.nextLetterOrDigit(Unknown Source)
    at com.webssky.jcseg.ASegment.next(Unknown Source)
    at com.webssky.jcseg.lucene.JcsegTokenizer.incrementToken(Unknown Source)

What is the expected output? What do you see instead?

Should parse correctly without exception

What version of the product are you using? On what operating system?
1.8.8 lastest version

Please provide any additional information below.

Original issue reported on code.google.com by xuyi...@gmail.com on 21 Aug 2013 at 10:18

GoogleCodeExporter commented 8 years ago
i have debug the code. it is cause by j < count. should j < count - 1. when you 
move one char ahead.
i love this project.

Original comment by xuyi...@gmail.com on 21 Aug 2013 at 10:31

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Thanks for your feedback.

My account was closed by google for some reasons i may never know. (so, i use 
this instead)

i will change over it according to you feedback.

Thanks for your support!!

Original comment by chenxin1...@gmail.com on 21 Aug 2013 at 5:16

GoogleCodeExporter commented 8 years ago

Original comment by chenxin6...@gmail.com on 9 Sep 2013 at 6:20