Re: [jgrapht-users] XML encoding of DirectedWeightedMultigraph
Brought to you by:
barak_naveh,
perfecthash
From: John V. S. <js...@gm...> - 2007-10-24 06:54:41
|
Could you submit a small isolated unit test which demonstrates the problem? JVS Petr Holub wrote: > Hi, > > we've recenlty encountered a problem with encoding DirectedWeightedMultigraph > using XMLEncoder. Basically, for XMLEncoder to work, the object needs to > be Java Bean and implement Serializable. Does anybody has a clue why > it shouldn't work on DirectedWeightedMultigraph? > > When attempting to serialize, I get the following execeptions: > > java.lang.InstantiationException: org.jgrapht.graph.DirectedWeightedMultigraph > Continuing ... > java.lang.Exception: XMLEncoder: discarding statement > XMLEncoder.writeObject(DirectedWeightedMultigraph); > Continuing ... > > TIA, > Petr > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > jgrapht-users mailing list > jgr...@li... > https://lists.sourceforge.net/lists/listinfo/jgrapht-users > |