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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Nishil
, 1 year ago
java.lang.Object is not an indexed entity or a subclass of an indexed entity
via Hibernate JIRA by George, 1 year ago
java.lang.Object is not an indexed entity or a subclass of an indexed entity
via GitHub by ghost
, 1 year ago
domain.CustomList is not an indexed entity or a subclass of an indexed entity
via Hibernate JIRA by George, 1 year 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
via Stack Overflow by Code Junkie
, 1 year ago
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.(MassIndexerImpl.java:74)
at org.hibernate.search.impl.DefaultMassIndexerFactory.createMassIndexer(DefaultMassIndexerFactory.java:47)
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.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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.