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.

Shift slapping inconsistent, console spammed with errors

See original GitHub issue
BkCommonLib version: 1.13.2-v3
TrainCarts version: 1.13.2-v1
Spigot version: 1.13.2

Problem or bug: When I spawn any train and get it moving, the console gets flooded with error messages. And also shift slapping inconsistent. Works for some trains, breaks the train for some. The following error message gets printed around 20 times per second.

[17:44:56 ERROR]: [Train_Carts] Failed to perform physics on train 'CRA01M1' at world_568_51_-133:
[17:44:56 ERROR]: [Train_Carts] Encountered a critical error
[17:44:56 ERROR]: [Train_Carts] Please, check for an updated version of Train_Carts before reporting this bug!
[17:44:56 ERROR]: [BKCommonLib] java.lang.AbstractMethodError: com.bergerkiller.generated.net.minecraft.server.EntityHandle.isLoaded()Z
[17:44:56 ERROR]: [BKCommonLib]   at com.bergerkiller.bukkit.common.bases.ExtendedEntity.isInLoadedChunk(ExtendedEntity.java:451)
[17:44:56 ERROR]: [BKCommonLib]   at com.bergerkiller.bukkit.tc.controller.MinecartGroup.doPhysics(MinecartGroup.java:1403)
[17:44:56 ERROR]: [BKCommonLib]   at com.bergerkiller.bukkit.tc.controller.MinecartMember.onTick(MinecartMember.java:1906)
[17:44:56 ERROR]: [BKCommonLib]   at com.bergerkiller.bukkit.common.internal.hooks.EntityHook.onTick(EntityHook.java:118)
[17:44:56 ERROR]: [BKCommonLib]   at com.bergerkiller.mountiplex.reflection.util.fast.GeneratedInvoker$mplgen63d75313.invokeVA(Unknown Source)
[17:44:56 ERROR]: [BKCommonLib]   at com.bergerkiller.mountiplex.reflection.util.FastMethod.invokeVA(FastMethod.java:112)
[17:44:56 ERROR]: [BKCommonLib]   at com.bergerkiller.mountiplex.reflection.ClassInterceptor$CallbackMethodInterceptor.intercept(ClassInterceptor.java:655)
[17:44:56 ERROR]: [BKCommonLib]   at net.minecraft.server.v1_13_R2.EntityMinecartRideable$$EnhancerByCGLIB$$2b1c6f57.tick(<generated>)
[17:44:56 ERROR]: [BKCommonLib]   at net.minecraft.server.v1_13_R2.World.entityJoinedWorld(World.java:1331)
[17:44:56 ERROR]: [BKCommonLib]   at net.minecraft.server.v1_13_R2.World.g(World.java:1298)
[17:44:56 ERROR]: [BKCommonLib]   at net.minecraft.server.v1_13_R2.World.tickEntities(World.java:1132)
[17:44:56 ERROR]: [BKCommonLib]   at net.minecraft.server.v1_13_R2.WorldServer.tickEntities(WorldServer.java:583)
[17:44:56 ERROR]: [BKCommonLib]   at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:968)
[17:44:56 ERROR]: [BKCommonLib]   at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417)
[17:44:56 ERROR]: [BKCommonLib]   at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:831)
[17:44:56 ERROR]: [BKCommonLib]   at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:729)
[17:44:56 ERROR]: [BKCommonLib]   at java.lang.Thread.run(Unknown Source)

Expected behaviour: Run smoothly

Steps to reproduce:

-Make a fresh server -Install BKC and TC -Make an automated system using signs -Spawn trains on your freshly made line -Look at the console

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
bergerkillercommented, Jul 6, 2019

I was mistaken, it was turkish not arabic causing that. There’s a rather infamous problem in Java when you use toLowerCase/toUpperCase without explicitly mentioning English locale: http://mattryall.net/blog/2009/02/the-infamous-turkish-locale-bug

Basically, the ‘i’ in ‘IsLoaded’ disappears and mismatches what is found in the pregenerated template files. I did indeed forget to put the english locale in some places. This should patch that: https://ci.mg-dev.eu/job/BKCommonLib/569/

0reactions
ErenTDcommented, Jul 6, 2019

Oh, my bad. Totally forgot about signlink. Updated it and now everything is fine. Sorry for the hassle.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Apex Legends Season 13 CONSOLE ONLY Discussion ...
There is really bad input lag between console and controller. I play on xbox and I spam fire the p2020 and it is...
Read more >
Light Attack Weaving on Console - Elder Scrolls Online forums
Give the skill time to breathe, so to speak If you try to just spam through it, your light attacks won't fire.
Read more >
Input System bugs - Unity Forum
Hi, I've been trying the new input system and so far I really like it! It's hard to pick something specific, as I...
Read more >
How To Fix Busybox Initramfs Error On Ubuntu - OSTechNix
This brief guide explains how to fix Busybox Initramfs error on Ubuntu. To solve initramfs error, repair the filesystem using fsck command.
Read more >
Troubleshoot the Ops Agent - Monitoring - Google Cloud
This document helps you diagnose problems in the installation or running of the Ops Agent. Agent diagnostics tool for VMs. The agent diagnostics...
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