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

NullPointerException in ConcurrentMergeScheduler #3620

Closed
rdeaton opened this issue Sep 4, 2013 · 5 comments
Closed

NullPointerException in ConcurrentMergeScheduler #3620

rdeaton opened this issue Sep 4, 2013 · 5 comments
Assignees

Comments

@rdeaton
Copy link

rdeaton commented Sep 4, 2013

org.apache.lucene.index.MergePolicy$MergeException: java.lang.NullPointerException
at org.elasticsearch.index.merge.scheduler.ConcurrentMergeSchedulerProvider$CustomConcurrentMergeScheduler.handleMergeException(ConcurrentMergeSchedulerProvider.java:99)
at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:518)
Caused by: java.lang.NullPointerException
at org.elasticsearch.search.suggest.completion.AnalyzingCompletionLookupProvider$1$1.finish(AnalyzingCompletionLookupProvider.java:134)
at org.elasticsearch.search.suggest.completion.Completion090PostingsFormat$SuggestFieldsConsumer$1.finish(Completion090PostingsFormat.java:152)
at org.apache.lucene.codecs.TermsConsumer.merge(TermsConsumer.java:204)
at org.apache.lucene.codecs.FieldsConsumer.merge(FieldsConsumer.java:72)
at org.apache.lucene.index.SegmentMerger.mergeTerms(SegmentMerger.java:365)
at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:98)
at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:3772)
at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3376)
at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:405)
at org.apache.lucene.index.TrackingConcurrentMergeScheduler.doMerge(TrackingConcurrentMergeScheduler.java:91)
at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:482)

As always, let me know if there's anything more I can provide to help debug.

@ghost ghost assigned s1monw Sep 5, 2013
@s1monw
Copy link
Contributor

s1monw commented Sep 5, 2013

this is already fixed ie. duplicate of #3555

@s1monw s1monw closed this as completed Sep 5, 2013
@rdeaton
Copy link
Author

rdeaton commented Sep 5, 2013

This was on master from this morning, so perhaps it's not quite fixed yet?

@s1monw
Copy link
Contributor

s1monw commented Sep 5, 2013

Well, that line number points to a comment in the code and they tend to be correct though. I am wondering if what you have deployed is actually the current HEAD of our master branch or an older revision. Can you check what has you build that from?

@rdeaton
Copy link
Author

rdeaton commented Sep 5, 2013

Oops, seems you're right, I was correlating logs to the wrong cluster. Sorry for the mixup.

@s1monw
Copy link
Contributor

s1monw commented Sep 5, 2013

@rdeaton thanks for clarifying!

russcam added a commit to elastic/elasticsearch-net that referenced this issue Apr 1, 2019
russcam added a commit to elastic/elasticsearch-net that referenced this issue Apr 1, 2019
russcam added a commit to elastic/elasticsearch-net that referenced this issue Apr 1, 2019
russcam added a commit to elastic/elasticsearch-net that referenced this issue May 8, 2019
russcam added a commit to elastic/elasticsearch-net that referenced this issue May 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants