SteamWar/BauSystem2.0
Archiviert
12
0

NPE: Getting script Constants #153

Geschlossen
2023-03-07 16:58:17 +01:00 von YoyoNow geöffnet · 1 Kommentar
Besitzer
java.lang.NullPointerException: Cannot invoke "java.util.Map.get(java.lang.Object)" because "de.steamwar.bausystem.features.script.variables.Constants.CONSTANTS" is null
	at bausystem2.0.jar//de.steamwar.bausystem.features.script.variables.Constants.getConstant(Constants.java:324)
	at bausystem2.0.jar//de.steamwar.bausystem.features.script.command.variable.Const.execute(Const.java:70)
	at bausystem2.0.jar//de.steamwar.bausystem.features.script.ScriptExecutor.resume(ScriptExecutor.java:135)
	at bausystem2.0.jar//de.steamwar.bausystem.features.script.ScriptExecutor.<init>(ScriptExecutor.java:65)
	at bausystem2.0.jar//de.steamwar.bausystem.features.script.ScriptExecutor.<init>(ScriptExecutor.java:51)
	at bausystem2.0.jar//de.steamwar.bausystem.features.script.ScriptListener.onLeftClick(ScriptListener.java:48)
	at bausystem2.0.jar//de.steamwar.bausystem.linkage.LinkageUtils$$Lambda$6346/0x0000000021291220.accept(Unknown Source)
	at bausystem2.0.jar//de.steamwar.bausystem.linkage.LinkageUtils.lambda$PlayerInteractEvent$16(LinkageUtils.java:867)
	at bausystem2.0.jar//de.steamwar.bausystem.linkage.LinkageUtils$$Lambda$6149/0x00000000210e7c40.execute(Unknown Source)
``` java.lang.NullPointerException: Cannot invoke "java.util.Map.get(java.lang.Object)" because "de.steamwar.bausystem.features.script.variables.Constants.CONSTANTS" is null at bausystem2.0.jar//de.steamwar.bausystem.features.script.variables.Constants.getConstant(Constants.java:324) at bausystem2.0.jar//de.steamwar.bausystem.features.script.command.variable.Const.execute(Const.java:70) at bausystem2.0.jar//de.steamwar.bausystem.features.script.ScriptExecutor.resume(ScriptExecutor.java:135) at bausystem2.0.jar//de.steamwar.bausystem.features.script.ScriptExecutor.<init>(ScriptExecutor.java:65) at bausystem2.0.jar//de.steamwar.bausystem.features.script.ScriptExecutor.<init>(ScriptExecutor.java:51) at bausystem2.0.jar//de.steamwar.bausystem.features.script.ScriptListener.onLeftClick(ScriptListener.java:48) at bausystem2.0.jar//de.steamwar.bausystem.linkage.LinkageUtils$$Lambda$6346/0x0000000021291220.accept(Unknown Source) at bausystem2.0.jar//de.steamwar.bausystem.linkage.LinkageUtils.lambda$PlayerInteractEvent$16(LinkageUtils.java:867) at bausystem2.0.jar//de.steamwar.bausystem.linkage.LinkageUtils$$Lambda$6149/0x00000000210e7c40.execute(Unknown Source) ```
YoyoNow hat die Labels
Bug
1.19
Einsteiger Freundlich
2023-03-07 16:58:17 +01:00 hinzugefügt
Autor
Besitzer
java.lang.NullPointerException: Cannot invoke "java.util.function.Function.apply(java.lang.Object)" because the return value of "java.util.Map.get(java.lang.Object)" is null
	at bausystem2.0.jar//de.steamwar.bausystem.features.script.variables.Constants.getConstant(Constants.java:309)
	at bausystem2.0.jar//de.steamwar.bausystem.features.script.command.variable.Const.execute(Const.java:70)
	at bausystem2.0.jar//de.steamwar.bausystem.features.script.ScriptExecutor.resume(ScriptExecutor.java:157)
	at bausystem2.0.jar//de.steamwar.bausystem.features.script.ScriptExecutor.<init>(ScriptExecutor.java:84)
	at bausystem2.0.jar//de.steamwar.bausystem.features.script.ScriptExecutor.<init>(ScriptExecutor.java:67)
	at bausystem2.0.jar//de.steamwar.bausystem.features.script.ScriptListener.onLeftClick(ScriptListener.java:47)
	at bausystem2.0.jar//de.steamwar.bausystem.linkage.LinkageUtils$$Lambda$5578/0x000000007b0ce798.accept(Unknown Source)
	at bausystem2.0.jar//de.steamwar.bausystem.linkage.LinkageUtils.lambda$PlayerInteractEvent$4(LinkageUtils.java:506)
	at bausystem2.0.jar//de.steamwar.bausystem.linkage.LinkageUtils$$Lambda$5579/0x000000007b0ce980.execute(Unknown Source)
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:670)
	at org.bukkit.craftbukkit.v1_19_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:544)
	at org.bukkit.craftbukkit.v1_19_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:507)
	at org.bukkit.craftbukkit.v1_19_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:502)
	at org.bukkit.craftbukkit.v1_19_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:498)
	at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2756)
	at net.minecraft.network.protocol.game.PacketPlayInArmAnimation.a(PacketPlayInArmAnimation.java:25)
	at net.minecraft.network.protocol.game.PacketPlayInArmAnimation.a(PacketPlayInArmAnimation.java:11)
	at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$1(PlayerConnectionUtils.java:51)
	at net.minecraft.network.protocol.PlayerConnectionUtils$$Lambda$6777/0x000000007b82c048.run(Unknown Source)
	at net.minecraft.server.TickTask.run(TickTask.java:18)
	at net.minecraft.util.thread.IAsyncTaskHandler.d(IAsyncTaskHandler.java:153)
	at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(IAsyncTaskHandlerReentrant.java:24)
	at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1362)
	at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:186)
	at net.minecraft.util.thread.IAsyncTaskHandler.x(IAsyncTaskHandler.java:126)
	at net.minecraft.server.MinecraftServer.bh(MinecraftServer.java:1339)
	at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1332)
	at net.minecraft.util.thread.IAsyncTaskHandler.c(IAsyncTaskHandler.java:136)
	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1310)
	at net.minecraft.server.MinecraftServer.v(MinecraftServer.java:1198)
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:306)
	at net.minecraft.server.MinecraftServer$$Lambda$4002/0x0000000000000000.run(Unknown Source)
	at java.base/java.lang.Thread.run(Thread.java:884)
``` java.lang.NullPointerException: Cannot invoke "java.util.function.Function.apply(java.lang.Object)" because the return value of "java.util.Map.get(java.lang.Object)" is null at bausystem2.0.jar//de.steamwar.bausystem.features.script.variables.Constants.getConstant(Constants.java:309) at bausystem2.0.jar//de.steamwar.bausystem.features.script.command.variable.Const.execute(Const.java:70) at bausystem2.0.jar//de.steamwar.bausystem.features.script.ScriptExecutor.resume(ScriptExecutor.java:157) at bausystem2.0.jar//de.steamwar.bausystem.features.script.ScriptExecutor.<init>(ScriptExecutor.java:84) at bausystem2.0.jar//de.steamwar.bausystem.features.script.ScriptExecutor.<init>(ScriptExecutor.java:67) at bausystem2.0.jar//de.steamwar.bausystem.features.script.ScriptListener.onLeftClick(ScriptListener.java:47) at bausystem2.0.jar//de.steamwar.bausystem.linkage.LinkageUtils$$Lambda$5578/0x000000007b0ce798.accept(Unknown Source) at bausystem2.0.jar//de.steamwar.bausystem.linkage.LinkageUtils.lambda$PlayerInteractEvent$4(LinkageUtils.java:506) at bausystem2.0.jar//de.steamwar.bausystem.linkage.LinkageUtils$$Lambda$5579/0x000000007b0ce980.execute(Unknown Source) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:670) at org.bukkit.craftbukkit.v1_19_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:544) at org.bukkit.craftbukkit.v1_19_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:507) at org.bukkit.craftbukkit.v1_19_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:502) at org.bukkit.craftbukkit.v1_19_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:498) at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2756) at net.minecraft.network.protocol.game.PacketPlayInArmAnimation.a(PacketPlayInArmAnimation.java:25) at net.minecraft.network.protocol.game.PacketPlayInArmAnimation.a(PacketPlayInArmAnimation.java:11) at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$1(PlayerConnectionUtils.java:51) at net.minecraft.network.protocol.PlayerConnectionUtils$$Lambda$6777/0x000000007b82c048.run(Unknown Source) at net.minecraft.server.TickTask.run(TickTask.java:18) at net.minecraft.util.thread.IAsyncTaskHandler.d(IAsyncTaskHandler.java:153) at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(IAsyncTaskHandlerReentrant.java:24) at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1362) at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:186) at net.minecraft.util.thread.IAsyncTaskHandler.x(IAsyncTaskHandler.java:126) at net.minecraft.server.MinecraftServer.bh(MinecraftServer.java:1339) at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1332) at net.minecraft.util.thread.IAsyncTaskHandler.c(IAsyncTaskHandler.java:136) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1310) at net.minecraft.server.MinecraftServer.v(MinecraftServer.java:1198) at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:306) at net.minecraft.server.MinecraftServer$$Lambda$4002/0x0000000000000000.run(Unknown Source) at java.base/java.lang.Thread.run(Thread.java:884) ```
Chaoscaot hat diesen Issue 2023-07-17 23:22:49 +02:00 geschlossen
Dieses Repo ist archiviert. Du kannst Issues nicht kommentieren.
Kein Meilenstein
Kein Projekt
Niemand zuständig
1 Beteiligte
Fällig am
Das Fälligkeitsdatum ist ungültig oder außerhalb des zulässigen Bereichs. Bitte verwende das Format „jjjj-mm-tt“.

Kein Fälligkeitsdatum gesetzt.

Abhängigkeiten

Keine Abhängigkeiten gesetzt.

Referenz: SteamWar/BauSystem2.0#153
Keine Beschreibung angegeben.