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

Cannot invoke "com.fastasyncworldedit.core.queue.IQueueExtent.getCachedGet(int, int)" because "this.extent" is null #2553

Closed
2 tasks done
TheLimeGlass opened this issue Jan 22, 2024 · 2 comments
Labels
Awaiting Response Waiting on the creator for delivering the information requested Requires Testing This is a new issue which needs to be approved before labeled with "bug"

Comments

@TheLimeGlass
Copy link

TheLimeGlass commented Jan 22, 2024

Server Implementation

Paper

Server Version

1.20

Describe the bug

Simple error fix because it's a null pointer exception.

To Reproduce

running command //r ~h cyan_terracotta caused error.

Expected behaviour

To not throw a null pointer exception

Screenshots / Videos

[FAWE Fork Join Pool Primary - 6/ERROR]: [com.fastasyncworldedit.core.queue.implementation.ParallelQueueExtent] Catching
java.lang.NullPointerException: Cannot invoke "com.fastasyncworldedit.core.queue.IQueueExtent.getCachedGet(int, int)" because "this.extent" is null
	at com.fastasyncworldedit.core.queue.implementation.chunk.ChunkHolder.newWrappedGet(ChunkHolder.java:992) ~[FastAsyncWorldEdit-Bukkit-2.8.5-SNAPSHOT.jar:?]
	at com.fastasyncworldedit.core.queue.implementation.chunk.ChunkHolder.getOrCreateGet(ChunkHolder.java:961) ~[FastAsyncWorldEdit-Bukkit-2.8.5-SNAPSHOT.jar:?]
	at com.fastasyncworldedit.core.queue.implementation.chunk.ChunkHolder$4.getBlock(ChunkHolder.java:762) ~[FastAsyncWorldEdit-Bukkit-2.8.5-SNAPSHOT.jar:?]
	at com.fastasyncworldedit.core.queue.implementation.chunk.ChunkHolder.getBlock(ChunkHolder.java:1087) ~[FastAsyncWorldEdit-Bukkit-2.8.5-SNAPSHOT.jar:?]
	at com.fastasyncworldedit.core.queue.IChunkExtent.getBlock(IChunkExtent.java:62) ~[FastAsyncWorldEdit-Bukkit-2.8.5-SNAPSHOT.jar:?]
	at com.sk89q.worldedit.extent.InputExtent.getBlock(InputExtent.java:53) ~[FastAsyncWorldEdit-Bukkit-2.8.5-SNAPSHOT.jar:?]
	at com.fastasyncworldedit.core.extent.PassthroughExtent.getBlock(PassthroughExtent.java:194) ~[FastAsyncWorldEdit-Bukkit-2.8.5-SNAPSHOT.jar:?]
	at com.fastasyncworldedit.core.extent.PassthroughExtent.getBlock(PassthroughExtent.java:194) ~[FastAsyncWorldEdit-Bukkit-2.8.5-SNAPSHOT.jar:?]
	at com.fastasyncworldedit.core.function.mask.SingleBlockStateMask.test(SingleBlockStateMask.java:33) ~[FastAsyncWorldEdit-Bukkit-2.8.5-SNAPSHOT.jar:?]
	at com.fastasyncworldedit.core.function.mask.CachedMask.test(CachedMask.java:71) ~[FastAsyncWorldEdit-Bukkit-2.8.5-SNAPSHOT.jar:?]
	at com.fastasyncworldedit.core.function.mask.AdjacentAnyMask.direction(AdjacentAnyMask.java:58) ~[FastAsyncWorldEdit-Bukkit-2.8.5-SNAPSHOT.jar:?]
	at com.fastasyncworldedit.core.function.mask.AdjacentAnyMask.test(AdjacentAnyMask.java:43) ~[FastAsyncWorldEdit-Bukkit-2.8.5-SNAPSHOT.jar:?]
	at com.fastasyncworldedit.core.extent.filter.MaskFilter.applyBlock(MaskFilter.java:38) ~[FastAsyncWorldEdit-Bukkit-2.8.5-SNAPSHOT.jar:?]
	at com.fastasyncworldedit.core.extent.filter.block.CharFilterBlock.filter(CharFilterBlock.java:176) ~[FastAsyncWorldEdit-Bukkit-2.8.5-SNAPSHOT.jar:?]
	at com.sk89q.worldedit.regions.Region.filter(Region.java:327) ~[FastAsyncWorldEdit-Bukkit-2.8.5-SNAPSHOT.jar:?]
	at com.sk89q.worldedit.regions.Region.filter(Region.java:310) ~[FastAsyncWorldEdit-Bukkit-2.8.5-SNAPSHOT.jar:?]
	at com.sk89q.worldedit.regions.CuboidRegion.filter(CuboidRegion.java:762) ~[FastAsyncWorldEdit-Bukkit-2.8.5-SNAPSHOT.jar:?]
	at com.fastasyncworldedit.core.extent.filter.block.ChunkFilterBlock.filter(ChunkFilterBlock.java:88) ~[FastAsyncWorldEdit-Bukkit-2.8.5-SNAPSHOT.jar:?]
	at com.fastasyncworldedit.core.queue.implementation.chunk.ChunkHolder.filterBlocks(ChunkHolder.java:910) ~[FastAsyncWorldEdit-Bukkit-2.8.5-SNAPSHOT.jar:?]
	at com.fastasyncworldedit.core.queue.IQueueExtent.apply(IQueueExtent.java:144) ~[FastAsyncWorldEdit-Bukkit-2.8.5-SNAPSHOT.jar:?]
	at com.fastasyncworldedit.core.queue.implementation.ParallelQueueExtent.lambda$apply$0(ParallelQueueExtent.java:133) ~[FastAsyncWorldEdit-Bukkit-2.8.5-SNAPSHOT.jar:?]
	at java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1375) ~[?:?]
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
	at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]

Error log (if applicable)

No response

Fawe Debugpaste

https://www.athion.net/ISPaster/paste/view/a2d6bddb4a0d46e4ba144a36ff1e0beb

Fawe Version

2.8.5-snapshot

Checklist

Anything else?

No response

@TheLimeGlass TheLimeGlass added the Requires Testing This is a new issue which needs to be approved before labeled with "bug" label Jan 22, 2024
@OneLiteFeather
Copy link
Member

@TheLimeGlass the debugpaste link is not working, can you generate a new one?

@OneLiteFeather OneLiteFeather added the Awaiting Response Waiting on the creator for delivering the information requested label Feb 4, 2024
@dordsor21
Copy link
Member

Fixed by #2594

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Response Waiting on the creator for delivering the information requested Requires Testing This is a new issue which needs to be approved before labeled with "bug"
Projects
None yet
Development

No branches or pull requests

3 participants