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

Hibernate JIRA | Sanne Grinovero | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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 | 3 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 | 3 years ago | Sanne Grinovero
    org.hibernate.search.exception.SearchException: HSEARCH000083: Unable to serialize List<LuceneWork>
  3. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  6. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 2 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object

    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