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

Large query file closes on its own after cancelling job and switching tabs #7177

Open
ellbosch opened this issue Sep 11, 2019 · 0 comments
Open

Comments

@ellbosch
Copy link
Contributor

ADS alerts me with Unable to open 'file.sql - elbosc...elbosc)': Cannot read property 'length' of null. after switching back to a query file tab following the cancellation of a run. A 1 MB script file was used to produce the bug.

Particularly concerning is that ADS will close the file even if it is not saved. There is seemingly no way to restore the file.

Repro steps:

  1. Save a large (i.e. 1 MB) .sql file on a Windows desktop.
  2. Open the file in ADS.
  3. Click 'Run' after connecting to DB.
  4. Once job starts to run, click 'Cancel'.
  5. Switch or open to a new window.
  6. Switch back to the original file--file will close.

bug

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

No branches or pull requests

6 participants