Repository navigation
Description
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
Activity
darbyjack commentedon Jan 16, 2024
I was not able to reproduce this issue utilize the steps provided:
Plugins:

Is there any other information you could provide? Please ensure you are an online-mode server.
RICE0707 commentedon Feb 19, 2024
After more complete functional testing, I found that on purpur 1.20.2, the establishment of the guild will lack this data:
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 commentedon Feb 19, 2024
Moreover, this error will be triggered when the player establishes a guild.
Guilds-3.5.7.0
hoangxuanlam2007 commentedon Jul 25, 2024
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.