DrDub / text2onto

Automatically exported from code.google.com/p/text2onto
1 stars 0 forks source link

Saving the session fails with a NotSerializable exception. #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start Text2Onto from the shell
2. Save the session to e.g. /home/you/t2o.ser
3. Find the exception stack trace in standard output in your shell

What is the expected output? What do you see instead?

Expected the session to be serialized. The file is created but it can't be 
opened again.

What version of the product are you using? On what operating system?

trunk head standalone version on Ubuntu 64 bit with Gate 4

Please provide any additional information below.

Original issue reported on code.google.com by jbot...@gmail.com on 16 Mar 2012 at 4:55

GoogleCodeExporter commented 9 years ago
java.io.NotSerializableException: gate.creole.gazetteer.LinearNode
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
    at java.util.HashMap.writeObject(HashMap.java:1000)
...

    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
    at org.ontoware.text2onto.util.IOUtil.serialize(IOUtil.java:13)
    at org.ontoware.text2onto.persist.PersistenceManager.serialize(PersistenceManager.java:93)
    at org.ontoware.text2onto.gui.Text2Onto.doSave(Text2Onto.java:622)
    at org.ontoware.text2onto.gui.Text2Onto$4.actionPerformed(Text2Onto.java:344)

Original comment by jbot...@gmail.com on 16 Mar 2012 at 5:05