Skip to content

IndexOutOfBoundsException generating CubingUSANationals2023 scrambles #837

@timreyn

Description

@timreyn

Actual (problem) behavior

When I try to generate scrambles for CubingUSANationals2023, I get an IndexOutOfBoundsException in WCIFScrambleMatcher.matchActivity (after all the scrambles are generated, but before they are downloadable). This initially happened when I selected the real number of scramble sets per event. I changed the scramble counts to 3x3r1=1, everything else=0 to make testing / debugging faster.

I've tried looking through the code to track down the issue, but the line numbers don't match up. I've also tried running locally to add more debugging, but have not been able to do so.

Expected behavior

No IndexOutOfBoundsException :)

Desktop (please complete the following information):

  • OS: Fedora
  • Browser including version [e.g. Chrome 76, Firefox 68] Chrome 114.0.5735.133 (Official Build) (64-bit)
  • TNoodle Version [e.g. 0.15.1] TNoodle-WCA-1.1.2.jar
  • Java version [e.g. Java 8]
$ java --version
openjdk 17.0.7 2023-04-18
OpenJDK Runtime Environment (Red_Hat-17.0.7.0.7-4.fc38) (build 17.0.7+7)
OpenJDK 64-Bit Server VM (Red_Hat-17.0.7.0.7-4.fc38) (build 17.0.7+7, mixed mode, sharing)

Screenshots [OPTIONAL]

image

Additional context [OPTIONAL]

I didn't realize that tnoodle matched activities with the schedule, and since I generated groups using new software it's possible the activity schema I made breaks an assumption in TNoodle. But I can't tell what that assumption is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions