[Biojava-l] Problems loading SingleDP object via serialization

Mark Schreiber markjschreiber at gmail.com
Thu Sep 27 02:29:52 UTC 2007


This is fixed now.

I also found that PairDP's were not Serializing properly. This appears to be
fixed as well. I have added a trivial JUnit test to make sure it doesn't
happen again.

- Mark

On 9/6/07, Daniel Rohrbach <daniel.rohrbach at web.de> wrote:
>
>
> Hi all,
>
> I have problems loading a SingleDP object via serialization.
>
> The Exception is
> java.io.InvalidClassException: org.biojava.bio.dp.onehead.SingleDP; no
> valid constructor
>
> I hope that I don't misunderstand something. The reason for the exception
> may is that SingleDP which implements serializable inherits from DP which
> isn't serializable. In such a case I think the super class (DP) must offer a
> no-arg constructor.
>
> If this is the reason the same exception should also occur for the
> PairwiseDP.
>
> has someone any idea?
>
> Many greetings and thanks in advance
>
>
> _____________________________________________________________________
> Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
>
> _______________________________________________
> Biojava-l mailing list  -  Biojava-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biojava-l
>



More information about the Biojava-l mailing list