Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Uncaught Error: Encountered an invalid scope end id. Popped -33, expected to pop -43. #7063

Closed

Description

@jrwiegand
  1. Open a *.jsp file in Atom editor.
  2. Delete the file in Finder (Mac OS X)

Atom Version: 0.204.0
System: Mac OS X 10.10.3
Thrown From: Atom Core

Stack Trace

Uncaught Error: Encountered an invalid scope end id. Popped -33, expected to pop -43.

At /opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:573

Error: Encountered an invalid scope end id. Popped -33, expected to pop -43.
    at TokenizedBuffer.module.exports.TokenizedBuffer.scopesFromTags (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:573:21)
    at TokenizedBuffer.module.exports.TokenizedBuffer.openScopesForRow (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:555:21)
    at TokenizedBuffer.module.exports.TokenizedBuffer.tokenizeNextChunk (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:286:105)
    at /opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:263:26
    at /opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/underscore-plus/node_modules/underscore/underscore.js:666:47

Commands

Config

{
  "core": {},
  "editor": {
    "invisibles": {},
    "fontFamily": "source code pro",
    "fontSize": 13
  }
}

Installed Packages

# User
No installed packages

# Dev
No dev packages

Activity

  1. izuzak commented on Jun 2, 2015

    @izuzak
    Contributor
  2. izuzak commented on Jun 9, 2015

    @izuzak
    Contributor

    @jrwiegand Can you still reproduce this problem in Atom 0.207.0? I just tried opening and deleting a jsp file as you described and wasn't able to trigger the exception. If you can still reproduce, could record a short GIF which demonstrates how you're reproducing this, and share a link to the file in question? Thanks!

  3. jrwiegand commented on Jun 10, 2015

    @jrwiegand
    Author

    Nope. I cannot seem to reproduce the error. I think there was a long time between opening the file, then deleting and then viewing it again. I am not entirely sure how this error occurred. I also tried various things like locking/sleeping the computer but I cannot seem to get it to happen again. If the error should happen I will be sure to watch more closely next time.

  4. nathansobo commented on Jun 10, 2015

    @nathansobo
    Contributor

    This is probably happening with a particular grammar in a particular situation. If it happens again, would love to know the grammar and the content of the file that triggers it. Thanks, and sorry for the exception.

  5. jrwiegand commented on Jun 10, 2015

    @jrwiegand
    Author

    No problem. Thanks you for the quick response. Really enjoying the project. Should I just close this thing?

  6. nathansobo commented on Jun 10, 2015

    @nathansobo
    Contributor

    It should definitely stay open since this bug is still lurking in the darkness somewhere.

  7. jrwiegand commented on Jun 10, 2015

    @jrwiegand
    Author

    "Night gathers, and now my watch begins..." ;-)

  8. nathansobo commented on Jul 1, 2015

    @nathansobo
    Contributor

    @jrwiegand Seen this again?

  9. jrwiegand commented on Jul 1, 2015

    @jrwiegand
    Author

    @nathansobo I have not seen a thing. Very weird. I am really liking the 1.0 release though.

  10. nathansobo commented on Jul 1, 2015

    @nathansobo
    Contributor

    🙇 Thanks!

  11. lock commented on Jan 21, 2019

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  12. locked as resolved and limited conversation to collaborators on Jan 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions