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 lucene-dev by Nicolas Lalevée (JIRA), 1 year ago
via lucene-dev by Nicolas Lalevée (JIRA), 1 year ago
via lucene-dev by Nicolas Lalevée (JIRA), 1 year ago
java.lang.IllegalStateException: Trying to write offsets that are null!	at org.apache.lucene.index.TermVectorsWriter.writeField(TermVectorsWriter.java:311)	at org.apache.lucene.index.TermVectorsWriter.closeField(TermVectorsWriter.java:142)	at org.apache.lucene.index.TermVectorsWriter.closeDocument(TermVectorsWriter.java:100)	at org.apache.lucene.index.TermVectorsWriter.close(TermVectorsWriter.java:240)	at org.apache.lucene.index.DocumentWriter.writePostings(DocumentWriter.java:365)	at org.apache.lucene.index.DocumentWriter.addDocument(DocumentWriter.java:114)	at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:618)	at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:601)	at org.apache.lucene.index.TestDocumentWriter.testTermVector(TestDocumentWriter.java:147)