org.hibernate.search.exception.SearchException: HSEARCH000083: Unable to serialize List<LuceneWork>

Hibernate JIRA | Sanne Grinovero | 2 years ago
  1. 0

    From the Jenkins builds on Windows [http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/hibernate-search-master-windows/org.hibernate$hibernate-search-serialization-avro/362/testReport/org.hibernate.search.test.serialization/ConcurrentServiceTest/concurrentSerialization/] : {noformat}Aug 18, 2014 3:21:09 PM org.hibernate.search.engine.Version <clinit> INFO: HSEARCH000034: Hibernate Search 5.0.0-SNAPSHOT Aug 18, 2014 3:21:09 PM org.hibernate.annotations.common.reflection.java.JavaReflectionManager <clinit> INFO: HCANN000001: Hibernate Commons Annotations {4.0.5.Final} Aug 18, 2014 3:21:09 PM org.hibernate.search.engine.service.impl.StandardServiceManager$ServiceWrapper ensureStopped WARN: HSEARCH000025: Service provider has been used but not released: interface org.hibernate.search.indexes.serialization.spi.SerializationProvider Aug 18, 2014 3:21:09 PM org.hibernate.search.indexes.impl.DirectoryBasedIndexManager getSerializer INFO: HSEARCH000168: Serialization service Avro SerializationProvider v1.1 being used for index 'org.hibernate.search.test.serialization.RemoteEntity' org.hibernate.search.exception.SearchException: HSEARCH000083: Unable to serialize List<LuceneWork> at org.hibernate.search.indexes.serialization.impl.LuceneWorkSerializerImpl.toSerializedModel(LuceneWorkSerializerImpl.java:102) at org.hibernate.search.test.serialization.ConcurrentServiceTest$SerializingThread.run(ConcurrentServiceTest.java:86) at org.hibernate.search.testsupport.concurrency.ConcurrentRunner$WrapRunnable.run(ConcurrentRunner.java:100) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.NullPointerException at org.hibernate.search.indexes.serialization.impl.CopyTokenStream.fillCache(CopyTokenStream.java:91) at org.hibernate.search.indexes.serialization.impl.CopyTokenStream.buildSerializabletokenStream(CopyTokenStream.java:39) at org.hibernate.search.indexes.serialization.spi.LuceneFieldContext.getTokenStream(LuceneFieldContext.java:105) at org.hibernate.search.indexes.serialization.avro.impl.AvroSerializer.addFieldWithTokenStreamData(AvroSerializer.java:269) at org.hibernate.search.indexes.serialization.impl.LuceneWorkSerializerImpl.buildDocument(LuceneWorkSerializerImpl.java:193) at org.hibernate.search.indexes.serialization.impl.LuceneWorkSerializerImpl.toSerializedModel(LuceneWorkSerializerImpl.java:90) ... 5 more org.hibernate.search.exception.SearchException: HSEARCH000083: Unable to serialize List<LuceneWork> at org.hibernate.search.indexes.serialization.impl.LuceneWorkSerializerImpl.toSerializedModel(LuceneWorkSerializerImpl.java:102) at org.hibernate.search.test.serialization.ConcurrentServiceTest$SerializingThread.run(ConcurrentServiceTest.java:86) at org.hibernate.search.testsupport.concurrency.ConcurrentRunner$WrapRunnable.run(ConcurrentRunner.java:100) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.NullPointerException at org.hibernate.search.indexes.serialization.impl.CopyTokenStream.fillCache(CopyTokenStream.java:91) at org.hibernate.search.indexes.serialization.impl.CopyTokenStream.buildSerializabletokenStream(CopyTokenStream.java:39) at org.hibernate.search.indexes.serialization.spi.LuceneFieldContext.getTokenStream(LuceneFieldContext.java:105) at org.hibernate.search.indexes.serialization.avro.impl.AvroSerializer.addFieldWithTokenStreamData(AvroSerializer.java:269) at org.hibernate.search.indexes.serialization.impl.LuceneWorkSerializerImpl.buildDocument(LuceneWorkSerializerImpl.java:193) at org.hibernate.search.indexes.serialization.impl.LuceneWorkSerializerImpl.toSerializedModel(LuceneWorkSerializerImpl.java:90) ... 5 more org.hibernate.search.exception.SearchException: HSEARCH000083: Unable to serialize List<LuceneWork> at org.hibernate.search.indexes.serialization.impl.LuceneWorkSerializerImpl.toSerializedModel(LuceneWorkSerializerImpl.java:102) at org.hibernate.search.test.serialization.ConcurrentServiceTest$SerializingThread.run(ConcurrentServiceTest.java:86) at org.hibernate.search.testsupport.concurrency.ConcurrentRunner$WrapRunnable.run(ConcurrentRunner.java:100) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.NullPointerException at org.hibernate.search.indexes.serialization.impl.CopyTokenStream.fillCache(CopyTokenStream.java:91) at org.hibernate.search.indexes.serialization.impl.CopyTokenStream.buildSerializabletokenStream(CopyTokenStream.java:39) at org.hibernate.search.indexes.serialization.spi.LuceneFieldContext.getTokenStream(LuceneFieldContext.java:105) at org.hibernate.search.indexes.serialization.avro.impl.AvroSerializer.addFieldWithTokenStreamData(AvroSerializer.java:269) at org.hibernate.search.indexes.serialization.impl.LuceneWorkSerializerImpl.buildDocument(LuceneWorkSerializerImpl.java:193) at org.hibernate.search.indexes.serialization.impl.LuceneWorkSerializerImpl.toSerializedModel(LuceneWorkSerializerImpl.java:90) ... 5 more Aug 18, 2014 3:21:09 PM org.hibernate.search.indexes.impl.DirectoryBasedIndexManager getSerializer INFO: HSEARCH000168: Serialization service Avro SerializationProvider v1.1 being used for index 'org.hibernate.search.test.serialization.RemoteEntity'{noformat}

    Hibernate JIRA | 2 years ago | Sanne Grinovero
    org.hibernate.search.exception.SearchException: HSEARCH000083: Unable to serialize List<LuceneWork>
  2. 0

    From the Jenkins builds on Windows [http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/hibernate-search-master-windows/org.hibernate$hibernate-search-serialization-avro/362/testReport/org.hibernate.search.test.serialization/ConcurrentServiceTest/concurrentSerialization/] : {noformat}Aug 18, 2014 3:21:09 PM org.hibernate.search.engine.Version <clinit> INFO: HSEARCH000034: Hibernate Search 5.0.0-SNAPSHOT Aug 18, 2014 3:21:09 PM org.hibernate.annotations.common.reflection.java.JavaReflectionManager <clinit> INFO: HCANN000001: Hibernate Commons Annotations {4.0.5.Final} Aug 18, 2014 3:21:09 PM org.hibernate.search.engine.service.impl.StandardServiceManager$ServiceWrapper ensureStopped WARN: HSEARCH000025: Service provider has been used but not released: interface org.hibernate.search.indexes.serialization.spi.SerializationProvider Aug 18, 2014 3:21:09 PM org.hibernate.search.indexes.impl.DirectoryBasedIndexManager getSerializer INFO: HSEARCH000168: Serialization service Avro SerializationProvider v1.1 being used for index 'org.hibernate.search.test.serialization.RemoteEntity' org.hibernate.search.exception.SearchException: HSEARCH000083: Unable to serialize List<LuceneWork> at org.hibernate.search.indexes.serialization.impl.LuceneWorkSerializerImpl.toSerializedModel(LuceneWorkSerializerImpl.java:102) at org.hibernate.search.test.serialization.ConcurrentServiceTest$SerializingThread.run(ConcurrentServiceTest.java:86) at org.hibernate.search.testsupport.concurrency.ConcurrentRunner$WrapRunnable.run(ConcurrentRunner.java:100) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.NullPointerException at org.hibernate.search.indexes.serialization.impl.CopyTokenStream.fillCache(CopyTokenStream.java:91) at org.hibernate.search.indexes.serialization.impl.CopyTokenStream.buildSerializabletokenStream(CopyTokenStream.java:39) at org.hibernate.search.indexes.serialization.spi.LuceneFieldContext.getTokenStream(LuceneFieldContext.java:105) at org.hibernate.search.indexes.serialization.avro.impl.AvroSerializer.addFieldWithTokenStreamData(AvroSerializer.java:269) at org.hibernate.search.indexes.serialization.impl.LuceneWorkSerializerImpl.buildDocument(LuceneWorkSerializerImpl.java:193) at org.hibernate.search.indexes.serialization.impl.LuceneWorkSerializerImpl.toSerializedModel(LuceneWorkSerializerImpl.java:90) ... 5 more org.hibernate.search.exception.SearchException: HSEARCH000083: Unable to serialize List<LuceneWork> at org.hibernate.search.indexes.serialization.impl.LuceneWorkSerializerImpl.toSerializedModel(LuceneWorkSerializerImpl.java:102) at org.hibernate.search.test.serialization.ConcurrentServiceTest$SerializingThread.run(ConcurrentServiceTest.java:86) at org.hibernate.search.testsupport.concurrency.ConcurrentRunner$WrapRunnable.run(ConcurrentRunner.java:100) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.NullPointerException at org.hibernate.search.indexes.serialization.impl.CopyTokenStream.fillCache(CopyTokenStream.java:91) at org.hibernate.search.indexes.serialization.impl.CopyTokenStream.buildSerializabletokenStream(CopyTokenStream.java:39) at org.hibernate.search.indexes.serialization.spi.LuceneFieldContext.getTokenStream(LuceneFieldContext.java:105) at org.hibernate.search.indexes.serialization.avro.impl.AvroSerializer.addFieldWithTokenStreamData(AvroSerializer.java:269) at org.hibernate.search.indexes.serialization.impl.LuceneWorkSerializerImpl.buildDocument(LuceneWorkSerializerImpl.java:193) at org.hibernate.search.indexes.serialization.impl.LuceneWorkSerializerImpl.toSerializedModel(LuceneWorkSerializerImpl.java:90) ... 5 more org.hibernate.search.exception.SearchException: HSEARCH000083: Unable to serialize List<LuceneWork> at org.hibernate.search.indexes.serialization.impl.LuceneWorkSerializerImpl.toSerializedModel(LuceneWorkSerializerImpl.java:102) at org.hibernate.search.test.serialization.ConcurrentServiceTest$SerializingThread.run(ConcurrentServiceTest.java:86) at org.hibernate.search.testsupport.concurrency.ConcurrentRunner$WrapRunnable.run(ConcurrentRunner.java:100) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.NullPointerException at org.hibernate.search.indexes.serialization.impl.CopyTokenStream.fillCache(CopyTokenStream.java:91) at org.hibernate.search.indexes.serialization.impl.CopyTokenStream.buildSerializabletokenStream(CopyTokenStream.java:39) at org.hibernate.search.indexes.serialization.spi.LuceneFieldContext.getTokenStream(LuceneFieldContext.java:105) at org.hibernate.search.indexes.serialization.avro.impl.AvroSerializer.addFieldWithTokenStreamData(AvroSerializer.java:269) at org.hibernate.search.indexes.serialization.impl.LuceneWorkSerializerImpl.buildDocument(LuceneWorkSerializerImpl.java:193) at org.hibernate.search.indexes.serialization.impl.LuceneWorkSerializerImpl.toSerializedModel(LuceneWorkSerializerImpl.java:90) ... 5 more Aug 18, 2014 3:21:09 PM org.hibernate.search.indexes.impl.DirectoryBasedIndexManager getSerializer INFO: HSEARCH000168: Serialization service Avro SerializationProvider v1.1 being used for index 'org.hibernate.search.test.serialization.RemoteEntity'{noformat}

    Hibernate JIRA | 2 years ago | Sanne Grinovero
    org.hibernate.search.exception.SearchException: HSEARCH000083: Unable to serialize List<LuceneWork>
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.NullPointerException

      No message provided

      at org.hibernate.search.indexes.serialization.impl.CopyTokenStream.fillCache()
    2. Hibernate Search Engine
      LuceneWorkSerializerImpl.toSerializedModel
      1. org.hibernate.search.indexes.serialization.impl.CopyTokenStream.fillCache(CopyTokenStream.java:91)
      2. org.hibernate.search.indexes.serialization.impl.CopyTokenStream.buildSerializabletokenStream(CopyTokenStream.java:39)
      3. org.hibernate.search.indexes.serialization.spi.LuceneFieldContext.getTokenStream(LuceneFieldContext.java:105)
      4. org.hibernate.search.indexes.serialization.avro.impl.AvroSerializer.addFieldWithTokenStreamData(AvroSerializer.java:269)
      5. org.hibernate.search.indexes.serialization.impl.LuceneWorkSerializerImpl.buildDocument(LuceneWorkSerializerImpl.java:193)
      6. org.hibernate.search.indexes.serialization.impl.LuceneWorkSerializerImpl.toSerializedModel(LuceneWorkSerializerImpl.java:90)
      6 frames
    3. org.hibernate.search
      ConcurrentRunner$WrapRunnable.run
      1. org.hibernate.search.test.serialization.ConcurrentServiceTest$SerializingThread.run(ConcurrentServiceTest.java:86)
      2. org.hibernate.search.testsupport.concurrency.ConcurrentRunner$WrapRunnable.run(ConcurrentRunner.java:100)
      2 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:744)
      3 frames