Skip to content

java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0 #20

@will-sargent-eero

Description

@will-sargent-eero

This is calling .get(0) for an empty array:

jdk.internal.util.Preconditions in outOfBounds at line 64
jdk.internal.util.Preconditions in outOfBoundsCheckIndex at line 70
jdk.internal.util.Preconditions in checkIndex at line 266
java.util.Objects in checkIndex at line 361
java.util.ArrayList in get at line 427
emailvalidator4j.lexer.EmailLexer in getPrevious at line 130
emailvalidator4j.parser.LocalPart in parse at line 65
emailvalidator4j.parser.Email in parse at line 39
emailvalidator4j.EmailValidator in isValid at line 23

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions