eclipse-theia / theia

Eclipse Theia is a cloud & desktop IDE framework implemented in TypeScript.
http://theia-ide.org
Eclipse Public License 2.0
19.9k stars 2.49k forks source link

Error: unknown document at DocumentsExtImpl.$acceptDirtyStateChanged on app start #12441

Open kittaakos opened 1 year ago

kittaakos commented 1 year ago

Bug Description:

After updating downstream to Theia 1.37.0-next.19, I see this error in the logs. It also happens with Theia Blueprint Version 1.36.0 (1.36.0.102) and starting the electron example app from the sources (b206d89a7). Does anybody know whether this is harmful?

Uncaught (in promise) Error: unknown document
    at DocumentsExtImpl.$acceptDirtyStateChanged (/Users/a.kitta/dev/g…documents.js:139:19)
    at DocumentsExtImpl.$acceptModelSaved (/Users/a.kitta/dev/g…/documents.js:73:14)
    at /Users/a.kitta/dev/g…xy-handler.js:91:71
    at process.processTicksAndRejections (VM33 task_queues:96:5)
    at async RpcProtocol.handleRequest (/Users/a.kitta/dev/g…-protocol.js:167:28)

I did not find a current issue with the same error.

Steps to Reproduce:

  1. Start Theia from the sources, the Blueprint app, or your downstream project depending on 1.37.0-next.19.

Additional Information

kittaakos commented 9 months ago

Related: https://github.com/eclipse-theia/theia/issues/13172