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

Exception by open global-playtime-rewards GUI #22

Open
BrainRTP opened this issue Nov 28, 2024 · 0 comments
Open

Exception by open global-playtime-rewards GUI #22

BrainRTP opened this issue Nov 28, 2024 · 0 comments

Comments

@BrainRTP
Copy link
Contributor

Plugin version: 3.3.0
Server:

This server is running Paper version 1.21.1-132-ver/1.21.1@b48403b (2024-11-21T10:14:27Z) (Implementing API version 1.21.1-R0.1-SNAPSHOT)
You are running the latest version

Configuration: default (no changes)

How to repeat:

  1. execute by player: /rewards gui global-playtime-rewards

Stacktrace:

[11:43:33] [Server thread/INFO]: asd1 issued server command: /rewards gui global-playtime-rewards
[11:43:33] [Server thread/ERROR]: [LushRewards] Could not find item-template 'P'
[11:43:33] [Server thread/ERROR]: [LushRewards] Failed to display custom item-template 'P' as it does not specify a valid material
[11:43:33] [Server thread/WARN]: [LushRewards] Task #1446 for LushRewards v3.3.0 generated an exception
java.lang.NullPointerException: Cannot invoke "java.util.List.getClass()" because "list" is null
	at java.base/java.util.Collections.unmodifiableList(Collections.java:1474) ~[?:?]
	at LushRewards-3.3.0.jar/org.lushplugins.lushrewards.libraries.lushlib.utils.DisplayItemStack$Builder.getLore(DisplayItemStack.java:283) ~[LushRewards-3.3.0.jar:?]
	at LushRewards-3.3.0.jar/org.lushplugins.lushrewards.module.playtimerewards.PlaytimeRewardsGui.lambda$refresh$5(PlaytimeRewardsGui.java:140) ~[LushRewards-3.3.0.jar:?]
	at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
	at LushRewards-3.3.0.jar/org.lushplugins.lushrewards.module.playtimerewards.PlaytimeRewardsGui.lambda$refresh$8(PlaytimeRewardsGui.java:108) ~[LushRewards-3.3.0.jar:?]
	at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:86) ~[paper-1.21.1.jar:1.21.1-132-b48403b]
	at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:475) ~[paper-1.21.1.jar:1.21.1-132-b48403b]
	at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1724) ~[paper-1.21.1.jar:1.21.1-132-b48403b]
	at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:473) ~[paper-1.21.1.jar:1.21.1-132-b48403b]
	at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1596) ~[paper-1.21.1.jar:1.21.1-132-b48403b]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1302) ~[paper-1.21.1.jar:1.21.1-132-b48403b]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:329) ~[paper-1.21.1.jar:1.21.1-132-b48403b]
	at java.base/java.lang.Thread.run(Thread.java:1570) ~[?:?]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant