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

IndexOutOfBoundsException on LoveTropics server #6

Open
Trikzon opened this issue Nov 15, 2020 · 8 comments
Open

IndexOutOfBoundsException on LoveTropics server #6

Trikzon opened this issue Nov 15, 2020 · 8 comments
Labels
bug Something isn't working ghost issue It happens. Don't know why, or how, and can't reproduce it

Comments

@Trikzon
Copy link

Trikzon commented Nov 15, 2020

I'm getting an IndexOutOfBoundsException using the LoveTropics modpack while in the build menu.

at com.lovetropics.gamemodebuild.container.BuildScreen.mouseClicked(BuildScreen.java:140)

https://github.com/LoveTropics/GamemodeBuild/blob/master/src/main/java/com/lovetropics/gamemodebuild/container/BuildScreen.java#L140

I'm on linux, so I assume that has something to do with a bad mouse position.

https://pastebin.com/wPDcLS42

@davidpanic
Copy link
Contributor

This still seems to be present in the LoveTropics 2021 version (1.1.3)

crash-2021-11-07_02.31.50-client.txt

Using Artix Linux kernel 5.14.12 built @ 2021-11-01 18:34:29, mention me if more info and/or debugging is required.

@sekwah41 sekwah41 self-assigned this Sep 26, 2023
@sekwah41 sekwah41 added the bug Something isn't working label Sep 26, 2023
@sekwah41
Copy link
Member

sekwah41 commented Sep 27, 2023

Should focus on func_241440_b_ in Container. That seems to be the second error thrown at least.

By the looks of it, it may be due to null or not properly registered item slots, but most of the loops use the current size.

@sekwah41
Copy link
Member

image

On the inventory slots 45 and above are normal building slots. It seem there may be some behaviour where the inventory slots are not properly set hence inxed out of bounds.

@sekwah41
Copy link
Member

If anyone is able to give more info on how to replicate this or give any more specifics as to when this triggers that would be a major help.

Im going to mess around with this a little then try using https://github.com/jagt/clumsy to simulate some network lag and see if its possible an issue that is harder to replicate locally.

@Trikzon
Copy link
Author

Trikzon commented Oct 5, 2023

It was three years ago now since I had this issue and initially reported it and I'm now on a different machine and OS than I was, so take this with a grain of salt.

But I think I remember being able to get this crash in a single player world leading me to believe that an unstable network shouldn't affect this issue

@davidpanic
Copy link
Contributor

@Trikzon Not necessarily. A singleplayer world still has a local "server" running with only you connecting to it. You're still doing networking, but only locally.

@sekwah41
Copy link
Member

sekwah41 commented Oct 6, 2023

Though if you were able to trigger it on single player that may mean ping has less of a bearing on having the issue occour.

@sekwah41
Copy link
Member

sekwah41 commented Oct 7, 2023

I think we should put fixing this issue on hold until we are able to repeat it in the latest version, hopefully with a reliable way to reproduce the bug.

@sekwah41 sekwah41 removed their assignment Oct 7, 2023
@Gegy Gegy added the ghost issue It happens. Don't know why, or how, and can't reproduce it label Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ghost issue It happens. Don't know why, or how, and can't reproduce it
Projects
None yet
Development

No branches or pull requests

4 participants