{"action":"created","issue":{"url":"https://api.github.com/repos/medcl/elasticsearch-analysis-ik/issues/83","labels_url":"https://api.github.com/repos/medcl/elasticsearch-analysis-ik/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/medcl/elasticsearch-analysis-ik/issues/83/comments","events_url":"https://api.github.com/repos/medcl/elasticsearch-analysis-ik/issues/83/events","html_url":"https://github.com/medcl/elasticsearch-analysis-ik/issues/83","id":99368449,"number":83,"title":"关于热词更新 return bad code 405","user":{"login":"starckgates","id":12822162,"avatar_url":"https://avatars.githubusercontent.com/u/12822162?v=3","gravatar_id":"","url":"https://api.github.com/users/starckgates","html_url":"https://github.com/starckgates","followers_url":"https://api.github.com/users/starckgates/followers","following_url":"https://api.github.com/users/starckgates/following{/other_user}","gists_url":"https://api.github.com/users/starckgates/gists{/gist_id}","starred_url":"https://api.github.com/users/starckgates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starckgates/subscriptions","organizations_url":"https://api.github.com/users/starckgates/orgs","repos_url":"https://api.github.com/users/starckgates/repos","events_url":"https://api.github.com/users/starckgates/events{/privacy}","received_events_url":"https://api.github.com/users/starckgates/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-08-06T06:35:51Z","updated_at":"2015-08-07T02:56:49Z","closed_at":null,"body":"------------------------------------------------------\r\n错误提示    Elasticsearch版本 1.6.0  ik 对应版本\r\n===================================\r\n[2015-08-06 14:31:11,567][INFO ][ik-analyzer              ] remote_ext_dict http://localhost:8000/api/Dict/getCustomDict/ return bad code 405\r\n------------------------------------------------------\r\ncurl里第一次执行返回值：\r\n===================================\r\nC:\\Windows\\system32>curl -i http://localhost:8000/api/Dict/getCustomDict/\r\nHTTP/1.1 200 OK\r\nCache-Control: public\r\nContent-Length: 12\r\nContent-Type: text/html\r\nLast-Modified: Thu, 06 Aug 2015 03:29:17 GMT\r\nETag: \"2e7541aa8c6e5a2681adf19c007bc3d9\"\r\nServer: Microsoft-IIS/8.0\r\nX-AspNet-Version: 4.0.30319\r\nX-Powered-By: ASP.NET\r\nDate: Thu, 06 Aug 2015 06:22:37 GMT\r\n\r\nmedcl\r\n浣?\r\n-----------------------------------------------------------\r\ncurl里第二次执行返回值\r\n=====================================\r\nC:\\Windows\\system32>curl -i http://localhost:8000/api/Dict/getCustomDict/\r\nHTTP/1.1 200 OK\r\nCache-Control: public\r\nContent-Length: 71\r\nContent-Type: text/html\r\nLast-Modified: Thu, 06 Aug 2015 06:25:45 GMT\r\nETag: \"91fb16762ac5ce1dee59a127f23daaf8\"\r\nServer: Microsoft-IIS/8.0\r\nX-AspNet-Version: 4.0.30319\r\nX-Powered-By: ASP.NET\r\nDate: Thu, 06 Aug 2015 06:26:06 GMT\r\n\r\nmedcl\r\n浣?\r\nmedcl\r\n浣?\r\n鍗撳垱\r\n鍗撳垱璧勮\r\n鏀剁洏\r\n鏀剁洏浠?\r\n纾烽吀\r\n------------------------------------------------------------\r\n请问是哪里有问题的呢？\r\nPlease told me where is the problem?Thank YOU！\r\n另外，为什么中文显示的是乱码，读取的文件是utf-8格式。\r\n"},"comment":{"url":"https://api.github.com/repos/medcl/elasticsearch-analysis-ik/issues/comments/128572926","html_url":"https://github.com/medcl/elasticsearch-analysis-ik/issues/83#issuecomment-128572926","issue_url":"https://api.github.com/repos/medcl/elasticsearch-analysis-ik/issues/83","id":128572926,"user":{"login":"starckgates","id":12822162,"avatar_url":"https://avatars.githubusercontent.com/u/12822162?v=3","gravatar_id":"","url":"https://api.github.com/users/starckgates","html_url":"https://github.com/starckgates","followers_url":"https://api.github.com/users/starckgates/followers","following_url":"https://api.github.com/users/starckgates/following{/other_user}","gists_url":"https://api.github.com/users/starckgates/gists{/gist_id}","starred_url":"https://api.github.com/users/starckgates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starckgates/subscriptions","organizations_url":"https://api.github.com/users/starckgates/orgs","repos_url":"https://api.github.com/users/starckgates/repos","events_url":"https://api.github.com/users/starckgates/events{/privacy}","received_events_url":"https://api.github.com/users/starckgates/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T02:56:49Z","updated_at":"2015-08-07T02:56:49Z","body":"成功加载了两次后出现了下面的错误\r\n\r\n----------\r\n\r\n[2015-08-07 10:55:10,564][ERROR][ik-analyzer              ] remote_ext_dict http://localhost:8000/api/Dict/getCustomDict/ error!\r\njava.lang.NullPointerException\r\n        at org.wltea.analyzer.dic.Monitor.run(Monitor.java:67)\r\n        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)\r\n        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)\r\n        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n        at java.lang.Thread.run(Thread.java:745)"}}