[Biojava-dev] [Bug 2046] Cannot read in more than one serialized ProfileHMM object, attempt crashes

bugzilla-daemon at newportal.open-bio.org bugzilla-daemon at newportal.open-bio.org
Mon Jul 31 15:35:43 UTC 2006


http://bugzilla.open-bio.org/show_bug.cgi?id=2046





------- Comment #2 from toddri at eden.rutgers.edu  2006-07-31 11:35 -------
Here is the output and the full stacktrace:

Writing HMM
Wrote 22561 bytes
Reading HMM
Read HMM
Reading HMM again!
Exception in thread "main" java.io.IOException: Symbol in serialized stream
can't be found in the alphabet
        at
org.biojava.bio.dist.SimpleDistribution.readObject(SimpleDistribution.java:97)
        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919)
        at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813)
        at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
        at java.util.HashMap.readObject(HashMap.java:1013)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919)
        at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813)
        at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
        at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
        at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
        at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
        at SerializeProfile.testSerialize(SerializeProfile.java:61)
        at SerializeProfile.main(SerializeProfile.java:126)


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the biojava-dev mailing list