Skip to content

java.lang.NoClassDefFoundError indexing huge history branch #3252

Closed
@ghost

Description

I get the following java.lang.NoClassDefFoundError when indexing relatively huge history included branch.

Indexer command failed (return code 1)
Logging filehandler pattern: /opt/pisces/WORKSPACE/temp8/log/opengrok%g.%u.log
java.lang.NoClassDefFoundError: org/apache/lucene/index/MergeTrigger
... 10 more
java.lang.NoClassDefFoundError: org/opengrok/indexer/authorization/AuthorizationEntity$PluginDecisionPredicate
... 40 more

This was working fine until 1.3.16, starting from 1.4.1.
At first, I got "java.lang.OutOfMemoryError: Java heap space" error on 1.4.1.
So, I increased the Java heap memory from "Xmx4096m" to "Xmx6144m & Xms6144m" then I now get this error.
Please let me know if I can I workaround this error. (Should I increase more memory?)
Thank you very much for your help!!!

17.opengrok0.0.log

Java: 11.0.2
Tomcat: 9.0.13
RHEL: 7.6

pisces@sjc-opengrok-17>./ctags --version
Universal Ctags 0.0.0, Copyright (C) 2015 Universal Ctags Team
Universal Ctags is derived from Exuberant Ctags.
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
Compiled: Feb 13 2020, 06:52:57
URL: https://ctags.io/
Optional compiled features: +wildcards, +regex, +iconv, +option-directory, +xpath, +packcc

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions