Gradle assemble error


[kor]
안녕하세요, 저는 한국인입니다.
저는 엘라스틱서치에 사용자 사전을 이용한 노리 플러그인을 이용하고자 합니다.
다음 링크를 참고해서 사용하고 있었습니다.
(https://github.com/jimczi/nori/blob/master/how-to-custom-dict.asciidoc)
하지만 elasticsearch를 git pull한 후 gradle assemble을 할 때 다음과 같은 에러가 발생합니다.
"""
A problem occurred configuring project ':plugins:analysis-nori'.

java.lang.NullPointerException (no error message)
"""

또는
"""
Cannot invoke "java.lang.Comparable.compareTo(Object)" because the return value of "java.util.function.Function.apply(Object)" is null
"""

파일의 수정사항은 위의 링크와 같이 수정하였고 버전은 제 것과 같이 수정하였습니다.
테스트로 elasticsearch 7.17.3으로 해봤으나 해당 버전은 정상작동하고 7.17.4부터 위와 같은 에러가 발생합니다.

도움을 주시면 감사하겠습니다.

제가 사용하는 버전은 다음과 같습니다
Ubuntu == 22.04
elasticsearch == 7.17.7
lucene == 8.11.1
mecab == mecab of 0.996/ko-0.9.2
gradle == 7.5.1
java(openjdk) == 17.0.5
ant == 1.10.11


[eng]
Hello, I am Korean.
I would like to use Nori plug-in using user dictionary for Elastic Search.
I was using it by referring to the following link.
(https://github.com/jimczi/nori/blob/master/how-to-custom-dict.asciidoc)
However, the following error occurs when performing a gradle assembly after git pulling elasticsearch.
"""
A problem occurred configuring project ':plugins:analysis-nori'.

java.lang.NullPointerException (no error message)
"""

Or
"""
Cannot invoke "java.lang.Comparable.compareTo(Object)" because the return value of "java.util.function.Function.apply(Object)" is null
"""

I modified the file as shown in the link above and revised the version as shown in mine.
I tried elasticsearch 7.17.3 as a test, but this version works fine and the above error occurs from 7.17.4.

I'd appreciate your help.

The versions I use are as follows.
Ubuntu == 22.04
elasticsearch == 7.17.7
lucene == 8.11.1
mecab == mecab of 0.996/ko-0.9.2
gradle == 7.5.1
java(openjdk) == 17.0.5
ant == 1.10.11

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.