java.lang.IndexOutOfBoundsException

Index (-1) is negative

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6999

  • Index (-1) is negative
  • index (-1) must not be negative
  • index (-1) must not be negative
  • Stack trace

    • java.lang.IndexOutOfBoundsException: Index (-1) is negative at it.unimi.dsi.bits.AbstractBitVector.ensureRestrictedIndex(AbstractBitVector.java:58) at it.unimi.dsi.bits.LongArrayBitVector.getBoolean(LongArrayBitVector.java:366) at it.unimi.dsi.bits.AbstractBitVector.getBoolean(AbstractBitVector.java:90) at it.unimi.dsi.fastutil.booleans.AbstractBooleanList.get(AbstractBooleanList.java:391) at edu.cornell.med.icb.goby.reads.RandomAccessSequenceCache.get(RandomAccessSequenceCache.java:351) at edu.cornell.med.icb.goby.alignments.processors.RealignmentProcessor.realign(RealignmentProcessor.java:328) at edu.cornell.med.icb.goby.alignments.processors.RealignmentProcessor.realign(RealignmentProcessor.java:223) at edu.cornell.med.icb.goby.alignments.processors.RealignmentProcessor.nextRealignedEntry(RealignmentProcessor.java:165) at edu.cornell.med.icb.goby.alignments.processors.LocalSortProcessor.nextRealignedEntry(LocalSortProcessor.java:106) at edu.cornell.med.icb.goby.alignments.IterateSortedAlignments.iterate(IterateSortedAlignments.java:327) at edu.cornell.med.icb.goby.modes.DiscoverSequenceVariantsMode.execute(DiscoverSequenceVariantsMode.java:727) at edu.cornell.med.icb.goby.modes.GenericToolsDriver.execute(GenericToolsDriver.java:219) at edu.cornell.med.icb.goby.modes.GobyDriver.main(GobyDriver.java:55)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.