[Biojava-l] serialization of HashSequenceDB

Mark Schreiber mark_s@sanger.otago.ac.nz
Thu, 5 Jul 2001 14:41:56 +1200 (NZST)


Hi -

When trying to serialize a HashSequenceDB I get the following error trace,

java.lang.NoSuchFieldException
	at java.lang.Class.getField0(Native Method)
	at java.lang.Class.getField(Class.java:826)
	at
org.biojava.bio.seq.impl.FeatureImpl$1.writeReplace(FeatureImpl.java:55)
rethrown as org.biojava.bio.BioError
	at
org.biojava.bio.seq.impl.FeatureImpl$1.writeReplace(FeatureImpl.java:57)
	at java.lang.reflect.Method.invoke(Native Method)
	at
java.io.ObjectStreamClass.invokeMethod(ObjectStreamClass.java:1615)
	at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:303)
	at
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1841)
	at
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
	at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)
	at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
	at java.util.HashMap.writeObject(HashMap.java:812)
	at java.lang.reflect.Method.invoke(Native Method)
	at
java.io.ObjectOutputStream.invokeObjectWriter(ObjectOutputStream.java:1878)
	at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1210)
	at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
	at
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1841)
	at
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
	at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)
	at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)

Is this a problem with FeatureImpl??

Mark

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mark Schreiber			Ph: 64 3 4797875
Rm 218				email mark_s@sanger.otago.ac.nz
Department of Biochemistry	email m.schreiber@clear.net.nz
University of Otago		
PO Box 56
Dunedin
New Zealand
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~