Menu

#6 Saving failed on a ClassCastException

open
BoC
IO (2)
8
2006-11-08
2006-09-06
BoC
No

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.

Discussion

  • BoC

    BoC - 2006-11-08
    • assigned_to: nobody --> bocarberry
     
  • BoC

    BoC - 2006-11-08

    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.

     

Log in to post a comment.

MongoDB Logo MongoDB