/lp editor not working
tommasobenatti opened this issue ยท 11 comments
Description
By doing /lp editor in game I get an error in console and I can't perform no more lp commands
Reproduction Steps
Use latest paper 1.18, do /lp editor, then watch console
Expected Behaviour
Receive the link of the webeditor
Server Details
PaperMC build 54 - 1.18
LuckPerms Version
v.5.3.87
Logs and Configs
Server logs:
[20:25:04 INFO]: _Tbenatti_ issued server command: /lp editor
[20:25:14 WARN]: [LuckPerms] Command execution [editor] has not completed. Trace:
[email protected]/jdk.internal.misc.Unsafe.park(Native Method)
[email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:211)
[email protected]/java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1864)
[email protected]/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3463)
[email protected]/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3434)
[email protected]/java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1898)
[email protected]/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2117)
me.lucko.luckperms.common.webeditor.WebEditorRequest.lambda$findMatchingOfflineUsers$9(WebEditorRequest.java:260)
me.lucko.luckperms.common.webeditor.WebEditorRequest$$Lambda$7607/0x000000080223b8b0.accept(Unknown Source)
[email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
[email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
[email protected]/java.util.stream.SliceOps$1$1.accept(SliceOps.java:200)
[email protected]/java.util.stream.SortedOps$RefSortingSink.end(SortedOps.java:400)
[email protected]/java.util.stream.Sink$ChainedReference.end(Sink.java:258)
[email protected]/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:528)
[email protected]/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513)
[email protected]/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
[email protected]/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
[email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
[email protected]/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[email protected]/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
me.lucko.luckperms.common.webeditor.WebEditorRequest.findMatchingOfflineUsers(WebEditorRequest.java:259)
me.lucko.luckperms.common.webeditor.WebEditorRequest.includeMatchingUsers(WebEditorRequest.java:221)
me.lucko.luckperms.common.webeditor.WebEditorRequest.includeMatchingUsers(WebEditorRequest.java:202)
me.lucko.luckperms.common.commands.misc.EditorCommand.execute(EditorCommand.java:90)
me.lucko.luckperms.common.command.abstraction.SingleCommand.execute(SingleCommand.java:56)
me.lucko.luckperms.common.command.abstraction.SingleCommand.execute(SingleCommand.java:48)
me.lucko.luckperms.common.command.CommandManager.execute(CommandManager.java:263)
me.lucko.luckperms.common.command.CommandManager.lambda$executeCommand$1(CommandManager.java:167)
me.lucko.luckperms.common.command.CommandManager$$Lambda$7495/0x000000080222b9e8.run(Unknown Source)
[email protected]/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
[email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[email protected]/java.lang.Thread.run(Thread.java:833)
Extra Details
Please could you try generating a thread dump shortly after it freezes, instruction here: https://gist.github.com/lucko/81033b72927eee0246dc8e8c284664c4
Ok, by the way, now if I wait some time I get the link, but the error is still there
Could you zip up your server folder and post it here please :)
Feel free to leave out the worlds and any unrelated plugins. You can use wetransfer if its too big for GitHub.
apparently by changing the db to default it stopped having the issue, that's strange, with the ingame command all worked fine