java.lang.IllegalArgumentException: Unable to identify index name. HashMap is not a Document. Make sure the document class is annotated with @Document(indexName="foo")

Spring JIRA | Mohsin Husen | 3 years ago
  1. 0

    Application startup failed with org.hibernate:hibernate-search-orm.XYZ on class path

    GitHub | 2 years ago | dirkrathje
    java.lang.IllegalArgumentException: @ConditionalOnMissingBean annotations must specify at least one bean (type, name or annotation)
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Issue of pagination in Spring Data JPA

    Stack Overflow | 5 years ago | Tom
    java.lang.IllegalArgumentException: Paging query needs to have a Pageable parameter!
  4. 0

    SubProtocolWebSocketHandler - No handlers

    Stack Overflow | 2 years ago
    org.springframework.web.context.ContextLoaderListener: org.springframework.context.ApplicationContextException: Failed to start bean 'subProtocolWebSocketHandler'; nested exception is java.lang.IllegalArgumentException: No handlers

  1. batwalrus76 1 times, last 2 weeks ago
  2. kjhdofjosvs 1 times, last 4 weeks ago
  3. j.kienzle 1 times, last 1 month ago
  4. Luka 2 times, last 2 months ago
  5. andyglick 1 times, last 3 months ago
4 more registered users
29 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.IllegalArgumentException

    Unable to identify index name. HashMap is not a Document. Make sure the document class is annotated with @Document(indexName="foo")

    at org.springframework.util.Assert.isTrue()
  2. Spring Core
    Assert.isTrue
    1. org.springframework.util.Assert.isTrue(Assert.java:65)
    1 frame
  3. Spring Data Elasticsearch
    ElasticsearchTemplate.bulkIndex
    1. org.springframework.data.elasticsearch.core.ElasticsearchTemplate.getPersistentEntityFor(ElasticsearchTemplate.java:624)
    2. org.springframework.data.elasticsearch.core.ElasticsearchTemplate.getPersistentEntityId(ElasticsearchTemplate.java:630)
    3. org.springframework.data.elasticsearch.core.ElasticsearchTemplate.prepareIndex(ElasticsearchTemplate.java:551)
    4. org.springframework.data.elasticsearch.core.ElasticsearchTemplate.bulkIndex(ElasticsearchTemplate.java:281)
    4 frames