phetsims / paper-land

Build and explore multimodal web interactives with pieces of paper!
https://phetsims.github.io/paper-land/
MIT License
19 stars 3 forks source link

"Model is disposed!" error #257

Open jessegreenberg opened 5 months ago

jessegreenberg commented 5 months ago

This error appeared while using Creator today. We think it could be because we deleted a dependency that was referred to somewhere.

Here is the end of the log:

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
logCapturedError @ react-dom.development.js:19527
Show 1 more frame
Show less
editor.main.js:31 Error: Model is disposed!
    at e._assertNotDisposed (editor.main.js:31:708700)
    at e.getVersionId (editor.main.js:31:710631)
    at new e (editor.main.js:31:784603)
    at t._emitStateChangedIfNecessary (editor.main.js:31:789523)
    at t.trigger (editor.main.js:31:791180)
    at t.executeCommands (editor.main.js:31:1091106)
    at e.DeleteLeft.u.registerEditorCommand.t.runEditorCommand (editor.main.js:31:1122516)
    at editor.main.js:31:1076282
    at t.invokeFunction (editor.main.js:31:974066)
    at t.invokeWithinContext (editor.main.js:31:1082411)
e.show @ editor.main.js:31
editor.main.js:31 Uncaught Error: Could not find component with name arrowChange

Error: Could not find component with name arrowChange
    at findDependency (CreateDerivedForm.js:52:13)
    at eval (CreateDerivedForm.js:74:67)
    at Array.map (<anonymous>)
    at CreateDerivedForm (CreateDerivedForm.js:74:55)
    at renderWithHooks (react-dom.development.js:14803:18)
    at updateFunctionComponent (react-dom.development.js:17034:20)
    at beginWork (react-dom.development.js:18610:16)
    at HTMLUnknownElement.callCallback (react-dom.development.js:188:14)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:237:16)
    at invokeGuardedCallback (react-dom.development.js:292:31)
    at editor.main.js:31:59100
editor.main.js:31 Uncaught Error: Model is disposed!

Error: Model is disposed!
    at e._assertNotDisposed (editor.main.js:31:708700)
    at e.validateRange (editor.main.js:31:718633)
    at e._setState (editor.main.js:31:771838)
    at e.setState (editor.main.js:31:771762)
    at e.setStates (editor.main.js:31:775501)
    at e.setSelections (editor.main.js:31:775305)
    at t._interpretCommandResult (editor.main.js:31:789415)
    at t._executeEditOperation (editor.main.js:31:789216)
    at t._externalExecuteCommands (editor.main.js:31:792526)
    at t.trigger (editor.main.js:31:791094)
    at editor.main.js:31:59100