java.lang.NullPointerException: while trying to invoke the method java.lang.ThreadLocal.get() of an object loaded from field org.apache.lucene.util.CloseableThreadLocal.t of an object loaded from local variable 'this'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Sonatype JIRA by Emil Genchev, 1 year ago
while trying to invoke the method java.lang.ThreadLocal.get() of an object loaded from field org.apache.lucene.util.CloseableThreadLocal.t of an object loaded from local variable 'this'
via Sonatype JIRA by Emil Genchev, 1 year ago
while trying to invoke the method java.lang.ThreadLocal.get() of an object loaded from field org.apache.lucene.util.CloseableThreadLocal.t of an object loaded from local variable 'this'
java.lang.NullPointerException: while trying to invoke the method java.lang.ThreadLocal.get() of an object loaded from field org.apache.lucene.util.CloseableThreadLocal.t of an object loaded from local variable 'this'
at org.apache.lucene.util.CloseableThreadLocal.get(CloseableThreadLocal.java:64)
at org.apache.lucene.index.SegmentReader.getFieldsReader(SegmentReader.java:842)
at org.apache.lucene.index.SegmentReader.document(SegmentReader.java:943)
at org.apache.lucene.index.DirectoryReader.document(DirectoryReader.java:533)
at org.apache.maven.index.incremental.DefaultIncrementalHandler.getIndexChunk(DefaultIncrementalHandler.java:154)
at org.apache.maven.index.incremental.DefaultIncrementalHandler.getIncrementalUpdates(DefaultIncrementalHandler.java:65)
at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryIndex(DefaultIndexerManager.java:1230)
at org.sonatype.nexus.tasks.PublishIndexesTask.doRun(PublishIndexesTask.java:65)
at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:679)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.