Saving failed on a ClassCastException
Status: Alpha
Brought to you by:
bocarberry
I created a fairly complicated document (a smiling face
made of vertices and edges), and when saving it, got
the following exception:
java.lang.ClassCastException:
edu.brown.cs.cs032.dsi.cell.DSIVertex
at
edu.brown.cs.cs032.dsi.io.DSIGraphMLEncoder.encodeVertices(DSIGraphMLEncoder.java:203)
at
edu.brown.cs.cs032.dsi.io.DSIGraphMLEncoder.encode(DSIGraphMLEncoder.java:87)
at
edu.brown.cs.cs032.dsi.io.DSIFileSave.saveToGraphML(DSIFileSave.java:48)
The code seem to be related to saving port.
I have yet to reproduce the bug and see what's going
on, but the data loss nature of it gives it a high
prioprity.
Logged In: YES
user_id=1344778
This is caused by group cells, which we currently do not
encode/decode. It's trying to cast the child nodes of group
cells which could be vertices and edges, to ports. A fix is
on the way.