Closed cross closed 5 years ago
TokenStream
contract violation in general so closing as a dup.I am not sure what is the net effect of the exception, I believe in the worst case it will just skip the contents of the file (i.e. they will not be indexed and therefore not searchable).
What would be useful to know is how often this happens. The bug seems to be tied to .jar
files only. Does it happen for the same set of files (I assume the project in question contains bunch of .jar
files) if you reindex from scratch (to be sure) multiple times in a row ?
Okay. Well, this server is still in bring-up, so I can run that a few times. I've deleted the data directory and will start the index. I'll do that a couple times and compare the outputs.
Cool, pls update #2030 with your findings.
I am running HEAD opengrok from the tree as of late last week, identifying itself as version 1.2.8.
I am seeing a error now while doing a fresh index (all data file deleted) of a set of source projects, and I think I had indexed this same set before without seeing this error. It is on the same host, and the only recent change was increasing the max heap size args from
-Xms2g -Xmx12g
to-Xms4g -Xmx16g
. I doubt that's related, but can back that out and test again.The error I'm seeing is
Searching I found only #2030 about a failing test, but I did a mvnw unit-test run on this build, without seeing an issue. (And I think #2030 shows the test that provoked that issue was removed)
Let me know if I can provide any more information on this. I have seen these errors a few times in recent days, but am not 100% sure how to reproduce it. I have reduced my project count down to something I know I had seen working earlier.