Skip to content

History and Annotate links not working for Perforce repositories #3576

@AmeyaBhujbal

Description

@AmeyaBhujbal

History and annotate links are not working. After checking the logs of catalina, it says "Failed to instantiate internal repository data for Perforce" and "done invalidating 0 repositories" even though there are repositories.

History cache is getting generated, but the link is still not working.

Below mentioned is the content from catalina.out log:-
org.opengrok.indexer.history.HistoryGuru.lambda$invalidateRepositories$5 Failed to instantiate internal repository data for Perforce in (directory path)
org.opengrok.indexer.util.Statistics.logIt done invalidating 0 repositories (took 445 ms)

Below mentioned is the content from opengrok log:-
2021-05-05 14:01:06.240+0530 INFO t1 Statistics.logIt: Done scanning for repositories, found 7 repositories (took 0:01:52)
2021-05-05 14:01:06.240+0530 INFO t1 Indexer.prepareIndexer: Generating history cache for all repositories ...
2021-05-05 14:01:06.257+0530 INFO t1 HistoryGuru.createCacheReal: Creating historycache for 7 repositories

In OpenGrok log, number repositories are being detected correctly, but not the same case with Tomcat log.

I am using OpenGrok 1.7.2,
Apache Tomcat 10.0.5,
JDK 11.0.7,
Linux/unix system.

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