IntellectualSites / IntellectualSites/FastAsyncWorldEdit
//lazycopy dimensiona too large
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 806
- Forks
- 394
- Avg merge
- 22h 19m
- Merged PRs (30d)
- 14
Description
Server Implementation
Paper
Server Version
1.21.11
Describe the bug
[04:56:48 ERROR]: An unexpected error while handling a FastAsyncWorldEdit command
java.lang.IllegalArgumentException: Dimensions are too large for this clipboard format.
at FastAsyncWorldEdit-Bukkit-2.15.0.jar//com.fastasyncworldedit.core.extent.clipboard.SimpleClipboard.(SimpleClipboard.java:21) ~[?:?]
at FastAsyncWorldEdit-Bukkit-2.15.0.jar//com.fastasyncworldedit.core.extent.clipboard.SimpleClipboard.(SimpleClipboard.java:29) ~[?:?]
at FastAsyncWorldEdit-Bukkit-2.15.0.jar//com.fastasyncworldedit.core.extent.clipboard.ReadOnlyClipboard.(ReadOnlyClipboard.java:27) ~[?:?]
at FastAsyncWorldEdit-Bukkit-2.15.0.jar//com.fastasyncworldedit.core.extent.clipboard.WorldCopyClipboard.(WorldCopyClipboard.java:49) ~[?:?]
at FastAsyncWorldEdit-Bukkit-2.15.0.jar//com.fastasyncworldedit.core.extent.clipboard.WorldCopyClipboard.of(WorldCopyClipboard.java:64) ~[?:?]
at FastAsyncWorldEdit-Bukkit-2.15.0.jar//com.sk89q.worldedit.command.ClipboardCommands.lazyCopy(ClipboardCommands.java:198) ~[?:?]
at FastAsyncWorldEdit-Bukkit-2.15.0.jar//com.sk89q.worldedit.command.ClipboardCommandsRegistration.cmd$_lazycopy(ClipboardCommandsRegistration.java:296) ~[?:?]
at FastAsyncWorldEdit-Bukkit-2.15.0.jar//org.enginehub.piston.CommandManager.execute(CommandManager.java:157) ~[?:?]
at FastAsyncWorldEdit-Bukkit-2.15.0.jar//com.sk89q.worldedit.extension.platform.PlatformCommandManager.lambda$handleCommandOnCurrentThread$16(PlatformCommandManager.java:712) ~[?:?]
at FastAsyncWorldEdit-Bukkit-2.15.0.jar//com.sk89q.worldedit.extension.platform.PlatformCommandManager.handleCommandTask(PlatformCommandManager.java:733) ~[?:?]
at FastAsyncWorldEdit-Bukkit-2.15.0.jar//com.sk89q.worldedit.extension.platform.PlatformCommandManager.handleCommandOnCurrentThread(PlatformCommandManager.java:714) ~[?:?]
at FastAsyncWorldEdit-Bukkit-2.15.0.jar//com.sk89q.worldedit.extension.platform.PlatformCommandManager.lambda$handleCommand$14(PlatformCommandManager.java:685) ~[?:?]
at FastAsyncWorldEdit-Bukkit-2.15.0.jar//com.sk89q.worldedit.extension.platform.AbstractPlayerActor.lambda$runAction$2(AbstractPlayerActor.java:717) ~[?:?]
at FastAsyncWorldEdit-Bukkit-2.15.0.jar//com.fastasyncworldedit.core.util.task.AsyncNotifyKeyedQueue.lambda$run$0(AsyncNotifyKeyedQueue.java:48) ~[?:?]
at FastAsyncWorldEdit-Bukkit-2.15.0.jar//com.fastasyncworldedit.core.util.task.AsyncNotifyKeyedQueue.lambda$call$1(AsyncNotifyKeyedQueue.java:58) ~[?:?]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at FastAsyncWorldEdit-Bukkit-2.15.0.jar//com.fastasyncworldedit.core.util.task.KeyQueuedExecutorService$KeyRunner.lambda$run$0(KeyQueuedExecutorService.java:150) ~[?:?]
at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1423) ~[?:?]
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) ~[?:?]
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) ~[?:?]
To Reproduce
//copy or //lazycopy a MASSIVE region
Expected behaviour
Copy region properly
Screenshots / Videos
No response
Error log (if applicable)
No response
Fawe Debugpaste
https://athion.net/ISPaster/paste/view/ab4dd7da01ee40bcb00befd58f3e0e07
Are you interested in contributing a fix?
Yes
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with //lazycopy on a massive region, then inspect ClipboardCommands.lazyCopy, WorldCopyClipboard.java, ReadOnlyClipboard.java, and SimpleClipboard.java, where the stack trace reaches the dimension check. Done means the massive region is copied properly as described, or the issue’s behavior is otherwise verified against the expected result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100