question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Train Carts failed to load on 1.8.8

See original GitHub issue

Info

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:closed
  • Created 2 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
HowardZHYcommented, Mar 1, 2022

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: @.***>

0reactions
HowardZHYcommented, Mar 4, 2022

Fixed πŸ˜ƒ plz upgrade new builds on spigotmc asap , so other ppl wont meet this issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spigot - TrainCarts 1.8 | Page 10 - High Performance Minecraft
Both carts are unable to make the 180 degree turn, however, this only seems to affect certain directions, as the cart on the...
Read more >
Minecraft mine cart troubles - Arqade - Stack Exchange
Using activator rails causes shaking and, sometimes, ejects the player character from the mine cart. You only need the activator rails toΒ ...
Read more >
Rail - Minecraft Wiki
Rails are non-solid blocks that provide a path along which minecarts can travel. Rails can be mined with anything, but pickaxes are the...
Read more >
Laying Train Track Immersive Railroading
Laying Train Track Immersive Railroading ... Data pack validation failed. ... TransformationServiceDecorator/MODLAUNCHER]: Loading service mixin [14Dec2022Β ...
Read more >
Association of American Railroads AAR SCALE HANDBOOK ...
A Test Weight Load, as the term is used herein, is a railroad car or cart constructed, operated, and maintained according to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found