java.lang.IllegalArgumentException: could not reload remote synonyms file to build synonyms

GitHub | adonis2014 | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    远程http服务挂了,ES搜索查询异常

    GitHub | 7 months ago | adonis2014
    java.lang.IllegalArgumentException: could not reload remote synonyms file to build synonyms

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      IOException while reading remote synonyms file

      at com.bellszhu.elasticsearch.plugin.synonym.analysis.RemoteSynonymFile.getReader()
    2. com.bellszhu.elasticsearch
      DynamicSynonymTokenFilterFactory.<init>
      1. com.bellszhu.elasticsearch.plugin.synonym.analysis.RemoteSynonymFile.getReader(RemoteSynonymFile.java:128)
      2. com.bellszhu.elasticsearch.plugin.synonym.analysis.RemoteSynonymFile.reloadSynonymMap(RemoteSynonymFile.java:67)
      3. com.bellszhu.elasticsearch.plugin.synonym.analysis.DynamicSynonymTokenFilterFactory.<init>(DynamicSynonymTokenFilterFactory.java:120)
      3 frames
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.GeneratedConstructorAccessor32.newInstance(Unknown Source)
      2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      3. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
      3 frames
    4. ElasticSearch
      FactoryProvider2.invoke
      1. org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:50)
      2. org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86)
      3. org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)
      4. org.elasticsearch.common.inject.FactoryProxy.get(FactoryProxy.java:54)
      5. org.elasticsearch.common.inject.InjectorImpl$4$1.call(InjectorImpl.java:823)
      6. org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:886)
      7. org.elasticsearch.common.inject.InjectorImpl$4.get(InjectorImpl.java:818)
      8. org.elasticsearch.common.inject.assistedinject.FactoryProvider2.invoke(FactoryProvider2.java:236)
      8 frames
    5. com.sun.proxy
      $Proxy15.create
      1. com.sun.proxy.$Proxy15.create(Unknown Source)
      1 frame
    6. ElasticSearch
      AnalysisService.<init>
      1. org.elasticsearch.index.analysis.AnalysisService.<init>(AnalysisService.java:151)
      2. org.elasticsearch.index.analysis.AnalysisService.<init>(AnalysisService.java:70)
      2 frames
    7. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
      4 frames
    8. ElasticSearch
      PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run
      1. org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:50)
      2. org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86)
      3. org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)
      4. org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47)
      5. org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:886)
      6. org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)
      7. org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:59)
      8. org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:46)
      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:104)
      13. org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47)
      14. org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:886)
      15. org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)
      16. org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:59)
      17. org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:46)
      18. org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
      19. org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
      20. org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
      21. org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)
      22. org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47)
      23. org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:886)
      24. org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)
      25. org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:59)
      26. org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:46)
      27. org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:201)
      28. org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:193)
      29. org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:879)
      30. org.elasticsearch.common.inject.InjectorBuilder.loadEagerSingletons(InjectorBuilder.java:193)
      31. org.elasticsearch.common.inject.InjectorBuilder.injectDynamically(InjectorBuilder.java:175)
      32. org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:110)
      33. org.elasticsearch.common.inject.InjectorImpl.createChildInjector(InjectorImpl.java:157)
      34. org.elasticsearch.common.inject.ModulesBuilder.createChildInjector(ModulesBuilder.java:55)
      35. org.elasticsearch.indices.IndicesService.createIndex(IndicesService.java:358)
      36. org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:309)
      37. org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:45)
      38. org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:468)
      39. org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:772)
      40. org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231)
      41. org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)
      41 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames