Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#1328 closed defect (fixed)

Index out of bounds exception

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: Variant Search v1.3
Component: net.sf.basedb.varsearch Keywords:


For some VCF files I get an error message when trying to view the details:

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
  at net.sf.basedb.varsearch.vcf.VcfParser$VcfLine.parseFormat(
  at net.sf.basedb.varsearch.vcf.VcfParser$VcfLine.<init>(
  at net.sf.basedb.varsearch.vcf.VcfParser.nextLine(
  at net.sf.basedb.varsearch.vcf.VcfParser.parseToLine(

The main suspect is an entry with only a single value in the AD tag (eg. 37 instead of 37,0).

Change History (2)

comment:1 by Nicklas Nordborg, 3 years ago

Resolution: fixed
Status: newclosed

In 6404:

Fixes #1328: Index out of bounds exception

comment:2 by Nicklas Nordborg, 3 years ago

Milestone: Variant Search extension v1.3Variant Search v1.3

Milestone renamed

Note: See TracTickets for help on using tickets.