linkie / linkie-web

The source code of the backend server and frontend webpage of Linkie Web
https://linkie-web.vercel.app
39 stars 10 forks source link

Stacktrace mode doesn't translate properly #22

Open ChiefArug opened 3 months ago

ChiefArug commented 3 months ago

It seems like it takes the first valid match, and doesn't consume all the numbers (so class_1297 is interpreted as class_12 + 97, resulting in SwimNodeEvaluator97 instead of Entity). However it does work in the brackets at the end, class.java:line#.

Input:

java.lang.NullPointerException: Cannot invoke "it.unimi.dsi.fastutil.objects.ObjectSet.remove(Object)" because "$$4" is null
at net.minecraft.class_3204.method_14051(class_3204.java:226)
at net.minecraft.class_3898.method_18714(class_3898.java:1073)
at net.minecraft.class_3898.method_18716(class_3898.java:1229)
at net.minecraft.class_3215.method_18753(class_3215.java:480)
at net.minecraft.class_3218$class_5526.method_31437(class_3218.java:1581)
at net.minecraft.class_3218$class_5526.method_31797(class_3218.java:1536)
at net.minecraft.class_5579.method_31850(class_5579.java:220)
at net.minecraft.class_5579$class_5580.method_31750(class_5579.java:115)
at dev.architectury.hooks.level.entity.fabric.EntityHooksImpl$1.method_31750(EntityHooksImpl.java:48)
at net.minecraft.class_1297.method_31745(class_1297.java:3636)
at net.minecraft.class_1297.method_5650(class_1297.java:402)
at net.minecraft.class_1309.method_5650(class_1309.java:712)
at net.minecraft.class_1657.method_5650(class_1657.java:1408)
at net.minecraft.class_3218.method_18770(class_3218.java:929)
at net.minecraft.class_3324.method_14611(class_3324.java:413)
at net.minecraft.class_3244.method_10839(class_3244.java:1228)
at net.minecraft.class_2535.method_10768(class_2535.java:452)
at net.minecraft.class_3242.method_14357(class_3242.java:185)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:908)
at net.minecraft.class_3176.method_3813(class_3176.java:283)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:824)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:671)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265)
at java.base/java.lang.Thread.run(Thread.java:833)

Output:

java.lang.NullPointerException: Cannot invoke "it.unimi.dsi.fastutil.objects.ObjectSet.remove(Object)" because "$$4" is null
at net.minecraft.world.level.storage.LevelStorageSource04.removePlayer(DistanceManager.java:226)
at net.minecraft.server.level.ChunkMap.updatePlayerStatus(ChunkMap.java:1073)
at net.minecraft.server.level.ChunkMap.removeEntity(ChunkMap.java:1229)
-at net.minecraft.world.level.storage.LevelStorageSource15.removeEntity(ServerChunkCache.java:480)
-at net.minecraft.world.level.storage.LevelStorageSource18$class_5526.onTrackingEnd(ServerLevel.java:1581)
-at net.minecraft.world.level.storage.LevelStorageSource18$class_5526.onTrackingEnd(ServerLevel.java:1536)
-at net.minecraft.world.level.storage.loot.LootPool79.stopTracking(PersistentEntitySectionManager.java:220)
-at net.minecraft.world.level.storage.loot.LootPool79$class_5580.onRemove(PersistentEntitySectionManager.java:115)
at dev.architectury.hooks.level.entity.fabric.EntityHooksImpl$1.onRemove(EntityHooksImpl.java:48)
-at net.minecraft.world.level.pathfinder.SwimNodeEvaluator97.setRemoved(Entity.java:3636)
-at net.minecraft.world.level.pathfinder.SwimNodeEvaluator97.remove(Entity.java:402)
-at net.minecraft.world.level.pathfinder.PathFinder09.remove(LivingEntity.java:712)
-at net.minecraft.world.level.storage.loot.functions.SmeltItemFunction7.remove(Player.java:1408)
-at net.minecraft.world.level.storage.LevelStorageSource18.removePlayerImmediately(ServerLevel.java:929)
-at net.minecraft.world.level.storage.LevelStorageException24.remove(PlayerList.java:413)
-at net.minecraft.world.level.storage.LevelStorageSource44.onDisconnect(ServerGamePacketListenerImpl.java:1228)
at net.minecraft.network.Connection.handleDisconnection(Connection.java:452)
-at net.minecraft.world.level.storage.LevelStorageSource42.tick(ServerConnectionListener.java:185)
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:908)
-at net.minecraft.world.level.storage.PrimaryLevelData76.tickChildren(DedicatedServer.java:283)
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:824)
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:671)
at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:265)
at java.base/java.lang.Thread.run(Thread.java:833)