Minecraft Transit Railway (Automated trains, planes, and more!)

Minecraft Transit Railway (Automated trains, planes, and more!)

1M Downloads

Disappearing Track and Station Data/Dashboard not opening in some circumstances

Dickovski opened this issue ยท 64 comments

commented

Before reporting, I have confirmed that

  • This bug does not appear to be reported in the Issues page before.
  • This bug still exist in the latest version of the MTR Mod.
  • I have tested this in the official version of MTR, not a modified/custom/unofficial build.

Describe the Bug

I have 4 stations with trains running between them, whenever I open Minecraft, and sometimes when I am moving around the world, the track is not visible and all of the station indicators (LT signs and passenger information show nothing (see screenshot). Yet the trains continue to function. If I go to the middle station the track can usually be seen and if I then travel along the track, either on a passing train or manually, the track will appear in places where it was not visible before. I have stripped out all other mods and just run the MTR mods on their own but this does not fix the issue.
2024-07-02_11 30 23

Reproduction Steps

N/A

In-game Log/Crash Report

No crashes reported

Mod Loader

Minecraft Forge

Minecraft Version

1.20.1

MTR Version

4.0.0

Operating System

Windows 11

List of mods/modpack you were using

Loads but stripped back with only MTR showed same problem

Extra Informations

No response

commented

Can you please attach logs? Thanks.

commented

Further issues. Whenever I try to add another siding or platform the dashboard no longer works (right-click does nothing). This is also the case for the other dashboards as well. I tried setting up a cable car system, before setting up a siding I tested the dashboard, it worked, then I put a siding in place, the dashboard no longer functioned. This may not be connected to the previous disappearing track issue.

commented

I also got the same problem :( Tried to connect rails, but the rails disappeared... Also right clicked the dashboard and nothing popped up

commented

latest.log
Same issue here...
As soon as the tracks did disappear, i saved the game so you should find the errors near the end!

I hope this helps <3!

commented

When you move far away and then come back with spectator it sometimes fixes itself, but that shoulnd't be the solution... :)

commented

I have the same issue, can not open any dashboard at all. Altough Train running fine

commented

We have the same issue on a somewhat modded server. Lines were running just fine until we restarted the server.
Edit: Apparently the lines were only working for me (I am hosting the server dedicated, so not on my system), not for other players.
The depots still update, but every line is down to 20km/h, the tracks are gone and we get seizure inducing teleportation issues while boarding/driving.

commented

I have the same issue, but I noticed that it happens only at my largest station, where there are a lot of tracks and dynamic elements. It could be caused by slow CPU processing since there are no issues on small stops and my computer is not the strongest one...

commented

Don't think it can be a slow CPU, I have a very new PC with fast gaming processor and plenty of memory.

commented

No it happens on fast CPUs too, it does seem to often be caused by problems with storage capacity but that's definitely not always the case.

commented

Same issue here...

I have a dedicated Linux server only for the Server, which does not get turned off, but if I build some rails and then disconnect form the server, when I join back all rails are invisible and info panels in stations does not work.

However, the trains are running properly but with 20km speed, sometimes teleporting to the stations. The issue also happens without disconnecting from the server.

Interestingly, if I create new rails or replace the disappeared ones they are rendered in the world. Restarting client and server does not make any difference. Yesterday they appeared on their own while playing, today they have not appeared at all.

The bellow screenshots are from a large and busy station and a very small one thousands of blocks away.

image
image

commented

Still waiting to see if the bug fixes are coming, lots of people commenting on the issues that they've found but no answers coming back the other way. This is such a potentially brilliant mod that I keep on adding miles of track, stations, etc. in the hope that it will all be fixed at some point, hopefully not too long in the future...

commented

Not a developer, but to the best of my knowledge, these problems are not really reproducible unfortunately (And neither on my side either, it seems to be running fine with a dedicated server)

It'd be curious to see which Modloader and Minecraft version all people here are running on.
If there's something in common, that would probably nail it down a bit.
(Also any client/server log would probably help as well)

commented

I am running a 1.20.1 server with Forge 47.2.0
Server and Client logs attached bellow.
MC server logs.zip
MC client logs.zip

commented

might do some more looking

commented

idk it says nullpointerexception on mine

commented

weird

commented

From my understanding of the packet overflow issue:
When the data needed to be sent hits the packet size limit, MC Mappings automatically splits the packet, then sent to the client.
When the client receives it, it reads and increments the PacketBufferReceiver counter until all parts are received, after that the packet is constructed.

On specifically Forge 1.19.4 & Forge 1.20.1, for some reason on some system configuration, the packets received can be duplicated (So for example if the packet is split into two, the client receives the 1st packet twice, and the 2nd packet twice, total 4 times).
This resulted in the counter being incremented 4 times (1/2) (2/2) (3/2) (4/2)
When the counter reaches 2/2, it deems the packet-reading is finished, even though both packets are the content from 1st packet, and the packet data is therefore cut-off.

commented

I have some data
I can share the world maybe and the json data

commented

@Kenny-Hui ezyzip.zip
here's the data if u need it

commented

one route on mine works at good speed but the others (the other routes) don't

commented

Can open the dashboard with no issue here, weird
Trains does seems to depart from the depot, but seems to be somewhat inconsistent

commented

This is a beta release which is not meant for production yet. If you are just a normal player without a strong desire for MTR 4's offering, please just consider using MTR 3.2.2 which is much more stable in-terms of having functionalities working. I think I've identified the bugs that could be causing this, but at the end of the day there's only 1 developer working on this mod.

which is??? (developer)

commented

Had repeating NullPointerException on my server, behaved similarly to this report. Missing tracks, non-functioning dashboard, etc. Unfortunately I do not have the world file, as it was accidentally wiped due to an operator error (see issue/suggestion #962) but I do have the error stack by way of the server log:

[12:05:29] [Server thread/FATAL]: 
java.lang.NullPointerException: Cannot read field "node" because the return value of "org.mtr.core.tool.Utilities.getElement(java.util.List, int)" is null
	at org.mtr.core.path.SidingPathFinder.padConnectionDetailsList(SidingPathFinder.java:178) ~[MTR-fabric-4.0.0-beta-9+1.20.1.jar:?]
	at org.mtr.core.path.SidingPathFinder.tick(SidingPathFinder.java:73) ~[MTR-fabric-4.0.0-beta-9+1.20.1.jar:?]
	at org.mtr.core.path.SidingPathFinder.findPathTick(SidingPathFinder.java:127) ~[MTR-fabric-4.0.0-beta-9+1.20.1.jar:?]
	at org.mtr.core.data.Siding.tick(Siding.java:212) ~[MTR-fabric-4.0.0-beta-9+1.20.1.jar:?]
	at java.util.Collection.removeIf(Collection.java:583) ~[?:?]
	at org.mtr.core.simulation.Simulator.tick(Simulator.java:100) ~[MTR-fabric-4.0.0-beta-9+1.20.1.jar:?]
	at org.mtr.libraries.it.unimi.dsi.fastutil.objects.ObjectImmutableList.forEach(ObjectImmutableList.java:219) ~[MTR-fabric-4.0.0-beta-9+1.20.1.jar:?]
	at org.mtr.core.Main.manualTick(Main.java:80) ~[MTR-fabric-4.0.0-beta-9+1.20.1.jar:?]
	at org.mtr.mod.Init.lambda$init$13(Init.java:216) ~[MTR-fabric-4.0.0-beta-9+1.20.1.jar:?]
	at org.mtr.mapping.registry.EventRegistry.lambda$registerStartServerTick$4(EventRegistry.java:41) ~[MTR-fabric-4.0.0-beta-9+1.20.1.jar:?]
	at net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents.lambda$static$0(ServerTickEvents.java:34) ~[fabric-lifecycle-events-v1-2.2.2+1802ada577-15099849194dcb7e.jar:?]
	at net.minecraft.server.MinecraftServer.handler$cha000$fabric-lifecycle-events-v1$onStartTick(MinecraftServer.java:6857) ~[server-intermediary.jar:?]
	at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:824) ~[server-intermediary.jar:?]
	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:671) ~[server-intermediary.jar:?]
	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265) ~[server-intermediary.jar:?]
	at java.lang.Thread.run(Thread.java:1583) ~[?:?]

This error repeated at least once a second.

Server was/is running Debian Linux - Minecraft 1.20.1, Fabric Loader 0.15.11, latest Beta 9 version of MTR - as part of a heavily modified version of the Quantum Freedom 2 modpack (to be clear, the pack was modified, not MTR or any of the mods linked to MTR).

This issue is for client-related errors
Please open a separate issue for that, thanks.

commented

[20Sept2024 15:44:54.234] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.242] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.252] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.263] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.273] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.283] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.292] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.302] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.312] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.324] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.333] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.342] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.353] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.362] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.374] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.382] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.392] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.403] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.412] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.422] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.432] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.443] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.452] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.463] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.472] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.484] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.492] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.502] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.513] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.524] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.533] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.542] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.554] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.562] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.573] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.583] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.592] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.602] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.612] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.623] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.632] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.642] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.652] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.664] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.674] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.682] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.694] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.702] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.712] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.722] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.734] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.742] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.752] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.763] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.772] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.782] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.792] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.803] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.813] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.822] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.832] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.844] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.852] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.862] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.873] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.882] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.893] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.902] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.914] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.922] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.932] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.943] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.952] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.963] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.972] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.983] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:54.992] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.002] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.012] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.024] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.032] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.042] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.053] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.062] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.072] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.084] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.093] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.102] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.112] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.123] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.134] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.142] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.152] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.163] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.172] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.182] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.192] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.204] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.212] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.224] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.233] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.242] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.252] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.263] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.274] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.283] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.292] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.303] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.313] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.324] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.332] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.343] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.352] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.362] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.372] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.384] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.392] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.402] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.413] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.424] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.432] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.442] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.453] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.463] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.474] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.483] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.494] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.503] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.514] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.523] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.532] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.542] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.552] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.564] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.574] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.582] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.593] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.602] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.613] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.623] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.633] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.642] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.652] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.662] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.674] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.682] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.692] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.703] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.712] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.722] [pool-176-thread-1/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.732] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.744] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.752] [pool-176-thread-3/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.762] [pool-176-thread-2/FATAL] [TransportSimulationCore/]:
java.lang.NullPointerException: null
[20Sept2024 15:44:55.773] [pool-176-thread-1/FATAL] [TransportSimulation

this is reported in 1.19.2 and it is appearing indefinitely

commented

Did another round of looking

  • It is reproducible with only MTR Mod installed
  • It only happens on Forge 1.19.4 and Forge 1.20.1
  • It is reproducible both in Singleplayer and client + dedicated server
  • Most of them have a common symptom, that the Dashboard cannot be opened.
  • Happens when packet need to be split due to size limit
  • Client only read the 1st packet

BROKEN IN 1.19.2

commented

it looks like it is over. if there is no bug fix soon I am going back to roblox

commented

This is a beta release which is not meant for production yet. If you are just a normal player without a strong desire for MTR 4's offering, please just consider using MTR 3.2.2 which is much more stable in-terms of having functionalities working.
I think I've identified the bugs that could be causing this, but at the end of the day there's only 1 developer working on this mod.

commented

ok but fix this in the meantime

commented

some of the log
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) ~[fmlloader-1.19.4-45.3.3.jar:?]
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.8.jar:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.8.jar:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.8.jar:?]
at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) ~[modlauncher-10.0.8.jar:?]
at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) ~[modlauncher-10.0.8.jar:?]
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.8.jar:?]
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.8.jar:?]
at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?]
[18:57:20] [Render thread/WARN]: Unknown custom packet identifier: mtr:packet
[18:57:21] [Render thread/WARN]: Unknown custom packet identifier: msd:packet
[18:57:21] [Render thread/ERROR]: Error executing task on Client
java.lang.NullPointerException: Cannot invoke "io.netty.buffer.ByteBuf.readChar()" because "this.byteBufArray[this.readIndex]" is null
at org.mtr.mapping.tool.PacketBufferReceiver.readChar(PacketBufferReceiver.java:35) ~[MTR-forge-4.0.0-beta-8+1.19.4.jar%23219!/:?]
at org.mtr.mapping.tool.PacketBufferReceiver.readString(PacketBufferReceiver.java:67) ~[MTR-forge-4.0.0-beta-8+1.19.4.jar%23219!/:?]

when I open the dashboard it returns nullpointerexception etc

commented

Can you test it on other Minecraft version and see if it works with the same copy of the world? (i.e. Forge 1.20.4, Fabric 1.19.4, Fabric 1.20.1 etc.)

commented

its hard because of technical reasons but I will try
note that world-changing datapacks (terralith dungeons and taverns etc) are still on and cannot be turned off
they are mostly still mods

commented

ok

commented

can I use a different mod loader because gdlauncher is broken on fabric

commented

Primarily I'd like to see whether this is version-dependent or not, the more version you can test the better, if you can't get it working that's fine.

commented

fine

commented

I will test them on curseforge

commented

the problem is my biome and structure datapacks might need one version for example if I have 5 datapacks with 1.19.3 forge support one is not 1.19.3 forge support and the world cannot load

commented

so idk but if someone else can do it then it is appreciated

commented

but I can say it was the same on fabric, but on 3.22 mtr it was fine, different modloaders have the same problem

commented

needs to be a bug fix asap

commented

also when I import fanmade mtr maps to 4.00 it is the same after a while

commented

Still don't know what caused it
I've tried migrating a MTR 3 world to MTR 4 and it works flawlessly here, using other's world also seems to work fine whereas they don't.
Whatever this bug is, it's probably somewhat system dependent. (Different computer have different results)

commented

wdym system dependent

commented

idk what else maybe I should do it on 3.2.2 but rail placement is bad

commented

maybe it is Unknown custom packet identifier: mtr:packet
with architectury api

commented

or this java.lang.NullPointerException: Cannot invoke "io.netty.buffer.ByteBuf.readChar()" because "this.byteBufArray[this.readIndex]" is null
without architectury api

commented

idk If @jonafanho was involved here and could make a bug fix

commented

maybe beta 9 will work

commented

no it is still the same problem in beta 9 :(

commented

I may know some solutions
chatgpt message
The error "Unknown custom packet identifier: mtr
" indicates that the Minecraft Transit Railway (MTR) mod is trying to send or receive a custom network packet that the game doesn't recognize.

Possible Causes:
Mod Version Mismatch: The MTR mod version you're using might not be compatible with the other mods or the version of Minecraft you're running.
Outdated Dependencies: The MTR mod might require specific dependencies, like Fabric API, to be up to date.
Server-Client Mismatch: If you're playing on a server, there could be a mismatch between the mods installed on the client and the server.
Steps to Fix:
Update the MTR Mod:

Ensure that you're using the latest version of the Minecraft Transit Railway (MTR) mod. Visit the mod's page and download the latest version compatible with your Minecraft version.
Update Fabric/Forge and Dependencies:

If you're using Fabric or Forge, ensure they are updated to the latest version, along with all required mod dependencies like Fabric API or Architectury.
Check for Mod Conflicts:

Ensure there are no conflicting mods that might interfere with MTR. Temporarily disable other mods to see if the error persists.
Server-Client Compatibility:

If you're on a server, make sure both the server and client have the exact same versions of MTR and its dependencies installed.
Reinstall Mods:

Try reinstalling the MTR mod and its dependencies to ensure there are no corrupted files.
By following these steps, you should be able to resolve the "unknown packet" issue with the MTR mod. Let me know if you need further assistance!

any next steps or is this it?

commented

The warning is not related
I can now reproduce this on my Windows machine, will see what's that about

commented

ok

commented

I put the issue on discord

commented

actually I will just make my world on 1.19.3 for now

commented

I see symptoms in forge 1.19.2

commented

IT HAPPENS ON 1.19.2 :( all my work deleted

net.minecraft.client.multiplayer.ClientPacketListener/]: Unknown custom packet identifier: mtr:packet
[19Sept2024 16:03:01.943] [Render thread/WARN] [net.minecraft.client.multiplayer.ClientPacketListener/]: Unknown custom packet identifier: mtr:packet
[19Sept2024 16:03:01.944] [Render thread/WARN] [net.minecraft.client.multiplayer.ClientPacketListener/]: Unknown custom packet identifier: mtr:packet
[19Sept2024 16:03:03.159] [Render thread/WARN] [net.minecraft.client.multiplayer.ClientPacketListener/]: Unknown custom packet identifier: mtr:packet
[19Sept2024 16:03:03.160] [Render thread/WARN] [net.minecraft.client.multiplayer.ClientPacketListener/]: Unknown custom packet identifier: mtr:packet
[19Sept2024 16:03:04.687] [Render thread/WARN] [net.minecraft.client.multiplayer.ClientPacketListener/]: Unknown custom packet identifier: mtr:packet
[19Sept2024 16:03:05.057] [Render thread/WARN] [net.minecraft.client.multiplayer.ClientPacketListener/]: Unknown custom packet identifier: mtr:packet
[19Sept2024 16:03:05.393] [Thread-8/ERROR] [MinecraftTransitRailway/]:
java.lang.IllegalArgumentException: Invalid texture size: 0x0
at com.mojang.blaze3d.platform.NativeImage.(NativeImage.java:64) ~[client-1.19.2-20220805.130853-srg.jar%23240!/:?]
at org.mtr.mapping.holder.NativeImage.(NativeImage.java:1) ~[MTR-forge-4.0.0-beta-8-hotfix-1+1.19.2.jar%23218!/:?]
at org.mtr.mod.client.RouteMapGenerator.generatePixelatedText(RouteMapGenerator.java:59) ~[MTR-forge-4.0.0-beta-8-hotfix-1+1.19.2.jar%23218!/:?]
at org.mtr.mod.client.DynamicTextureCache.lambda$getPixelatedText$2(DynamicTextureCache.java:65) ~[MTR-forge-4.0.0-beta-8-hotfix-1+1.19.2.jar%23218!/:?]
at org.mtr.mod.client.DynamicTextureCache.lambda$getResource$19(DynamicTextureCache.java:250) ~[MTR-forge-4.0.0-beta-8-hotfix-1+1.19.2.jar%2

commented

forget it more info later

commented

Had repeating NullPointerException on my server, behaved similarly to this report. Missing tracks, non-functioning dashboard, etc. Unfortunately I do not have the world file, as it was accidentally wiped due to an operator error (see issue/suggestion #962) but I do have the error stack by way of the server log:

[12:05:29] [Server thread/FATAL]: 
java.lang.NullPointerException: Cannot read field "node" because the return value of "org.mtr.core.tool.Utilities.getElement(java.util.List, int)" is null
	at org.mtr.core.path.SidingPathFinder.padConnectionDetailsList(SidingPathFinder.java:178) ~[MTR-fabric-4.0.0-beta-9+1.20.1.jar:?]
	at org.mtr.core.path.SidingPathFinder.tick(SidingPathFinder.java:73) ~[MTR-fabric-4.0.0-beta-9+1.20.1.jar:?]
	at org.mtr.core.path.SidingPathFinder.findPathTick(SidingPathFinder.java:127) ~[MTR-fabric-4.0.0-beta-9+1.20.1.jar:?]
	at org.mtr.core.data.Siding.tick(Siding.java:212) ~[MTR-fabric-4.0.0-beta-9+1.20.1.jar:?]
	at java.util.Collection.removeIf(Collection.java:583) ~[?:?]
	at org.mtr.core.simulation.Simulator.tick(Simulator.java:100) ~[MTR-fabric-4.0.0-beta-9+1.20.1.jar:?]
	at org.mtr.libraries.it.unimi.dsi.fastutil.objects.ObjectImmutableList.forEach(ObjectImmutableList.java:219) ~[MTR-fabric-4.0.0-beta-9+1.20.1.jar:?]
	at org.mtr.core.Main.manualTick(Main.java:80) ~[MTR-fabric-4.0.0-beta-9+1.20.1.jar:?]
	at org.mtr.mod.Init.lambda$init$13(Init.java:216) ~[MTR-fabric-4.0.0-beta-9+1.20.1.jar:?]
	at org.mtr.mapping.registry.EventRegistry.lambda$registerStartServerTick$4(EventRegistry.java:41) ~[MTR-fabric-4.0.0-beta-9+1.20.1.jar:?]
	at net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents.lambda$static$0(ServerTickEvents.java:34) ~[fabric-lifecycle-events-v1-2.2.2+1802ada577-15099849194dcb7e.jar:?]
	at net.minecraft.server.MinecraftServer.handler$cha000$fabric-lifecycle-events-v1$onStartTick(MinecraftServer.java:6857) ~[server-intermediary.jar:?]
	at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:824) ~[server-intermediary.jar:?]
	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:671) ~[server-intermediary.jar:?]
	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265) ~[server-intermediary.jar:?]
	at java.lang.Thread.run(Thread.java:1583) ~[?:?]

This error repeated at least once a second.

Server was/is running Debian Linux - Minecraft 1.20.1, Fabric Loader 0.15.11, latest Beta 9 version of MTR - as part of a heavily modified version of the Quantum Freedom 2 modpack (to be clear, the pack was modified, not MTR or any of the mods linked to MTR).

commented

I dont think I had that but I will check

commented

I can also reproduce it - downloaded my 1.16.5 server world and changed to 1.20.1 4.0 MTR and am playing the world on singleplayer. Was having the exact same issue as everyone here - tracks disappeared, can't open dashboard etc, however the lifts worked fine.

Have no idea if saying this has any value or if it's already know, I redownloaded the world from 1.16.5, but before I went into the world on 1.20.1 I went into the world's folder, the mtr folder, and deleted everything other than rails and lifts. Of course, this meant that all the routes, platforms, stations and what not were gone but when I went back into the world the majority of rails loaded successfully and I could open the dashboard again. Although, as stated before, this deleted everything such as the stations etc for obvious reasons; an inconvenience.

commented

Also can reproduce.
Server specs:
Ryzen Threadripper 7960X (14c allocated to server VM)
Proxmox VM Host / RHEL VM Guest
256GB RAM (160GB allocated to server VM, 24GB allocated for MC server)
Custom modpack running on itzg/docker-minecraft-server Docker

Client specs:
Same CPU and VM Host as server (but 10c allocated) / Arch Linux VM Guest
80GB allocated to VM / 10GB allocated to MC client
RTX 4080 Super

commented

Deleting the depot, stations, sidings, platforms and stations folders alone makes the dashboard work again. Not sure if, if one were to recreate the lines, depots and stations, they would return to the bugged state, or if it is a product of the conversion.