New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When browsing bam file: "Error: java.util.concurrent.CompletionException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1" #506
Comments
Error: java.util.concurrent.CompletionException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
Thanks for the test case. I will try to reproduce ASAP. |
Could you elaborate on what you mean by "first contig, second, etc"? I loaded the bam and hit the first 3 in the list from the pulldown menu. They all had a single read, and no issues. Then I hit a number of others at random. Same result, single read and no issues. I might be able to address the problem from the stack trace you provided but would like to reproduce it if possible. Should I expect different coverage (more than 1 read per contig)? |
This bam is just a bunch of contigs mapped back to themselves, so you should expect 1 read per contig. The issue does not always happen on the third contig ( I have gone through the steps above again and I am updating the original post with the full igv run log. |
I just can't get it to happen. Could you share your prefs.properties file? Its possible some non-default preference is needed to set this off. Otherwise I can work with the stack trace, try to address or protect agains those errors, then ask you to try again. |
Studying your stacktrace, it looks like this bug could be fixed with release 2.4.6. Could you try that version and let me know? You can download it from http://software.broadinstitute.org/software/igv/download We do not create the homebrew installation, I'm not sure where that comes from or how its updated. |
I can confirm that igv 2.4.6 appears to work on the test case data. I'll reopen this issue if I the problem persists. |
I have previously mentioned this error in #499 and #277, but here is a complete report with a small test case: igv_test_case.tar.gz
This bam file was created by mapping all the contigs in one percent of the P. abies coding sequence to itself.
When I open
igv 2.4.5
(installed using homebrew) on my mac running MacOS 10.11.6, and when I load the genomePabies1.0-all-cds.1pc.fna
, and I load the filePabies1.0-all-cds.1pc.bam
, and I navigate to the first contig, and then I navigate to the second contig, and then I navigate to the third contig, then my mouse turns into a blue ball that sort of turns, and I never see any data, and the following error appears in my console:Further observations:
The text was updated successfully, but these errors were encountered: