[Biojava-l] [Biojava-dev] Error while reading byte data for creating a Trace.

Richard Holland holland at ebi.ac.uk
Mon Jan 7 12:01:55 UTC 2008


This problem was resolved back in November. For some reason during the
last couple of weeks the BioJava mailing list has been sending out
occasional duplicate copies of emails sent several months ago! This was
one of them.

cheers,
Richard

On Mon, January 7, 2008 9:34 am, Andy Yates wrote:
> Hi,
>
> As far as I am aware there isn't a problem with the current ABI parser
> however if you could send a code snippit of reading in the byte array
> & the stack trace of the index out of bounds exception that would be
> most helpful
>
> Andy
>
> On 5 Nov 2007, at 17:59, abhi232 at cc.gatech.edu wrote:
>
>> Hi all,
>> I am having a byte array which is having the data from an .ab1
>> file.The
>> biojava library provides a class called as ABITrace which takes as
>> input
>> either a byte[] array , a file or a url.If i use the later
>> parameters (the
>> file or the url )the program works but if I pass the byte array to the
>> constructor I get java.lang.arrayIndexOutOfBound.Exception.Is there a
>> problem with the ABITrace class or how can I bypass this particular
>> error.
>> I am printing the length of the byte array and it comes to
>> 144930...Can
>> that cause a problem in my code?
>>
>> Thanks in advance.
>> Abhinav
>> _______________________________________________
>> biojava-dev mailing list
>> biojava-dev at lists.open-bio.org
>> http://lists.open-bio.org/mailman/listinfo/biojava-dev
>
> _______________________________________________
> biojava-dev mailing list
> biojava-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biojava-dev
>


-- 
Richard Holland
BioMart (http://www.biomart.org/)
EMBL-EBI
Hinxton, Cambridgeshire CB10 1SD, UK




More information about the Biojava-l mailing list