java.lang.IllegalArgumentException

java.lang.Object is not an indexed entity or a subclass of an indexed entity

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web23781

  • via Hibernate JIRA by Emmanuel Bernard, 7 months ago
    java.lang.Object is not an indexed entity or a subclass of an indexed entity
  • via Hibernate JIRA by George, 7 months ago
    java.lang.Object is not an indexed entity or a subclass of an indexed entity
  • via Hibernate JIRA by Emmanuel Bernard, 1 year ago
    java.lang.Object is not an indexed entity or a subclass of an indexed entity
  • Stack trace

    • java.lang.IllegalArgumentException: java.lang.Object is not an indexed entity or a subclass of an indexed entity at org.hibernate.search.impl.MassIndexerImpl.toRootEntities(MassIndexerImpl.java:102) at org.hibernate.search.impl.MassIndexerImpl.<init>(MassIndexerImpl.java:74) at org.hibernate.search.impl.DefaultMassIndexerFactory.createMassIndexer(DefaultMassIndexerFactory.java:47) at org.hibernate.search.impl.FullTextSessionImpl.createIndexer(FullTextSessionImpl.java:181) at org.hibernate.search.jpa.impl.FullTextEntityManagerImpl.createIndexer(FullTextEntityManagerImpl.java:349) at netgloo.BuildSearchIndex.onApplicationEvent(BuildSearchIndex.java:38) at netgloo.BuildSearchIndex.onApplicationEvent(BuildSearchIndex.java:1) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:151) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:128) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:331) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:773) at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:140) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:483) at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686) at org.springframework.boot.SpringApplication.run(SpringApplication.java:320) at org.springframework.boot.SpringApplication.run(SpringApplication.java:957) at org.springframework.boot.SpringApplication.run(SpringApplication.java:946) at netgloo.Application.main(Application.java:10)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    3 times, 6 months ago