java.lang.IllegalStateException: Mixing up field types: class org.elasticsearch.index.mapper.core.LongFieldMapper$LongFieldType != class org.elasticsearch.index.mapper.internal.TTLFieldMapper$TTLFieldType on field _ttl All I could find is this github discussion but doesn't tell how to solve the issue. P.S. I know that _ttl is deprecated in 2.x and will be removed from 5.x but I'm just trying to make ttl work on 2.x for now. Full stacktrace: MapperParsingException[failed to parse]; nested: IllegalStateException[Mixing up field types: class org.elasticsearch.index.mapper.core.LongFieldMapper$LongFieldType != class org.elasticsearch.index.mapper.internal.TTLFieldMapper$TTLFieldType on field _ttl];

  1. 0

    Mixing up field types: on field _ttl on elasticsearch 2.3

    Stack Overflow | 5 months ago | Rajind Ruparathna
    java.lang.IllegalStateException: Mixing up field types: class org.elasticsearch.index.mapper.core.LongFieldMapper$LongFieldType != class org.elasticsearch.index.mapper.internal.TTLFieldMapper$TTLFieldType on field _ttl All I could find is this github discussion but doesn't tell how to solve the issue. P.S. I know that _ttl is deprecated in 2.x and will be removed from 5.x but I'm just trying to make ttl work on 2.x for now. Full stacktrace: MapperParsingException[failed to parse]; nested: IllegalStateException[Mixing up field types: class org.elasticsearch.index.mapper.core.LongFieldMapper$LongFieldType != class org.elasticsearch.index.mapper.internal.TTLFieldMapper$TTLFieldType on field _ttl];
  2. 0

    GitHub comment 15267#163528170

    GitHub | 1 year ago | cybacolt
    java.lang.IllegalStateException: Field data loading is forbidden on message]; nested: UncheckedExecutionException[java.lang.IllegalStateException: Field data loading is forbidden on message]; nested: IllegalStateException[Field data loading is forbidden on message];
  3. 0

    GitHub comment 4385#197353386

    GitHub | 9 months ago | cello86
    java.lang.IllegalStateException: Field data loading is forbidden on response]; nested: UncheckedExecutionException[java.lang.IllegalStateException: Field data loading is forbidden on response]; nested: IllegalStateException[Field data loading is forbidden on response];
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Inject Extra into DualPane (FragmentExample) DetailFragment

    Stack Overflow | 2 years ago | Langusten Gustel
    java.lang.IllegalStateException: Can't find the mandatory extra identified by key [place] on field class de.NextBike.activity.ItemDetailFragment.place while locating de.NextBike.activity.ItemDetailFragment 1 error
  6. 0

    GitHub comment 15267#163528170

    GitHub | 1 year ago | cybacolt
    java.lang.IllegalStateException: Field data loading is forbidden on message]; nested: UncheckedExecutionException[java.lang.IllegalStateException: Field data loading is forbidden on message]; nested: IllegalStateException[Field data loading is forbidden on message];

    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

      Mixing up field types: class org.elasticsearch.index.mapper.core.LongFieldMapper$LongFieldType != class org.elasticsearch.index.mapper.internal.TTLFieldMapper$TTLFieldType on field _ttl

      at org.elasticsearch.index.mapper.FieldMapper.updateFieldType()
    2. ElasticSearch
      AbstractRunnable.run
      1. org.elasticsearch.index.mapper.FieldMapper.updateFieldType(FieldMapper.java:397)
      2. org.elasticsearch.index.mapper.FieldMapper.updateFieldType(FieldMapper.java:53)
      3. org.elasticsearch.index.mapper.DocumentParser.parseDynamicValue(DocumentParser.java:622)
      4. org.elasticsearch.index.mapper.DocumentParser.parseValue(DocumentParser.java:442)
      5. org.elasticsearch.index.mapper.DocumentParser.parseObject(DocumentParser.java:262)
      6. org.elasticsearch.index.mapper.DocumentParser.parseDocument(DocumentParser.java:122)
      7. org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:309)
      8. org.elasticsearch.index.shard.IndexShard.prepareCreate(IndexShard.java:529)
      9. org.elasticsearch.index.shard.IndexShard.prepareCreateOnPrimary(IndexShard.java:506)
      10. org.elasticsearch.action.index.TransportIndexAction.prepareIndexOperationOnPrimary(TransportIndexAction.java:215)
      11. org.elasticsearch.action.index.TransportIndexAction.executeIndexRequestOnPrimary(TransportIndexAction.java:224)
      12. org.elasticsearch.action.bulk.TransportShardBulkAction.shardIndexOperation(TransportShardBulkAction.java:326)
      13. org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:119)
      14. org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:68)
      15. org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryPhase.doRun(TransportReplicationAction.java:639)
      16. org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
      17. org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryOperationTransportHandler.messageReceived(TransportReplicationAction.java:279)
      18. org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryOperationTransportHandler.messageReceived(TransportReplicationAction.java:271)
      19. org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:75)
      20. org.elasticsearch.transport.TransportService$4.doRun(TransportService.java:376)
      21. org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
      21 frames
    3. 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:745)
      3 frames