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

After this exception is thrown server needs to be restarted #2

Open
adam-singer opened this issue Nov 19, 2012 · 1 comment
Open

After this exception is thrown server needs to be restarted #2

adam-singer opened this issue Nov 19, 2012 · 1 comment

Comments

@adam-singer
Copy link
Contributor

I'll try to reproduce this, but after this exception hits the server does not allow anymore operations to be done, it will reload the text area with the previous text, but all operations silently fail.

s->c(0) {"v":285}
c->s {"v":284,"op":[{"p":288,"i":"me"}]}
s->c(1) {"error":"Exception: Delete component ' y' does not match deleted text 'me'"}
closed with 1002 for Protocol error
c->s {"v":286,"op":[{"p":389,"d":"a"}]}

Anything I could do that would help debug this kind of problem?

@nelsonsilva
Copy link
Owner

@financecoding I haven't been able to reproduce this bug. Can you provide me a sequence that reaches this exception ?
Is this error produced in the server or in the client ?
In the meantime I added an exception handler to the text area so that if any exception is thrown is simply logs the error and returns the text area to the previous state. So if this error happens in the client hopefully it will keep working.

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

2 participants