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

lucene-dev | Nicolas Lalevée (JIRA) | 10 years ago
  1. 0

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

    lucene-dev | 10 years 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 | 10 years 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 | 10 years 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

  5. 0

    RE: Problem with Liferay Faces CDI on JBoss 7.1 - Forums | Liferay

    liferay.com | 9 months ago
    java.lang.IllegalStateException: JBAS016071: Singleton not set for ModuleClassLoader for Module "deployment.jsf2-cdi-portlet.war:main" from Service Module Loader. This means that you are trying to access a weld deployment with a Thread Context ClassLoader that is not associated with the deployment.
  6. 0

    Problem with Liferay Faces CDI on JBoss 7.1 - Forums | Liferay

    liferay.com | 1 year ago
    java.lang.IllegalStateException: JBAS016071: Singleton not set for ModuleClassLoader for Module "deployment.jsf2-cdi-portlet.war:main" from Service Module Loader. This means that you are trying to access a weld deployment with a Thread Context ClassLoader that is not associated with the deployment.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    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