Skip to content

java.lang.IndexOutOfBoundsException on TabGuiImpl#isTabAvailable #36

@zvyap

Description

@zvyap

This method should check is it the tab exist, but it will throw IndexOutOfBoundsException instead of NULL (for return FALSE)

java.lang.IndexOutOfBoundsException: Index: 2 Size: 2
	at java.util.ImmutableCollections$AbstractImmutableList.outOfBounds(ImmutableCollections.java:333) ~[?:?]
	at java.util.ImmutableCollections$List12.get(ImmutableCollections.java:585) ~[?:?]
	at xyz.xenondevs.invui.gui.TabGuiImpl.isTabAvailable(TabGuiImpl.java:68) ~[?:?]

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