Description
Hi everyone,
Not so long ago some of my projects started to face the following issue when performing the opengrok-reindex-project command.
Error Output:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Indexer command for project $PROJECT_NAME failed (return code -9)
!!! WARNING: Command <command_run> exited with non zero return code 1
I'm using the per project management structure, the command I'm running is:
opengrok-reindex-project -J=-Xmx15g -J=-server -a /var/opengrok/dist/lib/opengrok.jar
-t /var/opengrok/etc/logging.properties
-p $PROJECT_NAME
-d /var/opengrok/log/$PROJECT_NAME
-P $PROJECT_NAME
-U http://localhost:8080/
-- -G -m 256 -c /usr/local/bin/ctags
-U http://localhost:8080/
-H $PROJECT_NAME
Somehow I think the error is related to the #2130 issue, aka when the index finds a file that contains one immense term or when special characters are found. I'm saying this because before facing this issue I was facing the one specified in the #2130, but after implementing OPENGROK_ALL_NONWHITESPACE=on as an env. variable as suggested in the #2104 the old error apparently disappeared and this new error started showing.
I tried looking for this error in the community, but I didn't find a solution to my case.
I would appreciate all the help you could give me, thank you so much!
Opengrok version: 1.7.2
Tomcat version: 10.0.5
Git version: 2.17.1