org.hibernate.search.SearchException: HSEARCH000082: Unable to start serialization layer

Hibernate JIRA | Emmanuel Bernard | 5 years ago
  1. 0

    This is not top priority but new code should follow this and encountered code should be migrated. If someone is willing to take the codebase over and convert the better {code} @MessageLogger(projectCode = "HSEARCH") public interface Log extends BasicLogger { @Message( value="Unable to start serialization layer", id=82 ) SearchException unableToStartSerializationLayer(@Cause Throwable e); } {code} And in the code throwing the exception {code} throw log.unableToStartSerializationLayer( e ); {code} will result in {code} org.hibernate.search.SearchException: HSEARCH000082: Unable to start serialization layer at org.hibernate.search.util.logging.impl.Log_$logger.unableToStartSerializationLayer(Log_$logger.java:771) at org.hibernate.search.backend.BackendFactory.createSerializer(BackendFactory.java:134) at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:95) at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:172) at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:97) at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:405) at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:257) at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:146) at org.hibernate.search.event.impl.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:126) at org.hibernate.search.hcore.impl.HibernateSearchIntegrator.integrate(HibernateSearchIntegrator.java:82) at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:294) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1720) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1756) at org.hibernate.search.test.SearchTestCase.buildConfiguration(SearchTestCase.java:252) at org.hibernate.search.test.SearchTestCase.setUp(SearchTestCase.java:117) at org.hibernate.search.test.SearchTestCase.runBare(SearchTestCase.java:429) at com.intellij.junit3.JUnit3IdeaTestRunner.doRun(JUnit3IdeaTestRunner.java:139) at com.intellij.junit3.JUnit3IdeaTestRunner.startRunnerWithArgs(JUnit3IdeaTestRunner.java:52) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:199) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) Caused by: java.lang.IllegalStateException: Wazzzzaaaaaaa at org.hibernate.search.backend.BackendFactory.createSerializer(BackendFactory.java:124) ... 31 more {code}

    Hibernate JIRA | 5 years ago | Emmanuel Bernard
    org.hibernate.search.SearchException: HSEARCH000082: Unable to start serialization layer
  2. 0

    This is not top priority but new code should follow this and encountered code should be migrated. If someone is willing to take the codebase over and convert the better {code} @MessageLogger(projectCode = "HSEARCH") public interface Log extends BasicLogger { @Message( value="Unable to start serialization layer", id=82 ) SearchException unableToStartSerializationLayer(@Cause Throwable e); } {code} And in the code throwing the exception {code} throw log.unableToStartSerializationLayer( e ); {code} will result in {code} org.hibernate.search.SearchException: HSEARCH000082: Unable to start serialization layer at org.hibernate.search.util.logging.impl.Log_$logger.unableToStartSerializationLayer(Log_$logger.java:771) at org.hibernate.search.backend.BackendFactory.createSerializer(BackendFactory.java:134) at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:95) at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:172) at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:97) at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:405) at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:257) at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:146) at org.hibernate.search.event.impl.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:126) at org.hibernate.search.hcore.impl.HibernateSearchIntegrator.integrate(HibernateSearchIntegrator.java:82) at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:294) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1720) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1756) at org.hibernate.search.test.SearchTestCase.buildConfiguration(SearchTestCase.java:252) at org.hibernate.search.test.SearchTestCase.setUp(SearchTestCase.java:117) at org.hibernate.search.test.SearchTestCase.runBare(SearchTestCase.java:429) at com.intellij.junit3.JUnit3IdeaTestRunner.doRun(JUnit3IdeaTestRunner.java:139) at com.intellij.junit3.JUnit3IdeaTestRunner.startRunnerWithArgs(JUnit3IdeaTestRunner.java:52) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:199) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) Caused by: java.lang.IllegalStateException: Wazzzzaaaaaaa at org.hibernate.search.backend.BackendFactory.createSerializer(BackendFactory.java:124) ... 31 more {code}

    Hibernate JIRA | 5 years ago | Emmanuel Bernard
    org.hibernate.search.SearchException: HSEARCH000082: Unable to start serialization layer
  3. 0

    Hibernate 4.2 Infinispan 5.1 directory provider issue

    Stack Overflow | 3 years ago | user2913892
    org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager xx.inov8.domain.innovation.InnovationComponent
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hibernate search storing byte[] in index

    Stack Overflow | 5 years ago | Mat Banik
    org.hibernate.search.SearchException: Unable to guess FieldBridge for file
  6. 0

    Hibernate search index location issue

    Stack Overflow | 1 year ago | user1689757
    org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager com.ab.irh.model.Publication

    1 unregistered visitors
    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

      Wazzzzaaaaaaa

      at org.hibernate.search.backend.BackendFactory.createSerializer()
    2. Hibernate Search Engine
      SearchFactoryBuilder.buildSearchFactory
      1. org.hibernate.search.backend.BackendFactory.createSerializer(BackendFactory.java:124)
      2. org.hibernate.search.util.logging.impl.Log_$logger.unableToStartSerializationLayer(Log_$logger.java:771)
      3. org.hibernate.search.backend.BackendFactory.createSerializer(BackendFactory.java:134)
      4. org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:95)
      5. org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:172)
      6. org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:97)
      7. org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:405)
      8. org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:257)
      9. org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:146)
      9 frames
    3. Hibernate Search ORM
      HibernateSearchIntegrator.integrate
      1. org.hibernate.search.event.impl.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:126)
      2. org.hibernate.search.hcore.impl.HibernateSearchIntegrator.integrate(HibernateSearchIntegrator.java:82)
      2 frames
    4. Hibernate
      Configuration.buildSessionFactory
      1. org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:294)
      2. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1720)
      3. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1756)
      3 frames
    5. org.hibernate.search
      SearchTestCase.runBare
      1. org.hibernate.search.test.SearchTestCase.buildConfiguration(SearchTestCase.java:252)
      2. org.hibernate.search.test.SearchTestCase.setUp(SearchTestCase.java:117)
      3. org.hibernate.search.test.SearchTestCase.runBare(SearchTestCase.java:429)
      3 frames
    6. com.intellij.junit3
      JUnit3IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit3.JUnit3IdeaTestRunner.doRun(JUnit3IdeaTestRunner.java:139)
      2. com.intellij.junit3.JUnit3IdeaTestRunner.startRunnerWithArgs(JUnit3IdeaTestRunner.java:52)
      2 frames
    7. IDEA
      JUnitStarter.main
      1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:199)
      2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:62)
      2 frames
    8. Java RT
      NativeMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2 frames
    9. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
      1 frame