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

Cannot read properties of undefined (reading 'getData') #58

Open
krishnagogada opened this issue Jun 2, 2022 · 0 comments
Open

Cannot read properties of undefined (reading 'getData') #58

krishnagogada opened this issue Jun 2, 2022 · 0 comments

Comments

@krishnagogada
Copy link

krishnagogada commented Jun 2, 2022

We got an error from the sentry as Cannot read properties of undefined (reading 'getData')

Here is the trace of the error

TypeError: Cannot read properties of undefined (reading 'getData')
  function popupSelectionChanged() {
                  closeAllTips() //remove(tooltip); //using close all , but its slower, comeback and remove single if its working right
                  var data = editor.completer.popup.getData(
                     editor.completer.popup.getRow()
                  )
  at ? (/website/ace-builds-cdn/src-noconflict/ext-tern-v2.js:2523:19)
  at ? (/website/ace-builds-cdn/src-noconflict/ext-tern-v2.js:2109:16)
  at ? (/website/ace-builds-cdn/src-noconflict/worker-tern.js:6162:18)
  at run(/website/ace-builds-cdn/src-noconflict/worker-tern.js:6232:18)
  at Object.exports.withTimeout(/website/ace-builds-cdn/src-noconflict/worker-tern.js:8598:21)
  at ? (/website/ace-builds-cdn/src-noconflict/worker-tern.js:6235:24)
  at Object.exports.withContext(/website/ace-builds-cdn/src-noconflict/worker-tern.js:8577:21)
  at ? (/website/ace-builds-cdn/src-noconflict/worker-tern.js:6234:20)
  at analyzeAll(/website/ace-builds-cdn/src-noconflict/worker-tern.js:6367:20)

We tried to reproduce the issue, but we didn't get the error.

This issue is reported in sentry when user clicks on div.ace_scroller > div.ace_content.

In which case editor.completer.popup will be null?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant