Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.IndexOutOfBoundsException on TabGuiImpl#isTabAvailable #36

Closed
zvyap opened this issue May 29, 2023 · 0 comments
Closed

java.lang.IndexOutOfBoundsException on TabGuiImpl#isTabAvailable #36

zvyap opened this issue May 29, 2023 · 0 comments

Comments

@zvyap
Copy link

zvyap commented May 29, 2023

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) ~[?:?]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant