{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/17459","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/17459/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/17459/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/17459/events","html_url":"https://github.com/elastic/elasticsearch/issues/17459","id":145005781,"number":17459,"title":"Elasticsearch proxy error when setting script.disable_dynamic","user":{"login":"niemyjski","id":1020579,"avatar_url":"https://avatars.githubusercontent.com/u/1020579?v=3","gravatar_id":"","url":"https://api.github.com/users/niemyjski","html_url":"https://github.com/niemyjski","followers_url":"https://api.github.com/users/niemyjski/followers","following_url":"https://api.github.com/users/niemyjski/following{/other_user}","gists_url":"https://api.github.com/users/niemyjski/gists{/gist_id}","starred_url":"https://api.github.com/users/niemyjski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niemyjski/subscriptions","organizations_url":"https://api.github.com/users/niemyjski/orgs","repos_url":"https://api.github.com/users/niemyjski/repos","events_url":"https://api.github.com/users/niemyjski/events{/privacy}","received_events_url":"https://api.github.com/users/niemyjski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-31T20:15:34Z","updated_at":"2016-03-31T20:18:28Z","closed_at":null,"body":"**Elasticsearch version**: 2.3.0\r\n**JVM version**: 1.8 latest\r\n**OS version**: Windows 10 64bit\r\n\r\nI'm upgrading my app from 1.7.5 and my elasticsearch.yml file had `script.disable_dynamic: false` set. When trying to launch with this setting I get the following error:\r\n\r\n```sh\r\nC:\\elasticsearch.2.3\\bin>elasticsearch\r\n[2016-03-31 15:12:42,319][INFO ][node                     ] [ex-dev01] version[2.3.0], pid[6016], build[8371be8/2016-03-29T07:54:48Z]\r\n[2016-03-31 15:12:42,324][INFO ][node                     ] [ex-dev01] initializing ...\r\n[2016-03-31 15:12:42,801][INFO ][plugins                  ] [ex-dev01] modules [reindex, lang-expression, lang-groovy], plugins [license, marvel-agent, cloud-azure], sites []\r\n[2016-03-31 15:12:42,824][INFO ][env                      ] [ex-dev01] using [1] data paths, mounts [[(C:)]], net usable_space [175.6gb], net total_space [255.6gb], spins? [unknown], types [NTFS]\r\n[2016-03-31 15:12:42,830][INFO ][env                      ] [ex-dev01] heap size [910.5mb], compressed ordinary object pointers [true]\r\nException in thread \"main\" java.lang.IllegalStateException: This is a proxy used to support circular references involving constructors. The object we're proxying is not constructed yet. Please wait until after injection has completed to use this object.\r\n        at <<<guice>>>\r\n        at com.sun.proxy.$Proxy13.settings(Unknown Source)\r\n        at org.elasticsearch.client.FilterClient.<init>(FilterClient.java:41)\r\n        at org.elasticsearch.marvel.shield.SecuredClient.<init>(SecuredClient.java:38)\r\n        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\r\n        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n        at java.lang.reflect.Constructor.newInstance(Constructor.java:422)\r\n        at <<<guice>>>\r\n        at org.elasticsearch.node.Node.<init>(Node.java:213)\r\n        at org.elasticsearch.node.Node.<init>(Node.java:140)\r\n        at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:143)\r\n        at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:178)\r\n        at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:270)\r\n        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)\r\n\r\n```\r\n\r\nThis should be a better error message!"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/204107553","html_url":"https://github.com/elastic/elasticsearch/issues/17459#issuecomment-204107553","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/17459","id":204107553,"user":{"login":"niemyjski","id":1020579,"avatar_url":"https://avatars.githubusercontent.com/u/1020579?v=3","gravatar_id":"","url":"https://api.github.com/users/niemyjski","html_url":"https://github.com/niemyjski","followers_url":"https://api.github.com/users/niemyjski/followers","following_url":"https://api.github.com/users/niemyjski/following{/other_user}","gists_url":"https://api.github.com/users/niemyjski/gists{/gist_id}","starred_url":"https://api.github.com/users/niemyjski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niemyjski/subscriptions","organizations_url":"https://api.github.com/users/niemyjski/orgs","repos_url":"https://api.github.com/users/niemyjski/repos","events_url":"https://api.github.com/users/niemyjski/events{/privacy}","received_events_url":"https://api.github.com/users/niemyjski/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T20:18:28Z","updated_at":"2016-03-31T20:18:28Z","body":"I'm trying to find what this setting has been changed to. Ideas?"}}