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

Subdiagrams not supported in box query #867

Closed
alexanderpann opened this issue Jun 20, 2024 · 0 comments
Closed

Subdiagrams not supported in box query #867

alexanderpann opened this issue Jun 20, 2024 · 0 comments

Comments

@alexanderpann
Copy link
Collaborator

with such stacktrace: java.lang.NullPointerException: Cannot invoke "de.itemis.mps.editor.diagram.runtime.jgraph.RootDiagramECell.getGraph()" because the return value of "de.itemis.mps.editor.diagram.runtime.jgraph.BaseDiagramECell.getRootDiagramCell()" is null
	at de.itemis.mps.editor.diagram.runtime.jgraph.BaseDiagramECell.getContextGraph(BaseDiagramECell.java:111)
	at com.cso.enabler.arch.components.fcd.editor.DiagramTest_EditorBuilder_a$Inline_Builder_677gr7_a0a.lambda$createDiagram_2$1(DiagramTest_EditorBuilder_a.java:261)
	at de.itemis.mps.editor.diagram.runtime.ContextVariables.lambda$withValue$0(ContextVariables.java:39)
	at de.itemis.mps.editor.diagram.runtime.ContextVariables.enterNewContext(ContextVariables.java:30)
	at de.itemis.mps.editor.diagram.runtime.ContextVariables.withValue(ContextVariables.java:37)
	at com.cso.enabler.arch.components.fcd.editor.DiagramTest_EditorBuilder_a$Inline_Builder_677gr7_a0a.lambda$createDiagram_2$2(DiagramTest_EditorBuilder_a.java:208)
	at de.itemis.mps.editor.diagram.runtime.DiagramContext.withContext(DiagramContext.java:29)
	at de.itemis.mps.editor.diagram.runtime.DiagramContext.withContext(DiagramContext.java:44)
	at com.cso.enabler.arch.components.fcd.editor.DiagramTest_EditorBuilder_a$Inline_Builder_677gr7_a0a.lambda$createDiagram_2$3(DiagramTest_EditorBuilder_a.java:207)
	at de.itemis.mps.editor.diagram.runtime.jgraph.DiagramCreationContext.createDiagram_(DiagramCreationContext.java:50)
	at de.itemis.mps.editor.diagram.runtime.jgraph.DiagramCreationContext.createDiagram(DiagramCreationContext.java:30)
	at com.cso.enabler.arch.components.fcd.editor.DiagramTest_EditorBuilder_a$Inline_Builder_677gr7_a0a.lambda$createDiagram_2$4(DiagramTest_EditorBuilder_a.java:206)
	at de.itemis.mps.editor.diagram.runtime.EditorUtil.noCaching(EditorUtil.java:139)
	at com.cso.enabler.arch.components.fcd.editor.DiagramTest_EditorBuilder_a$Inline_Builder_677gr7_a0a.createDiagram_2(DiagramTest_EditorBuilder_a.java:205)
	at com.cso.enabler.arch.components.fcd.editor.DiagramTest_EditorBuilder_a$Inline_Builder_677gr7_a0a.createDiagram_3(DiagramTest_EditorBuilder_a.java:277)
	at com.cso.enabler.arch.components.fcd.editor.DiagramTest_EditorBuilder_a$Inline_Builder_677gr7_a0a.createCell(DiagramTest_EditorBuilder_a.java:193)
	at com.cso.enabler.arch.components.fcd.editor.DiagramTest_EditorBuilder_a$1$2.run(DiagramTest_EditorBuilder_a.java:81)
	at de.itemis.mps.editor.diagram.runtime.ContextVariables.lambda$withValue$0(ContextVariables.java:39)
	at de.itemis.mps.editor.diagram.runtime.ContextVariables.enterNewContext(ContextVariables.java:30)
	at de.itemis.mps.editor.diagram.runtime.ContextVariables.withValue(ContextVariables.java:37)
	at de.itemis.mps.editor.diagram.runtime.ContextVariables.lambda$withParentAndValue$1(ContextVariables.java:44)
	at de.itemis.mps.editor.diagram.runtime.ContextVariables.withParentContext(ContextVariables.java:51)
	at de.itemis.mps.editor.diagram.runtime.ContextVariables.withParentAndValue(ContextVariables.java:44)
	at com.cso.enabler.arch.components.fcd.editor.DiagramTest_EditorBuilder_a$1.getElements(DiagramTest_EditorBuilder_a.java:78)
	at de.itemis.mps.editor.diagram.runtime.model.ModelSynchronizer.collectAccessors(ModelSynchronizer.java:205)
	at de.itemis.mps.editor.diagram.runtime.model.ModelSynchronizer.fromSModel_(ModelSynchronizer.java:220)
	at de.itemis.mps.editor.diagram.runtime.model.ModelSynchronizer.lambda$fromSModel$5(ModelSynchronizer.java:193)
	at de.itemis.mps.editor.diagram.runtime.model.ScalableEditorCell.withScalingDisabled(ScalableEditorCell.java:27)
	at de.itemis.mps.editor.diagram.runtime.model.ModelSynchronizer.lambda$fromSModel$6(ModelSynchronizer.java:193)
	at de.itemis.mps.editor.diagram.runtime.DiagramContext.withContext(DiagramContext.java:29)
	at de.itemis.mps.editor.diagram.runtime.DiagramContext.withContext(DiagramContext.java:36)
	at de.itemis.mps.editor.diagram.runtime.model.ModelSynchronizer.lambda$fromSModel$7(ModelSynchronizer.java:193)
	at jetbrains.mps.smodel.WorkbenchModelAccess.runReadAction(WorkbenchModelAccess.java:80)
	at jetbrains.mps.smodel.ModelAccessBase.runReadAction(ModelAccessBase.java:56)
	at de.itemis.mps.editor.diagram.runtime.model.ModelSynchronizer.fromSModel(ModelSynchronizer.java:193)
	at de.itemis.mps.editor.diagram.runtime.model.DiagramModel$1.lambda$run$0(DiagramModel.java:210)
	at de.itemis.mps.editor.diagram.runtime.model.ScalableEditorCell.withScalingDisabled(ScalableEditorCell.java:27)
	at de.itemis.mps.editor.diagram.runtime.model.DiagramModel$1.run(DiagramModel.java:210)
	at de.itemis.mps.editor.diagram.runtime.DiagramContext.withContext(DiagramContext.java:29)
	at de.itemis.mps.editor.diagram.runtime.DiagramContext.withContext(DiagramContext.java:36)
	at de.itemis.mps.editor.diagram.runtime.model.DiagramModel.synchronizeRead(DiagramModel.java:207)
	at de.itemis.mps.editor.diagram.runtime.jgraph.RootDiagramECell.lambda$new$1(RootDiagramECell.java:193)
	at de.itemis.mps.editor.diagram.runtime.ContextVariables.lambda$withValue$0(ContextVariables.java:39)
	at de.itemis.mps.editor.diagram.runtime.ContextVariables.enterNewContext(ContextVariables.java:30)
	at de.itemis.mps.editor.diagram.runtime.ContextVariables.withValue(ContextVariables.java:37)
	at de.itemis.mps.editor.diagram.runtime.jgraph.BaseDiagramECell.withContextGraph(BaseDiagramECell.java:120)
	at de.itemis.mps.editor.diagram.runtime.jgraph.RootDiagramECell.<init>(RootDiagramECell.java:192)
	at com.cso.enabler.arch.components.fcd.editor.DiagramTest_EditorBuilder_a.lambda$createDiagram_0$1(DiagramTest_EditorBuilder_a.java:146)
	at de.itemis.mps.editor.diagram.runtime.ContextVariables.lambda$withValue$0(ContextVariables.java:39)
	at de.itemis.mps.editor.diagram.runtime.ContextVariables.enterNewContext(ContextVariables.java:30)
	at de.itemis.mps.editor.diagram.runtime.ContextVariables.withValue(ContextVariables.java:37)
	at com.cso.enabler.arch.components.fcd.editor.DiagramTest_EditorBuilder_a.lambda$createDiagram_0$2(DiagramTest_EditorBuilder_a.java:68)
	at de.itemis.mps.editor.diagram.runtime.DiagramContext.withContext(DiagramContext.java:29)
	at de.itemis.mps.editor.diagram.runtime.DiagramContext.withContext(DiagramContext.java:44)
	at com.cso.enabler.arch.components.fcd.editor.DiagramTest_EditorBuilder_a.lambda$createDiagram_0$3(DiagramTest_EditorBuilder_a.java:67)
	at de.itemis.mps.editor.diagram.runtime.jgraph.DiagramCreationContext.createDiagram_(DiagramCreationContext.java:50)
	at de.itemis.mps.editor.diagram.runtime.jgraph.DiagramCreationContext.lambda$createDiagram$0(DiagramCreationContext.java:32)
	at de.itemis.mps.editor.collapsible.runtime.CollapsibleContext.withFactory(CollapsibleContext.java:21)
	at de.itemis.mps.editor.diagram.runtime.jgraph.DiagramCreationContext.createDiagram(DiagramCreationContext.java:32)
	at 
@alexanderpann alexanderpann changed the title Subdiagrams not support in box query Subdiagrams not supported in box query Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant