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

Andy Yates ayates at ebi.ac.uk
Mon Jan 7 09:34:33 UTC 2008


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




More information about the Biojava-l mailing list