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

SubDiagram example not loading anymore #1003

Open
alexanderpann opened this issue Nov 5, 2024 · 0 comments
Open

SubDiagram example not loading anymore #1003

alexanderpann opened this issue Nov 5, 2024 · 0 comments

Comments

@alexanderpann
Copy link
Collaborator

One of the last diagram PRs probably broke it:

java.lang.NullPointerException: Cannot invoke "de.itemis.mps.editor.diagram.runtime.jgraph.MyGraph.getRootDiagramModel()" because the return value of "de.itemis.mps.editor.diagram.runtime.jgraph.DiagramCreationContext.getRootGraph()" is null
	at d.i.m.e.diagram.demolang//de.itemis.mps.editor.diagram.demolang.editor.SubComponent_EditorBuilder_a.lambda$createDiagramNode_0$0(SubComponent_EditorBuilder_a.java:102)
	at d.i.m.e.diagram.runtime//de.itemis.mps.editor.diagram.runtime.ContextVariables.lambda$withValue$0(ContextVariables.java:39)
	at d.i.m.e.diagram.runtime//de.itemis.mps.editor.diagram.runtime.ContextVariables.enterNewContext(ContextVariables.java:30)
	at d.i.m.e.diagram.runtime//de.itemis.mps.editor.diagram.runtime.ContextVariables.withValue(ContextVariables.java:37)
	at d.i.m.e.diagram.demolang//de.itemis.mps.editor.diagram.demolang.editor.SubComponent_EditorBuilder_a.createDiagramNode_0(SubComponent_EditorBuilder_a.java:62)
	at d.i.m.e.diagram.demolang//de.itemis.mps.editor.diagram.demolang.editor.SubComponent_EditorBuilder_a.createDiagramNode_1(SubComponent_EditorBuilder_a.java:109)
	at d.i.m.e.diagram.demolang//de.itemis.mps.editor.diagram.demolang.editor.SubComponent_EditorBuilder_a.createCell(SubComponent_EditorBuilder_a.java:55)
	at d.i.m.e.diagram.demolang//de.itemis.mps.editor.diagram.demolang.editor.SubComponent_Editor.createEditorCell(SubComponent_Editor.java:12)
	at jetbrains.mps.nodeEditor.cells.EditorCellFactoryImpl.createCell(EditorCellFactoryImpl.java:136)
	at jetbrains.mps.nodeEditor.cells.EditorCellFactoryImpl.createEditorCell_internal(EditorCellFactoryImpl.java:102)
	at jetbrains.mps.nodeEditor.cells.EditorCellFactoryImpl.createEditorCell(EditorCellFactoryImpl.java:89)
	at jetbrains.mps.nodeEditor.EditorManager.createEditorCell_internal(EditorManager.java:370)
	at jetbrains.mps.nodeEditor.EditorManager.createEditorCell(EditorManager.java:260)
	at jetbrains.mps.nodeEditor.EditorManager.createRootCell(EditorManager.java:114)
	at jetbrains.mps.nodeEditor.updater.UpdateSessionImpl.performUpdate(UpdateSessionImpl.java:157)
	at jetbrains.mps.nodeEditor.updater.UpdaterImpl.lambda$updateRootCell$0(UpdaterImpl.java:133)
	at 
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

1 participant