Skip to content
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

Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 0 #22

Closed
mjafin opened this issue Nov 30, 2015 · 3 comments

Comments

@mjafin
Copy link
Contributor

mjafin commented Nov 30, 2015

Hi there,
I'm calling variants in hg38 and am getting this error:

Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 0
        at java.lang.String.charAt(String.java:658)
        at com.astrazeneca.vardict.VarDict.varType(VarDict.java:5905)
        at com.astrazeneca.vardict.VarDict.vardict(VarDict.java:966)
        at com.astrazeneca.vardict.VarDict.vardictNotParallel(VarDict.java:305)
        at com.astrazeneca.vardict.VarDict.nonAmpVardict(VarDict.java:257)
        at com.astrazeneca.vardict.VarDict.start(VarDict.java:68)
        at com.astrazeneca.vardict.Main.run(Main.java:134)
        at com.astrazeneca.vardict.Main.main(Main.java:25)
' returned non-zero exit status 1

This is in the chrUn_GL000216v2 contig that is fairly short (0-176608). I can provide you the data via Box again when you have time to pick this up.

Thanks,
Miika

@chapmanb
Copy link
Contributor

Miika;
It sounds like this might be the same as the issue in this PR: #19 It's a small fix but hadn't gotten pulled into main and a release yet, as far as I know.

@mjafin
Copy link
Contributor Author

mjafin commented Nov 30, 2015

Brad, thanks, well spotted! I'll flag these up with EPAM and will follow up properly

ghost pushed a commit that referenced this issue Dec 3, 2015
@mjafin
Copy link
Contributor Author

mjafin commented Dec 4, 2015

This issue seems to have been solved now, thanks! I'll reopen if I come across it again.

@mjafin mjafin closed this as completed Dec 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants