java.lang.IllegalStateException

Trying to write offsets that are null!

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web13376

  • Trying to write offsets that are null!
  • Trying to write offsets that are null!
  • Trying to write offsets that are null!
  • Stack trace

    • 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.