Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indexer Command Failed: Return code -9 from java.lang.IllegalStateException: TokenStream contract violation: close() call missing #3036

Closed
Me4791 opened this issue Feb 7, 2020 · 2 comments

Comments

@Me4791
Copy link

Me4791 commented Feb 7, 2020

Describe the bug
Hello Contributors,
We have deployed the OpenGrok 1.3.3 in test environment and we are getting below error while indexing the source:
image

Environment:
Git - 2.17.1
OS -Ubuntu 18.04
Can you please help? Is this known issue? Is the indexing get failed in between or completed?
Is Analyzer part come in workflow after indexing?
Any help would be appreciated as we are close to production deployment date.

IS there any way I can skip this analyzer.
Thanks!

@idodeclare
Copy link
Contributor

IS there any way I can skip this analyzer.

For JarAnalyzerFactory which is enlisted either by file extension (.jar, .war, .ear) or by format magic string (PK\{3}\{4} with 0xCAFE Extra Field ID), there are no switches to entirely disable JarAnalyzer.

You could ignore the file extensions though with the -i, --ignore switch:

-i '*.jar' -i '*.war' -i '*.ear'

(Ignored files may still show up in repo history though. See PR #1386.)

@tarzanek
Copy link
Contributor

tarzanek commented Feb 7, 2020

seems to be a dup of #2030

@vladak vladak closed this as completed Feb 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants