{"action":"created","issue":{"url":"https://api.github.com/repos/medcl/elasticsearch-analysis-mmseg/issues/13","labels_url":"https://api.github.com/repos/medcl/elasticsearch-analysis-mmseg/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/medcl/elasticsearch-analysis-mmseg/issues/13/comments","events_url":"https://api.github.com/repos/medcl/elasticsearch-analysis-mmseg/issues/13/events","html_url":"https://github.com/medcl/elasticsearch-analysis-mmseg/issues/13","id":92587717,"number":13,"title":"cannot create index in elasticsearch-1.6.0 with mmseg plugin installed.","user":{"login":"foresightyj","id":1296736,"avatar_url":"https://avatars.githubusercontent.com/u/1296736?v=3","gravatar_id":"","url":"https://api.github.com/users/foresightyj","html_url":"https://github.com/foresightyj","followers_url":"https://api.github.com/users/foresightyj/followers","following_url":"https://api.github.com/users/foresightyj/following{/other_user}","gists_url":"https://api.github.com/users/foresightyj/gists{/gist_id}","starred_url":"https://api.github.com/users/foresightyj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foresightyj/subscriptions","organizations_url":"https://api.github.com/users/foresightyj/orgs","repos_url":"https://api.github.com/users/foresightyj/repos","events_url":"https://api.github.com/users/foresightyj/events{/privacy}","received_events_url":"https://api.github.com/users/foresightyj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-07-02T09:01:56Z","updated_at":"2015-10-31T15:14:57Z","closed_at":"2015-10-31T15:14:57Z","body":"I used the mmseg plugin with elasticsearch-1.5.2 for the past few months without any problems. I upgraded to elasticsearch-1.6.0 and now I have a problem with mmseg plugin.\r\n\r\n    PUT /blogs\r\n    {\r\n      \"settings\": {\r\n        \"number_of_shards\": 3,\r\n        \"number_of_replicas\": 1\r\n      }\r\n    }\r\n\r\n    {\r\n       \"error\": \"IndexCreationException[[blogs] failed to create index]; nested: NullPointerException; \",\r\n       \"status\": 500\r\n    }\r\n\r\nHere is the exception in elasticsearch.log:\r\n\r\n    [2015-07-02 16:55:20,603][DEBUG][action.admin.indices.create] [Micro] [blogs] failed to create\r\n    org.elasticsearch.indices.IndexCreationException: [blogs] failed to create index\r\n        at org.elasticsearch.indices.IndicesService.createIndex(IndicesService.java:338)\r\n        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$2.execute(MetaDataCreateIndexService.java:371)\r\n        at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:374)\r\n        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:188)\r\n        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:158)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\r\n        at java.lang.Thread.run(Unknown Source)\r\n    Caused by: java.lang.NullPointerException\r\n        at com.chenlb.mmseg4j.Dictionary.loadDic(Dictionary.java:160)\r\n        at com.chenlb.mmseg4j.Dictionary.reload(Dictionary.java:364)\r\n        at com.chenlb.mmseg4j.Dictionary.init(Dictionary.java:130)\r\n        at com.chenlb.mmseg4j.Dictionary.<init>(Dictionary.java:123)\r\n        at com.chenlb.mmseg4j.Dictionary.getInstance(Dictionary.java:74)\r\n        at com.chenlb.mmseg4j.Dictionary.getInstance(Dictionary.java:63)\r\n        at org.elasticsearch.index.analysis.MMsegTokenizerFactory.<init>(MMsegTokenizerFactory.java:31)\r\n        at sun.reflect.GeneratedConstructorAccessor8.newInstance(Unknown Source)\r\n        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)\r\n        at java.lang.reflect.Constructor.newInstance(Unknown Source)\r\n        at org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:54)\r\n        at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86)\r\n        at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)\r\n        at org.elasticsearch.common.inject.FactoryProxy.get(FactoryProxy.java:52)\r\n        at org.elasticsearch.common.inject.InjectorImpl$5$1.call(InjectorImpl.java:781)\r\n        at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:837)\r\n        at org.elasticsearch.common.inject.InjectorImpl$5.get(InjectorImpl.java:777)\r\n        at org.elasticsearch.common.inject.assistedinject.FactoryProvider2.invoke(FactoryProvider2.java:221)\r\n        at com.sun.proxy.$Proxy16.create(Unknown Source)\r\n        at org.elasticsearch.index.analysis.AnalysisService.<init>(AnalysisService.java:82)\r\n        at sun.reflect.GeneratedConstructorAccessor7.newInstance(Unknown Source)\r\n        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)\r\n        at java.lang.reflect.Constructor.newInstance(Unknown Source)\r\n        at org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:54)\r\n        at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86)\r\n        at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)\r\n        at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)\r\n        at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:837)\r\n        at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)\r\n        at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:57)\r\n        at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)\r\n        at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)\r\n        at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)\r\n        at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)\r\n        at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)\r\n        at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)\r\n        at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:837)\r\n        at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)\r\n        at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:57)\r\n        at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)\r\n        at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)\r\n        at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)\r\n        at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)\r\n        at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)\r\n        at org.elasticsearch.common.inject.FactoryProxy.get(FactoryProxy.java:52)\r\n        at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)\r\n        at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:837)\r\n        at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)\r\n        at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:57)\r\n        at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)\r\n        at org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:200)\r\n        at org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:193)\r\n        at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:830)\r\n        at org.elasticsearch.common.inject.InjectorBuilder.loadEagerSingletons(InjectorBuilder.java:193)\r\n        at org.elasticsearch.common.inject.InjectorBuilder.injectDynamically(InjectorBuilder.java:175)\r\n        at org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:110)\r\n        at org.elasticsearch.common.inject.InjectorImpl.createChildInjector(InjectorImpl.java:131)\r\n        at org.elasticsearch.common.inject.ModulesBuilder.createChildInjector(ModulesBuilder.java:69)\r\n        at org.elasticsearch.indices.IndicesService.createIndex(IndicesService.java:336)\r\n        ... 7 more\r\n\r\nHope you can take a look at the problem. Thanks again for the great plugin!"},"comment":{"url":"https://api.github.com/repos/medcl/elasticsearch-analysis-mmseg/issues/comments/152741926","html_url":"https://github.com/medcl/elasticsearch-analysis-mmseg/issues/13#issuecomment-152741926","issue_url":"https://api.github.com/repos/medcl/elasticsearch-analysis-mmseg/issues/13","id":152741926,"user":{"login":"medcl","id":64487,"avatar_url":"https://avatars.githubusercontent.com/u/64487?v=3","gravatar_id":"","url":"https://api.github.com/users/medcl","html_url":"https://github.com/medcl","followers_url":"https://api.github.com/users/medcl/followers","following_url":"https://api.github.com/users/medcl/following{/other_user}","gists_url":"https://api.github.com/users/medcl/gists{/gist_id}","starred_url":"https://api.github.com/users/medcl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/medcl/subscriptions","organizations_url":"https://api.github.com/users/medcl/orgs","repos_url":"https://api.github.com/users/medcl/repos","events_url":"https://api.github.com/users/medcl/events{/privacy}","received_events_url":"https://api.github.com/users/medcl/received_events","type":"User","site_admin":false},"created_at":"2015-10-31T15:14:57Z","updated_at":"2015-10-31T15:14:57Z","body":"already fix,issue cleared"}}