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

Command /guild list doesn't work #707

Open
VityaMashina opened this issue Jan 4, 2024 · 4 comments
Open

Command /guild list doesn't work #707

VityaMashina opened this issue Jan 4, 2024 · 4 comments

Comments

@VityaMashina
Copy link

Description

The command only works if the guild list is empty. When I create a guild, the command stops working.

Expected Behavior

Actual Behavior

[13:15:04 INFO]: Nittoi issued server command: /guilds list
[13:15:04 ERROR]: [global] TaskChain Exception on me.glaremasters.guilds.commands.gui.CommandGUI$$Lambda$13520/0x00007fb0e22fb448: Cannot invoke "me.glaremasters.guilds.guild.GuildSkull.getSerialized()" because "this.guildSkull" is null
[13:15:04 ERROR]: [global] Current Action Index was: 0
[13:15:04 WARN]: java.lang.NullPointerException: Cannot invoke "me.glaremasters.guilds.guild.GuildSkull.getSerialized()" because "this.guildSkull" is null
[13:15:04 WARN]: at Guilds-3.5.7.0.jar//me.glaremasters.guilds.guild.Guild.getSkull(Guild.java:201)
[13:15:04 WARN]: at Guilds-3.5.7.0.jar//me.glaremasters.guilds.guis.ListGUI.setListItem(ListGUI.kt:103)
[13:15:04 WARN]: at Guilds-3.5.7.0.jar//me.glaremasters.guilds.guis.ListGUI.createListItems(ListGUI.kt:90)
[13:15:04 WARN]: at Guilds-3.5.7.0.jar//me.glaremasters.guilds.guis.ListGUI.get(ListGUI.kt:53)
[13:15:04 WARN]: at Guilds-3.5.7.0.jar//me.glaremasters.guilds.commands.gui.CommandGUI.list$lambda$0(CommandGUI.kt:73)
[13:15:04 WARN]: at Guilds-3.5.7.0.jar//me.glaremasters.guilds.libs.taskchain.TaskChainTasks$GenericTask.run(TaskChainTasks.java:83)
[13:15:04 WARN]: at Guilds-3.5.7.0.jar//me.glaremasters.guilds.libs.taskchain.TaskChain$TaskHolder.run(TaskChain.java:1312)
[13:15:04 WARN]: at Guilds-3.5.7.0.jar//me.glaremasters.guilds.libs.taskchain.TaskChain$TaskHolder.access$100(TaskChain.java:1266)
[13:15:04 WARN]: at Guilds-3.5.7.0.jar//me.glaremasters.guilds.libs.taskchain.TaskChain.lambda$nextTask$18(TaskChain.java:1187)
[13:15:04 WARN]: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
[13:15:04 WARN]: at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[13:15:04 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[13:15:04 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[13:15:04 WARN]: at java.base/java.lang.Thread.run(Thread.java:840)

Steps to Reproduce

1./g create {guild's name}
2./g list

Context

When a player uses a command, the console displays an error. The player doesn't receive an error. The command doesn't work.

Your Environment

  • Guilds version 3.5.7.0
  • MC Version 1.20.2
  • Plugin List - AdvancedEnchantments, AntiPopup, antiRedstoneClock, AuctionHouse, BountyHunters, CataMines, Chunky, CMI, CMILib, CrazyCrates, DeluxeMenus, DonatorJoinPlus, EvenMoreFish, FancyNpcs, FastAsyncWorldEdit, GrimAC, Guilds, HeadDatabase, ItemJoin, Jobs, LagAssist, LibsDisguises, LootChest, LuckPerms, Marriage, Multiverse-Core, Multiverse-Inventories, PlaceholderAPI, PlayerParticles, ProtocolLib, SkinsRestorer, SuggestionBlocker, TAB, Vault, Vehicles, ViaVersion, WGExtender, WorldBorder, WorldGuard
@darbyjack
Copy link
Member

darbyjack commented Jan 16, 2024

I was not able to reproduce this issue utilize the steps provided:

image

Plugins:
image

Is there any other information you could provide? Please ensure you are an online-mode server.

@RICE0707
Copy link

我無法使用提供的步驟重現此問題:

影像 插件: 影像

您還可以提供其他資訊嗎?請確保您是在線模式伺服器。

I was not able to reproduce this issue utilize the steps provided:

image Plugins: image

Is there any other information you could provide? Please ensure you are an online-mode server.

After more complete functional testing, I found that on purpur 1.20.2, the establishment of the guild will lack this data:

  },
  "guildSkull": {
    "serialized": ""
  },

In paper 1.20.1, there is no such data error

I used the latest version released by Paper in version 1.20.2, and I also had this error.
This error also exists in versions 1.20.2 and above.

@RICE0707
Copy link

Moreover, this error will be triggered when the player establishes a guild.
Guilds-3.5.7.0

[16:59:46 INFO]: RiceChen_ issued server command: /gd create 測試 t
[16:59:49 INFO]: RiceChen_ issued server command: /gd confirm
[16:59:49 ERROR]: [global] TaskChain Exception on me.glaremasters.guilds.guild.Guild$$Lambda$15400/0x00007fd4feb48440: java.lang.NoSuchMethodError: 'java.lang.String com.mojang.authlib.properties.Property.getValue()'
[16:59:49 ERROR]: [global] Current Action Index was: 0
[16:59:49 WARN]: java.lang.Exception: java.lang.NoSuchMethodError: 'java.lang.String com.mojang.authlib.properties.Property.getValue()'
[16:59:49 WARN]:        at Guilds-3.5.7.0.jar//me.glaremasters.guilds.libs.taskchain.TaskChain.handleError(TaskChain.java:1203)
[16:59:49 WARN]:        at Guilds-3.5.7.0.jar//me.glaremasters.guilds.libs.taskchain.TaskChain.access$600(TaskChain.java:57)
[16:59:49 WARN]:        at Guilds-3.5.7.0.jar//me.glaremasters.guilds.libs.taskchain.TaskChain$TaskHolder.run(TaskChain.java:1320)
[16:59:49 WARN]:        at Guilds-3.5.7.0.jar//me.glaremasters.guilds.libs.taskchain.TaskChain$TaskHolder.access$100(TaskChain.java:1266)
[16:59:49 WARN]:        at Guilds-3.5.7.0.jar//me.glaremasters.guilds.libs.taskchain.TaskChain.lambda$nextTask$18(TaskChain.java:1187)
[16:59:49 WARN]:        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
[16:59:49 WARN]:        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[16:59:49 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[16:59:49 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[16:59:49 WARN]:        at java.base/java.lang.Thread.run(Thread.java:840)
[16:59:49 WARN]: Caused by: java.lang.NoSuchMethodError: 'java.lang.String com.mojang.authlib.properties.Property.getValue()'
[16:59:49 WARN]:        at Guilds-3.5.7.0.jar//me.glaremasters.guilds.guild.GuildSkull.getTextureUrl(GuildSkull.java:79)
[16:59:49 WARN]:        at Guilds-3.5.7.0.jar//me.glaremasters.guilds.guild.GuildSkull.<init>(GuildSkull.java:52)
[16:59:49 WARN]:        at Guilds-3.5.7.0.jar//me.glaremasters.guilds.guild.Guild.lambda$updateGuildSkull$10(Guild.java:600)
[16:59:49 WARN]:        at Guilds-3.5.7.0.jar//me.glaremasters.guilds.libs.taskchain.TaskChainTasks$GenericTask.run(TaskChainTasks.java:83)
[16:59:49 WARN]:        at Guilds-3.5.7.0.jar//me.glaremasters.guilds.libs.taskchain.TaskChain$TaskHolder.run(TaskChain.java:1312)
[16:59:49 WARN]:        ... 7 more

@hoangxuanlam2007
Copy link

I was not able to reproduce this issue utilize the steps provided:

image Plugins: image

Is there any other information you could provide? Please ensure you are an online-mode server.

I'm having the same problem here. And yes, in my server online-mode is set to false due to many crack players even though I've bought Minecraft.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants