Menu

#172 NodeDoesNotExistException exception after loading class diagram layout while a class is hidden

4.0.0
fixed
None
normal
minor
Always
Graphical user interface (GUI)
3.1.0
3.1.0
2014-08-22
2014-02-21
Frank
No

Steps done:

- Load model with default layout, which has a class hidden
- Rearrange elements in class diagram (class still hidden)
- Save layout to different clt-file

All files used in the process, can be found in the attachement.
To reproduce the exception:

- Load model (and automatically the default layout)
- Open class diagram
- Load other clt-file
---- additional_information ----
Stacktrace:

Exception in thread "AWT-EventQueue-0" org.tzi.use.graph.NodeDoesNotExistException: Table(ClassNode)
&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps; at org.tzi.use.graph.DirectedGraphBase.getNodeInfo(DirectedGraphBase.java:836)
&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps; at org.tzi.use.graph.DirectedGraphBase.edgesBetween(DirectedGraphBase.java:709)
&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps; at org.tzi.use.graph.DirectedGraphBase.edgesBetween(DirectedGraphBase.java:704)
&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps; at org.tzi.use.gui.views.diagrams.DiagramGraph.initialize(DiagramGraph.java:121)
&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps; at org.tzi.use.gui.views.diagrams.DiagramView.drawDiagram(DiagramView.java:279)
&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps; at org.tzi.use.gui.views.diagrams.DiagramView.paintComponent(DiagramView.java:203)
&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps; at javax.swing.JComponent.paint(Unknown Source)
[...]

Discussion

  • Frank

    Frank - 2014-02-21
     
  • Lars Hamann

    Lars Hamann - 2014-07-18
    • Description has changed:

    Diff:

    
    
    • status: new --> fixed
    • assigned_to: Lars Hamann
    • Group: --> Next Release (example)
    • Reproducibility: always --> Always
    • fixed_in_version: --> 3.1.0
     

Log in to post a comment.