Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot read property 'promise' of undefined found on Sense #9753

Closed
rashmivkulkarni opened this issue Jan 5, 2017 · 2 comments
Labels
bug Fixes for quality problems that affect the customer experience

Comments

@rashmivkulkarni
Copy link
Contributor

Kibana version: 4.6.4 also verified the same issue is happening on master as well.

Elasticsearch version: 2.4.4

Server OS version: OSX

Browser version: Chrome
Original install method (e.g. download page, yum, from source, etc.): installed the builds from the dev ticket

Description of the problem including expected versus actual behavior: Uncaught TypeError: Cannot read property 'promise' of undefined is found when you execute the API which allows to check for the existence of a document using HEAD.

Steps to reproduce:

  1. Index a document into ES. For ex:
PUT twitter/tweet/1
{
    "user" : "kimchy",
    "post_date" : "2009-11-15T14:12:12",
    "message" : "trying out Elasticsearch"
}
  1. Now, execute the HEAD command HEAD twitter/tweet/1`

  2. Upon execution, you see the following error

Uncaught TypeError: Cannot read property 'promise' of undefined - Console Error

    at window.onerror (:5601/jib/bundles/commons.bundle.js?v=8467:97105)
Notifier._showFatal @ :5601/jib/bundles/commons.bundle.js?v=8467:94490
:5601/jib/bundles/kibana.bundle.js?v=8467:209595 Uncaught TypeError: Cannot read property 'promise' of undefined
    at Object.<anonymous> (:5601/jib/bundles/kibana.bundle.js?v=8467:209595)
    at fire (:5601/jib/bundles/commons.bundle.js?v=8467:15618)
    at Object.fireWith [as resolveWith] (:5601/jib/bundles/commons.bundle.js?v=8467:15730)
    at Object.$.ajax.then.jqXHR.responseText (:5601/jib/bundles/kibana.bundle.js?v=8467:211515)
    at Object.<anonymous> (:5601/jib/bundles/commons.bundle.js?v=8467:15775)
    at fire (:5601/jib/bundles/commons.bundle.js?v=8467:15618)
    at Object.fireWith [as resolveWith] (:5601/jib/bundles/commons.bundle.js?v=8467:15730)
    at done (:5601/jib/bundles/commons.bundle.js?v=8467:20783)
    at XMLHttpRequest.<anonymous> (:5601/jib/bundles/commons.bundle.js?v=8467:21124)
:5601/jib/bundles/commons.bundle.js?v=8467:94454 Uncaught Error: Uncaught TypeError: Cannot read property 'promise' of undefined (https://localhost:5601/jib/bundles/kibana.bundle.js?v=8467:209595)
    at window.onerror (:5601/jib/bundles/commons.bundle.js?v=8467:97105)

screen shot 2017-01-05 at 11 20 56 am

cc/ @LeeDr @epixa

@rashmivkulkarni rashmivkulkarni added bug Fixes for quality problems that affect the customer experience v4.6.4 labels Jan 5, 2017
@rashmivkulkarni
Copy link
Contributor Author

oops, sorry, filing the same in sense repo

@LeeDr
Copy link

LeeDr commented Jan 5, 2017

duplicate of #9141

@epixa epixa removed the v4.6.4 label Jan 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience
Projects
None yet
Development

No branches or pull requests

3 participants