FastAsyncWorldEdit icon indicating copy to clipboard operation
FastAsyncWorldEdit copied to clipboard

FaweCache Catching ArrayIndexOutOfBoundsException

Open NonSwag opened this issue 1 year ago • 4 comments

Server Implementation

Paper

Server Version

1.20.5/6

Describe the bug

When using a brush really fast FAWE throws an array index out of bounds exception I can't tell whether this is a bug cased by goPaintAdvanced or within FAWE

To Reproduce

  1. Create a brush (using goPaintAdvanced)
  2. spam-click the brush

Expected behaviour

No exception

Screenshots / Videos

No response

Error log (if applicable)

https://pastebin.com/yWvtVrCW

Fawe Debugpaste

https://athion.net/ISPaster/paste/view/e56e09cbffb54ad1a7ca7f119a1864b8

Fawe Version

FastAsyncWorldEdit version 2.11.1-SNAPSHOT-843;5341b06

Checklist

  • [X] I have included a Fawe debugpaste.
  • [X] I am using the newest build from https://ci.athion.net/job/FastAsyncWorldEdit/ and the issue still persists.

Anything else?

The brush I used was from goPaintAdvanced and happens only when spamming edits

NonSwag avatar Jul 05 '24 21:07 NonSwag

I was also able to observe this with a default FAWE command like '//replace', here's the log: https://mclo.gs/PSmkeJW

Paper 1.20.4 and FAWE 2.9.2 but this has been going on for a while already, it's not exactly new. I can find logs as old as 30 days that showed this exact error.

Folas1337 avatar Jul 07 '24 09:07 Folas1337

I was also able to observe this with a default FAWE command like '//replace', here's the log: mclo.gs/PSmkeJW

Paper 1.20.4 and FAWE 2.9.2 but this has been going on for a while already, it's not exactly new. I can find logs as old as 30 days that showed this exact error.

Okay but that's a different issue and "it's been going on for a while" doesn't mean it's not been fixed? That's literally the opposite of how that works.

dordsor21 avatar Jul 07 '24 09:07 dordsor21

Oh I just thought it could've been relevant, nevermind me then. I just checked like the first line of the error, I should've been paying more attention.

Folas1337 avatar Jul 07 '24 10:07 Folas1337

bump

NonSwag avatar Jul 28 '24 07:07 NonSwag

Does not happen in 1.21.3/4 anymore

NonSwag avatar Jan 02 '25 18:01 NonSwag