elastic / elasticsearch-migration

This plugin will help you to check whether you can upgrade directly to the next major version of Elasticsearch, or whether you need to make changes to your data and cluster before doing so.
290 stars 32 forks source link

Cannot read property '0' of null Error when selecting Ignore Closed indices option #35

Closed russorat closed 8 years ago

russorat commented 8 years ago

Works fine when the box is unchecked.

elasticsearch_migration_checker_v0_14
clintongormley commented 8 years ago

@russorat What browser are you using? Could you try again with the console window open, and paste the contents into a comment here please?

walkeran commented 8 years ago

Also happening to me -- using Chrome. Can confirm that it's only when checking "Ignore closed indices".

Unhandled rejection TypeError: Cannot read property '0' of null
    at Object.get_key (http://myhost:9200/_plugin/migration/js/registry.js:31:36)
    at http://myhost:9200/_plugin/migration/js/main.js:86:22
    at forall (http://myhost:9200/_plugin/migration/js/main.js:6:17)
    at check_indices (http://myhost:9200/_plugin/migration/js/main.js:72:7)
    at n (http://myhost:9200/_plugin/migration/js/bluebird/bluebird.min.js:31:354)
    at e._settlePromiseFromHandler (http://myhost:9200/_plugin/migration/js/bluebird/bluebird.min.js:30:5642)
    at e._settlePromiseAt (http://myhost:9200/_plugin/migration/js/bluebird/bluebird.min.js:30:6911)
    at e._settlePromises (http://myhost:9200/_plugin/migration/js/bluebird/bluebird.min.js:30:8776)
    at r._drainQueue (http://myhost:9200/_plugin/migration/js/bluebird/bluebird.min.js:29:3690)
    at r._drainQueues (http://myhost:9200/_plugin/migration/js/bluebird/bluebird.min.js:29:3751)
    at MutationObserver.drainQueues (http://myhost:9200/_plugin/migration/js/bluebird/bluebird.min.js:29:1182)
bstascavage commented 8 years ago

I also have encountered this while using Chrome

clintongormley commented 8 years ago

Closed by https://github.com/elastic/elasticsearch-migration/commit/156929b5ba9432e161362abdf62c448046867c76