Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新词发现 BUG #37

Open
lbhfuture opened this issue Jan 6, 2021 · 0 comments
Open

新词发现 BUG #37

lbhfuture opened this issue Jan 6, 2021 · 0 comments
Labels

Comments

@lbhfuture
Copy link

NewWordFindEngine 类中 finishFirst() 方法里调用 topWordCounter.clean() 方法后,topWordCounter.data 里的数据有可能为空,这时候的 treeMap 为空,在接下来的初始化 DoubleArrayTrieMap 时会报错。是这个类的构造函数里对 treeMap 进行了 forEach 操作,下标越界。

使用的版本是 3.3.0

@jimichan jimichan added the bug label Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants