java.lang.IllegalStateException: Trying to write offsets that are null!

lucene-dev | Nicolas Lalevée (JIRA) | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    [jira] Created: (LUCENE-766) Two same new field with and without Term vector make an IllegalStateException

    lucene-dev | 1 decade ago | Nicolas Lalevée (JIRA)
    java.lang.IllegalStateException: Trying to write offsets that are null!
  2. 0

    [jira] Updated: (LUCENE-766) Two same new field with and without Term vector make an IllegalStateException

    lucene-dev | 1 decade ago | Nicolas Lalevée (JIRA)
    java.lang.IllegalStateException: Trying to write offsets that are null!
  3. 0

    [jira] Updated: (LUCENE-766) Two same new field with and without Term vector make an IllegalStateException

    lucene-dev | 1 decade ago | Nicolas Lalevée (JIRA)
    java.lang.IllegalStateException: Trying to write offsets that are null!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Trying to write offsets that are null!

      at org.apache.lucene.index.TermVectorsWriter.writeField()
    2. Lucene
      TestDocumentWriter.testTermVector
      1. org.apache.lucene.index.TermVectorsWriter.writeField(TermVectorsWriter.java:311)
      2. org.apache.lucene.index.TermVectorsWriter.closeField(TermVectorsWriter.java:142)
      3. org.apache.lucene.index.TermVectorsWriter.closeDocument(TermVectorsWriter.java:100)
      4. org.apache.lucene.index.TermVectorsWriter.close(TermVectorsWriter.java:240)
      5. org.apache.lucene.index.DocumentWriter.writePostings(DocumentWriter.java:365)
      6. org.apache.lucene.index.DocumentWriter.addDocument(DocumentWriter.java:114)
      7. org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:618)
      8. org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:601)
      9. org.apache.lucene.index.TestDocumentWriter.testTermVector(TestDocumentWriter.java:147)
      9 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    4. JUnit
      TestSuite.run
      1. junit.framework.TestCase.runTest(TestCase.java:164)
      2. junit.framework.TestCase.runBare(TestCase.java:130)
      3. junit.framework.TestResult$1.protect(TestResult.java:106)
      4. junit.framework.TestResult.runProtected(TestResult.java:124)
      5. junit.framework.TestResult.run(TestResult.java:109)
      6. junit.framework.TestCase.run(TestCase.java:120)
      7. junit.framework.TestSuite.runTest(TestSuite.java:230)
      8. junit.framework.TestSuite.run(TestSuite.java:225)
      8 frames
    5. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
      2. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
      6. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
      6 frames