[Biojava-l] new problem: serializable

Bernd Jagla bernd.jagla at pasteur.fr
Thu Sep 23 15:27:42 UTC 2010


  Sorry, again me...

I now get the following error:

Caused by: java.io.NotSerializableException: 
org.biojavax.bio.seq.SimpleRichSequence
     at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
     at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
     at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
     at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
     at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
     at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
     at 
org.knime.core.data.container.DCObjectOutputVersion2.writeDataCellPerJavaSerialization(DCObjectOutputVersion2.java:127)
     at 
org.knime.core.data.container.Buffer.writeBlobDataCell(Buffer.java:1253)
     at 
org.knime.core.data.container.Buffer.handleIncomingBlob(Buffer.java:790)
     at org.knime.core.data.container.Buffer.saveBlobs(Buffer.java:607)
     at org.knime.core.data.container.Buffer.addRow(Buffer.java:551)
     ... 9 more

It seems that the SimpleRichSequence is not serializable....

Is there a way to make use of a serializable object?

Thanks,

Bernd




More information about the Biojava-l mailing list