org.hibernate.search.exception.SearchException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by Sanne Grinovero,
  • 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}
    via by Sanne Grinovero,
    • 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
    No Bugmate found.