JetBrains / MPS-extensions

MPS-extensions aims to ease language development within MPS.
https://jetbrains.github.io/MPS-extensions/
Apache License 2.0
83 stars 52 forks source link

Diagram: Stackoverflow in getToolTipAt #568

Open alexanderpann opened 1 year ago

alexanderpann commented 1 year ago
java.lang.StackOverflowError
    at jetbrains.mps.nodeEditor.cells.EditorCell_Basic.findLeaf(EditorCell_Basic.java:533)
    at jetbrains.mps.nodeEditor.cells.EditorCell_Collection.findLeaf(EditorCell_Collection.java:730)
    at jetbrains.mps.nodeEditor.cells.EditorCell_Collection.findLeaf(EditorCell_Collection.java:730)
    at jetbrains.mps.nodeEditor.cells.EditorCell_Collection.findLeaf(EditorCell_Collection.java:730)
    at jetbrains.mps.nodeEditor.cells.EditorCell_Collection.findLeaf(EditorCell_Collection.java:730)
    at jetbrains.mps.nodeEditor.cells.EditorCell_Collection.findLeaf(EditorCell_Collection.java:730)
    at jetbrains.mps.nodeEditor.cells.EditorCell_Collection.findLeaf(EditorCell_Collection.java:730)
    at jetbrains.mps.nodeEditor.cells.EditorCell_Collection.findLeaf(EditorCell_Collection.java:730)
    at jetbrains.mps.nodeEditor.cells.EditorCell_Collection.findLeaf(EditorCell_Collection.java:730)
    at de.itemis.mps.editor.diagram.runtime.jgraph.MyGraphComponent.findLeafAtPosition(MyGraphComponent.java:164)
    at de.itemis.mps.editor.diagram.runtime.jgraph.RootDiagramECell.getTooltipAt(RootDiagramECell.java:636)
    at de.itemis.mps.editor.diagram.runtime.jgraph.RootDiagramECell.getTooltipAt(RootDiagramECell.java:652)
    at de.itemis.mps.editor.diagram.runtime.jgraph.RootDiagramECell.getTooltipAt(RootDiagramECell.java:652)
    at de.itemis.mps.editor.diagram.runtime.jgraph.RootDiagramECell.getTooltipAt(RootDiagramECell.java:652)
    at de.itemis.mps.editor.diagram.runtime.jgraph.RootDiagramECell.getTooltipAt(RootDiagramECell.java:652)
    at de.itemis.mps.editor.diagram.runtime.jgraph.RootDiagramECell.getTooltipAt(RootDiagramECell.java:652)
    at de.itemis.mps.editor.diagram.runtime.jgraph.RootDiagramECell.getTooltipAt(RootDiagramECell.java:652)
    at de.itemis.mps.editor.diagram.runtime.jgraph.RootDiagramECell.getTooltipAt(RootDiagramECell.java:652)
    at de.itemis.mps.editor.diagram.runtime.jgraph.RootDiagramECell.getTooltipAt(RootDiagramECell.java:652)
    at de.itemis.mps.editor.diagram.runtime.jgraph.RootDiagramECell.getTooltipAt(RootDiagramECell.java:652)
alexanderpann commented 1 day ago

The recursive call is here. Maybe two diagram cells that want to show each other in a tooltip?