Could you provide the line you used to instantiate the CRC64Checksum object, and the value that you're passing to update(seq), and the full stacktrace you get when it fails? That'll all help us work out what's wrong.
cheers, Richard On Thu, 2009-05-21 at 20:06 +0200, Michael Thon wrote: > Hi all - I need to compute a crc64 for some sequences and I thought > that org.biojavax.utils.CRC64Checksum could do this for me. Java > throws a NullPointerException when I try to do: > crc.update(seq); > where crc is a CRC64Checksum object and seq is a String containing a > protein sequence. > > Does anyone have some example code showing how to compute a crc using > this class? > Many thanks > Mike Thon > _______________________________________________ > Biojava-l mailing list - [email protected] > http://lists.open-bio.org/mailman/listinfo/biojava-l -- Richard Holland, BSc MBCS Finance Director, Eagle Genomics Ltd T: +44 (0)1223 654481 ext 3 | E: [email protected] http://www.eaglegenomics.com/ _______________________________________________ Biojava-l mailing list - [email protected] http://lists.open-bio.org/mailman/listinfo/biojava-l
