org.elasticsearch.indices.IndexCreationException: [wf] failed to create index

GitHub | shisoft | 2 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael and Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    java.lang.NoClassDefFoundError: org/apache/http/client/ClientProtocolException under 1.4.0

    GitHub | 2 years ago | shisoft
    org.elasticsearch.indices.IndexCreationException: [wf] failed to create index
  2. 0

    GitHub comment 58#77293220

    GitHub | 2 years ago | wxlfight
    org.elasticsearch.indices.IndexCreationException: [twitter] failed to create index
  3. 0
    samebug tip
    Check if you didn't forget to instantiate your topic in the kafka broker.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.
  6. 0
    samebug tip
    If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add with the following: <groupId>com.fasterxml</groupId> <artifactId>classmate</artifactId> <version>1.0</version>

  1. osvzs 4 times, last 4 days ago
  2. olle.hallin 2 times, last 5 days ago
  3. rp 1 times, last 6 days ago
  4. Dunmer 1 times, last 2 weeks ago
  5. poroszd 1 times, last 2 weeks ago
78 more registered users
17 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.ClassNotFoundException

    org.apache.http.client.ClientProtocolException

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    2. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    3. java.security.AccessController.doPrivileged(Native Method)
    4. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    6. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    7. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    7 frames
  3. ElasticSearch
    IkTokenizerFactory.<init>
    1. org.elasticsearch.index.analysis.IkTokenizerFactory.<init>(IkTokenizerFactory.java:25)
    1 frame
  4. Java RT
    Constructor.newInstance
    1. sun.reflect.GeneratedConstructorAccessor7.newInstance(Unknown Source)
    2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    3. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    3 frames
  5. ElasticSearch
    FactoryProvider2.invoke
    1. org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:54)
    2. org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86)
    3. org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)
    4. org.elasticsearch.common.inject.FactoryProxy.get(FactoryProxy.java:52)
    5. org.elasticsearch.common.inject.InjectorImpl$5$1.call(InjectorImpl.java:781)
    6. org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:837)
    7. org.elasticsearch.common.inject.InjectorImpl$5.get(InjectorImpl.java:777)
    8. org.elasticsearch.common.inject.assistedinject.FactoryProvider2.invoke(FactoryProvider2.java:221)
    8 frames
  6. com.sun.proxy
    $Proxy16.create
    1. com.sun.proxy.$Proxy16.create(Unknown Source)
    1 frame
  7. ElasticSearch
    AnalysisService.<init>
    1. org.elasticsearch.index.analysis.AnalysisService.<init>(AnalysisService.java:82)
    1 frame
  8. Java RT
    Constructor.newInstance
    1. sun.reflect.GeneratedConstructorAccessor6.newInstance(Unknown Source)
    2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    3. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    3 frames
  9. ElasticSearch
    PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run
    1. org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:54)
    2. org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86)
    3. org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)
    4. org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
    5. org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:837)
    6. org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
    7. org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:57)
    8. org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)
    9. org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
    10. org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
    11. org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
    12. org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)
    13. org.elasticsearch.common.inject.FactoryProxy.get(FactoryProxy.java:52)
    14. org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
    15. org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:837)
    16. org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
    17. org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:57)
    18. org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)
    19. org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
    20. org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
    21. org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
    22. org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)
    23. org.elasticsearch.common.inject.FactoryProxy.get(FactoryProxy.java:52)
    24. org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
    25. org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:837)
    26. org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
    27. org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:57)
    28. org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)
    29. org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:200)
    30. org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:193)
    31. org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:830)
    32. org.elasticsearch.common.inject.InjectorBuilder.loadEagerSingletons(InjectorBuilder.java:193)
    33. org.elasticsearch.common.inject.InjectorBuilder.injectDynamically(InjectorBuilder.java:175)
    34. org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:110)
    35. org.elasticsearch.common.inject.InjectorImpl.createChildInjector(InjectorImpl.java:131)
    36. org.elasticsearch.common.inject.ModulesBuilder.createChildInjector(ModulesBuilder.java:69)
    37. org.elasticsearch.indices.InternalIndicesService.createIndex(InternalIndicesService.java:299)
    38. org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$2.execute(MetaDataCreateIndexService.java:382)
    39. org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:329)
    40. org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:153)
    40 frames
  10. 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