java.lang.IndexOutOfBoundsException: Number of sites and genotypes do not agree

Google Groups | Marlee Labroo | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    error: number of sites and genotypes do not agree

    Google Groups | 10 months ago | Marlee Labroo
    java.lang.IndexOutOfBoundsException: Number of sites and genotypes do not agree
  2. 0

    Did Find in Files. Results showed a matching node. Clicking it caused an exception

    Netbeans Bugzilla | 1 decade ago | martyd2
    java.lang.IndexOutOfBoundsException: Invalid line index=42 >= lineCount=39 at org.netbeans.editor.LineRootElement.getElement(LineRootElement.java:54) at org.openide.text.NbDocument.findLineOffset(NbDocument.java:124) at org.openide.text.DocumentLine$Set.getOriginal(DocumentLine.java:743) at org.netbeans.modules.debugger.jpda.LineBreakpoint.set(LineBreakpoint.java:524) at org.netbeans.modules.debugger.jpda.LineBreakpoint.set(LineBreakpoint.java:477) at org.netbeans.modules.debugger.jpda.LineBreakpoint.exec(LineBreakpoint.java:379) at org.netbeans.modules.debugger.jpda.util.Operator$1.run(Operator.java:107)
  3. 0

    "Mcconvert experience" generates an out of bounds exception

    GitHub | 1 year ago | BornToDoStuff
    java.lang.IndexOutOfBoundsException: Index: 0 04.03 20:52:58 [Server] WARN [mcMMO] Task #447 for mcMMO v1.5.04-SNAPSHOT-b92 generated an exception **command used:** /mcconvert experience exponential The variable Exp_Modifier was set to 2.875 ingame there is a message given: Starting conversion from UNKNOWN to EXPONENTIAL converting to LINEAR was also tried but it appears that it is unable to determine what type it is starting from in the first place. **Full Error Log:**
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IndexOutOfBoundsException

      Number of sites and genotypes do not agree

      at net.maizegenetics.dna.snp.GenotypeTableBuilder.addTaxon()
    2. net.maizegenetics.dna
      GenotypeTableBuilder.addTaxon
      1. net.maizegenetics.dna.snp.GenotypeTableBuilder.addTaxon(GenotypeTableBuilder.java:569)
      1 frame
    3. net.maizegenetics.analysis
      ProductionSNPCallerPluginV2.lambda$processData$105
      1. net.maizegenetics.analysis.gbs.v2.ProductionSNPCallerPluginV2.callGenotypes(ProductionSNPCallerPluginV2.java:294)
      2. net.maizegenetics.analysis.gbs.v2.ProductionSNPCallerPluginV2.lambda$processData$105(ProductionSNPCallerPluginV2.java:264)
      2 frames
    4. Java RT
      ReferencePipeline$Head.forEach
      1. java.util.Iterator.forEachRemaining(Unknown Source)
      2. java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source)
      3. java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
      3 frames
    5. net.maizegenetics.analysis
      ProductionSNPCallerPluginV2.processData
      1. net.maizegenetics.analysis.gbs.v2.ProductionSNPCallerPluginV2.processData(ProductionSNPCallerPluginV2.java:263)
      1 frame
    6. net.maizegenetics.plugindef
      ThreadedPluginListener.run
      1. net.maizegenetics.plugindef.AbstractPlugin.performFunction(AbstractPlugin.java:110)
      2. net.maizegenetics.plugindef.AbstractPlugin.dataSetReturned(AbstractPlugin.java:1645)
      3. net.maizegenetics.plugindef.ThreadedPluginListener.run(ThreadedPluginListener.java:29)
      3 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      2. java.util.concurrent.FutureTask.run(Unknown Source)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      5. java.lang.Thread.run(Unknown Source)[pool-1-thread-1]
      5 frames