EssentialsX

EssentialsX

2M Downloads

Trade sign problem

Vice00 opened this issue ยท 5 comments

commented

Information

Hi, i'm having some issue with the [trade] sign in Essentials 2.17.1.0
The buy and sell sign work perfectly but the trade sign won't work...
I set the sign like this:

[trade]
$10
1 dirt:10

I get no answer in chat, the [trade] on the first line is still red and the console give me this output:

Server log:

12.08 23:39:50 [Server] INFO ... 17 more
12.08 23:39:50 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_211]
12.08 23:39:50 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_211]
12.08 23:39:50 [Server] INFO at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?]
12.08 23:39:50 [Server] INFO at com.earth2me.essentials.signs.SignBlockListener.onSignSignChange(SignBlockListener.java:130) ~[?:?]
12.08 23:39:50 [Server] INFO at com.earth2me.essentials.signs.EssentialsSign.onSignCreate(EssentialsSign.java:58) ~[?:?]
12.08 23:39:50 [Server] INFO at com.earth2me.essentials.signs.SignTrade.onSignCreate(SignTrade.java:29) ~[?:?]
12.08 23:39:50 [Server] INFO at com.earth2me.essentials.signs.SignTrade.getTrade(SignTrade.java:244) ~[?:?]
12.08 23:39:50 [Server] INFO at com.earth2me.essentials.signs.EssentialsSign.getItemStack(EssentialsSign.java:350) ~[?:?]
12.08 23:39:50 [Server] INFO at com.earth2me.essentials.api.IItemDb.getFromLegacy(IItemDb.java:138) ~[?:?]
12.08 23:39:50 [Server] INFO at java.lang.Integer.parseInt(Integer.java:615) ~[?:1.8.0_211]
12.08 23:39:50 [Server] INFO at java.lang.Integer.parseInt(Integer.java:580) ~[?:1.8.0_211]
12.08 23:39:50 [Server] INFO at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:1.8.0_211]
12.08 23:39:50 [Server] INFO Caused by: java.lang.NumberFormatException: For input string: "dirt"
12.08 23:39:50 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_211]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:820) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.sleepForTick(MinecraftServer.java:886) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeAll(SourceFile:103) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.executeNext(MinecraftServer.java:903) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.aX(MinecraftServer.java:910) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeNext(SourceFile:118) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeTask(SourceFile:144) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.TickTask.run(SourceFile:18) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.PacketPlayInUpdateSign.a(SourceFile:10) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.PacketPlayInUpdateSign.a(SourceFile:44) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:2381) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:514) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:529) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO org.bukkit.event.EventException: null
12.08 23:39:50 [Server] Server thread/ERROR Could not pass event SignChangeEvent to Essentials v2.17.1.0

Full output of /ess version:

Any advice?

commented

In addition, could you update to the latest build to see if the issue is resolved?

commented

Stacktrace oriented the correct direction:

12.08 23:39:50 [Server] Server thread/ERROR Could not pass event SignChangeEvent to Essentials v2.17.1.0
12.08 23:39:50 [Server] INFO org.bukkit.event.EventException: null
12.08 23:39:50 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:529) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:514) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:2381) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.PacketPlayInUpdateSign.a(SourceFile:44) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.PacketPlayInUpdateSign.a(SourceFile:10) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.TickTask.run(SourceFile:18) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeTask(SourceFile:144) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeNext(SourceFile:118) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.aX(MinecraftServer.java:910) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.executeNext(MinecraftServer.java:903) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeAll(SourceFile:103) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.sleepForTick(MinecraftServer.java:886) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:820) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_211]
12.08 23:39:50 [Server] INFO Caused by: java.lang.NumberFormatException: For input string: "dirt"
12.08 23:39:50 [Server] INFO at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:1.8.0_211]
12.08 23:39:50 [Server] INFO at java.lang.Integer.parseInt(Integer.java:580) ~[?:1.8.0_211]
12.08 23:39:50 [Server] INFO at java.lang.Integer.parseInt(Integer.java:615) ~[?:1.8.0_211]
12.08 23:39:50 [Server] INFO at com.earth2me.essentials.api.IItemDb.getFromLegacy(IItemDb.java:138) ~[?:?]
12.08 23:39:50 [Server] INFO at com.earth2me.essentials.signs.EssentialsSign.getItemStack(EssentialsSign.java:350) ~[?:?]
12.08 23:39:50 [Server] INFO at com.earth2me.essentials.signs.SignTrade.getTrade(SignTrade.java:244) ~[?:?]
12.08 23:39:50 [Server] INFO at com.earth2me.essentials.signs.SignTrade.onSignCreate(SignTrade.java:29) ~[?:?]
12.08 23:39:50 [Server] INFO at com.earth2me.essentials.signs.EssentialsSign.onSignCreate(EssentialsSign.java:58) ~[?:?]
12.08 23:39:50 [Server] INFO at com.earth2me.essentials.signs.SignBlockListener.onSignSignChange(SignBlockListener.java:130) ~[?:?]
12.08 23:39:50 [Server] INFO at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?]
12.08 23:39:50 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_211]
12.08 23:39:50 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_211]
12.08 23:39:50 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
12.08 23:39:50 [Server] INFO ... 17 more
commented

Could you post the full output of /ess version?

commented

In addition, could you update to the latest build to see if the issue is resolved?

Ty it worked

commented

This has been fixed in the latest build.