Accessing disposed model: Exceptions
Hi there,
I´m encountering several "IllegalModelAccessError: accessing disposed model" Exceptions when building my languages. I´m not aware of using "Disposed Models" and I can’t figure out which model I’m using is disposed.
Furthermore I’m not quite sure if it’s intended, that MPS is throwing about 10.000 of these Exceptions per Build.
Best regards,
Simon
I´m encountering several "IllegalModelAccessError: accessing disposed model" Exceptions when building my languages. I´m not aware of using "Disposed Models" and I can’t figure out which model I’m using is disposed.
Furthermore I’m not quite sure if it’s intended, that MPS is throwing about 10.000 of these Exceptions per Build.
[15426999] ERROR - jetbrains.mps.smodel.SModel - jetbrains.mps.smodel.IllegalModelAccessError :accessing disposed model jetbrains.mps.smodel.IllegalModelAccessError: accessing disposed model at jetbrains.mps.smodel.SModel.checkNotDisposed(SModel.java:950) at jetbrains.mps.smodel.SModel.getNodeById(SModel.java:464) at jetbrains.mps.vcs.diff.DiffBuilder.collectChanges(DiffBuilder.java:65) at jetbrains.mps.vcs.diff.DiffBuilder.<init>(DiffBuilder.java:56) at jetbrains.mps.vcs.changesmanager.ModelChangesManager$9.run(ModelChangesManager.java:637) at jetbrains.mps.ide.smodel.WorkbenchModelAccess$1.run(WorkbenchModelAccess.java:80) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:770) at jetbrains.mps.ide.smodel.WorkbenchModelAccess.runReadAction(WorkbenchModelAccess.java:76) at jetbrains.mps.vcs.changesmanager.ModelChangesManager.update(ModelChangesManager.java:635) at jetbrains.mps.vcs.changesmanager.ModelChangesManager.access$1600(ModelChangesManager.java:84) at jetbrains.mps.vcs.changesmanager.ModelChangesManager$10.run(ModelChangesManager.java:678) at jetbrains.mps.vcs.changesmanager.SimpleCommandQueue.runTask(SimpleCommandQueue.java:25) at jetbrains.mps.vcs.changesmanager.ModelChangesManager.setEnabled(ModelChangesManager.java:669) at jetbrains.mps.vcs.changesmanager.ProjectTreeChangesHighlighter$3.run(ProjectTreeChangesHighlighter.java:144) at jetbrains.mps.vcs.changesmanager.SimpleCommandQueue$MyExecutorThread.run(SimpleCommandQueue.java:78)
Best regards,
Simon
3 comments
Sort by
Date
Votes
This's MPS bug, see MPS-13984
Ah ok, thank you. I should have checked youtrack first for this.
We are going to release 2.0.1 in a short time (the next week or so). All this annoying stuff is fixed in there.
Please sign in to leave a comment.