Vladimir Kotal
Vladimir Kotal
Not really, more info is needed. Ideally, the content of the files that exhibit the problem. If you cannot provide the content then some isolated/redacted version that still reproduces the...
The recent OpenGrok versions require Java 11. You can try this in the official OpenGrok Docker container. In order to do anything meaningful we need to have reproducible case, i.e....
A reproducible case is needed to do anything here. This means the actual contents of the files.
I checked https://github.com/debjyoti-samanta/main_repo.git and the analyzer error is just a manifestation of a problem with getting history for given file - `IndexDatabase#addFile()` calls `populateDocument()` where NPE is produced in `GitRepository`...
How do you run the indexer ? Do you have projects enabled ?
There is #3170, that's why I am asking about projects and indexer.
Another alternative would be to add support for message bus like MQTT so they can be e.g. turned into Grafana annotations.
> Aug 05, 2021 5:42:01 AM org.opengrok.indexer.analysis.Ctags readTags > SEVERE: CTag reader cycle was interrupted! > Aug 05, 2021 5:42:01 AM org.opengrok.indexer.analysis.Ctags readTags > WARNING: CTags parsing problem: > java.io.IOException:...
> Now I use > > ``` > nohup java -verbose -Djava.util.logging.config.file=/var/opengrok/logging.properties \ > -jar /var/opengrok/dist/lib/opengrok.jar \ > -c /usr/local/bin/bin/ctags \ > -s /var/opengrok/src/margot -d /var/opengrok/data -H -S -G -P...
If there is no `segments*` file under `/var/opengrok/data/index/mainline-git`, this means the project was not indexed properly. You need to look into the indexer log to see why is that.