Train Carts failed to load on 1.8.8
See original GitHub issueInfo
Please provide the following information:
- BkCommonLib Version (
/train version
): 1.18.1v3b1254 - TrainCarts Version (
/train version
): 1.18.1v4b1082 - Server Type and Version (
/version
):BurritoSpigot 1.8.8
Bug
Description
Please replace this sentence with a detailed description of what exactly happens that you consider a bug.
Try to explain it as if you would tell a friend.
Failed to load on BurritoSpigot 1.8.8
Expected behaviour
What do you expect TrainCarts to do? load without error
Actual behaviour
What is TrainCarts doing instead? [12:35:43 INFO]: [Train_Carts] Enabling Train_Carts v1.18.1-v4-SNAPSHOT [12:35:44 ERROR]: [BKCommonLib] Failed to compile method body ([source error] cannot find constructor net.minecraft.server.v1_8_R3.PacketPlayOutPosition(double,double,double,float,float,java.util.HashSet,int)): [12:35:44 ERROR]: [BKCommonLib] public void sendPos(net.minecraft.server.v1_8_R3.PlayerConnection instance,double x,double y,double z) { { java.util.HashSet flags = new java.util.HashSet(); flags.add(PacketPlayOutPosition$EnumPlayerTeleportFlags.X_ROT); flags.add(PacketPlayOutPosition$EnumPlayerTeleportFlags.Y_ROT); instance.sendPacket((Packet) new PacketPlayOutPosition(x, y, z, 0.0f, 0.0f, flags, 0)); } return;} [12:35:44 ERROR]: [BKCommonLib] Failed to initialize net.minecraft.server.network.PlayerConnection net.minecraft.server.network.PlayerConnection.sendPos java.lang.RuntimeException: An exception occurred Caused by: com.bergerkiller.mountiplex.dep.javassist.compiler.CompileError: cannot find constructor net.minecraft.server.v1_8_R3.PacketPlayOutPosition(double,double,double,float,float,java.util.HashSet,int) at com.bergerkiller.mountiplex.dep.javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:777) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.dep.javassist.compiler.TypeChecker.atNewExpr(TypeChecker.java:171) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.dep.javassist.compiler.ast.NewExpr.accept(NewExpr.java:75) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.dep.javassist.compiler.TypeChecker.atCastExpr(TypeChecker.java:572) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.dep.javassist.compiler.JvstTypeChecker.atCastExpr(JvstTypeChecker.java:116) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.dep.javassist.compiler.ast.CastExpr.accept(CastExpr.java:59) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.dep.javassist.compiler.JvstTypeChecker.atMethodArgs(JvstTypeChecker.java:235) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.dep.javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:763) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.reflection.util.asm.javassist.MPLJvstTypeChecker.atCallExprSuppressLookup(MPLJvstTypeChecker.java:113) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.reflection.util.asm.javassist.MPLJvstTypeChecker.atCallExpr(MPLJvstTypeChecker.java:40) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.dep.javassist.compiler.ast.CallExpr.accept(CallExpr.java:49) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.dep.javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:266) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.dep.javassist.compiler.CodeGen.atStmnt(CodeGen.java:360) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.dep.javassist.compiler.ast.Stmnt.accept(Stmnt.java:53) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.dep.javassist.compiler.CodeGen.atStmnt(CodeGen.java:381) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.dep.javassist.compiler.ast.Stmnt.accept(Stmnt.java:53) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.dep.javassist.compiler.CodeGen.atStmnt(CodeGen.java:381) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.dep.javassist.compiler.ast.Stmnt.accept(Stmnt.java:53) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.dep.javassist.compiler.CodeGen.atMethodBody(CodeGen.java:321) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.dep.javassist.compiler.CodeGen.atMethodDecl(CodeGen.java:303) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.dep.javassist.compiler.ast.MethodDecl.accept(MethodDecl.java:47) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.dep.javassist.compiler.Javac.compileMethod(Javac.java:175) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.dep.javassist.compiler.Javac.compile(Javac.java:102) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.reflection.util.asm.javassist.MPLCtNewMethod.make(MPLCtNewMethod.java:32) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.reflection.util.fast.GeneratedCodeInvoker.makeMethodAndLog(GeneratedCodeInvoker.java:45) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.reflection.util.fast.GeneratedCodeInvoker.create(GeneratedCodeInvoker.java:261) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.reflection.util.fast.InitInvoker$InitGeneratedCodeInvoker.create(InitInvoker.java:318) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.reflection.util.fast.InitInvoker.initializeInvoker(InitInvoker.java:75) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.reflection.util.fast.Invoker.forceInitialization(Invoker.java:25) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.reflection.declarations.Template$AbstractMethod.forceInitialization(Template.java:819) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.mountiplex.reflection.declarations.Template$Class.forceInitialization(Template.java:168) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.bukkit.common.entity.CommonEntity.lambda$static$0(CommonEntity.java:79) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.bukkit.common.bases.CheckedDeferredSupplier$InitializingSupplier.get(CheckedDeferredSupplier.java:107) [BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.bukkit.common.bases.CheckedDeferredSupplier.get(CheckedDeferredSupplier.java:62) [BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.bukkit.common.entity.CommonEntity.forceControllerInitialization(CommonEntity.java:101) [BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.bukkit.tc.TrainCarts.forceInitialization(TrainCarts.java:813) [TrainCarts-1.18.1-v4-SNAPSHOT-1082.jar:?] at com.bergerkiller.bukkit.tc.TrainCarts.enable(TrainCarts.java:490) [TrainCarts-1.18.1-v4-SNAPSHOT-1082.jar:?] at com.bergerkiller.bukkit.common.PluginBase.onEnable(PluginBase.java:840) [BKCommonLib-1.18.1-v3-1254.jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:359) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:318) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:408) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:372) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:327) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:267) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:563) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_311] [12:35:44 ERROR]: Failed to initialize some entity controller logic java.lang.IllegalStateException: Not all members of template for net.minecraft.server.network.PlayerConnection could be initialized! at com.bergerkiller.mountiplex.reflection.declarations.Template$Class.forceInitialization(Template.java:203) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.bukkit.common.entity.CommonEntity.lambda$static$0(CommonEntity.java:79) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.bukkit.common.bases.CheckedDeferredSupplier$InitializingSupplier.get(CheckedDeferredSupplier.java:107) [BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.bukkit.common.bases.CheckedDeferredSupplier.get(CheckedDeferredSupplier.java:62) [BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.bukkit.common.entity.CommonEntity.forceControllerInitialization(CommonEntity.java:101) [BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.bukkit.tc.TrainCarts.forceInitialization(TrainCarts.java:813) [TrainCarts-1.18.1-v4-SNAPSHOT-1082.jar:?] at com.bergerkiller.bukkit.tc.TrainCarts.enable(TrainCarts.java:490) [TrainCarts-1.18.1-v4-SNAPSHOT-1082.jar:?] at com.bergerkiller.bukkit.common.PluginBase.onEnable(PluginBase.java:840) [BKCommonLib-1.18.1-v3-1254.jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:359) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:318) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:408) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:372) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:327) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:267) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:563) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_311] [12:35:44 ERROR]: [Train_Carts] An error occurred while enabling, the plugin will be disabled: java.lang.UnsupportedOperationException: Failed to initialize at com.bergerkiller.bukkit.common.entity.CommonEntity.forceControllerInitialization(CommonEntity.java:103) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.bukkit.tc.TrainCarts.forceInitialization(TrainCarts.java:813) ~[TrainCarts-1.18.1-v4-SNAPSHOT-1082.jar:?] at com.bergerkiller.bukkit.tc.TrainCarts.enable(TrainCarts.java:490) ~[TrainCarts-1.18.1-v4-SNAPSHOT-1082.jar:?] at com.bergerkiller.bukkit.common.PluginBase.onEnable(PluginBase.java:840) [BKCommonLib-1.18.1-v3-1254.jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:359) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:318) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:408) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:372) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:327) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:267) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:563) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_311] Caused by: java.lang.IllegalStateException: Not all members of template for net.minecraft.server.network.PlayerConnection could be initialized! at com.bergerkiller.mountiplex.reflection.declarations.Template$Class.forceInitialization(Template.java:203) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.bukkit.common.entity.CommonEntity.lambda$static$0(CommonEntity.java:79) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.bukkit.common.bases.CheckedDeferredSupplier$InitializingSupplier.get(CheckedDeferredSupplier.java:107) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.bukkit.common.bases.CheckedDeferredSupplier.get(CheckedDeferredSupplier.java:62) ~[BKCommonLib-1.18.1-v3-1254.jar:?] at com.bergerkiller.bukkit.common.entity.CommonEntity.forceControllerInitialization(CommonEntity.java:101) ~[BKCommonLib-1.18.1-v3-1254.jar:?] β¦ 14 more [12:35:44 ERROR]: Error occurred while enabling Train_Carts v1.18.1-v4-SNAPSHOT (Is it up to date?) java.lang.NullPointerException: null at com.bergerkiller.bukkit.common.PluginBase.onCriticalStartupFailure(PluginBase.java:1001) ~[?:?] at com.bergerkiller.bukkit.common.PluginBase.onEnable(PluginBase.java:859) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:359) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:318) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:408) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:372) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:327) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:267) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:563) [BurritoSpigot.jar:git-BurritoSpigot-βa9e02a5β] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_311] [12:35:44 INFO]: [Train_Carts] Disabling Train_Carts v1.18.1-v4-SNAPSHOT [12:35:44 INFO]: [Train_Carts] Saving plugins\Train_Carts\PermissionDefaults.ymlβ¦ [12:35:44 INFO]: [Train_Carts] Saving plugins\Train_Carts\Localization.ymlβ¦
Steps to reproduce
Please list the steps to take, in order to reproduce the bug.
Additional Information
Any additional information we should know of?
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top GitHub Comments
Burrito is a fork of TacoSpigot
At 2022-03-01 16:19:48, βIrmo van den Bergeβ @.***> wrote:
Not heard of burritospigot before, so thatll be why. So many forks with funny names lol.
Ill see what I can do
β Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>
Fixed π plz upgrade new builds on spigotmc asap , so other ppl wont meet this issue