BTW-Community / BTW-Public

Community repository for the BTW CE mod
http://www.sargunster.com/btwforum/
Creative Commons Attribution 4.0 International
112 stars 14 forks source link

Death in multiplayer causes crash #100

Closed ammoore00 closed 2 years ago

ammoore00 commented 3 years ago

Crash log: https://hastebin.com/uzogajakim.lua

ammoore00 commented 3 years ago

Unable to replicate

Also crash log implies that MinecraftServer.getServer() is returning null and I do not know how that would be possible unless something has gone very wrong. Going to leave it open for now but take it off of the 1.1.8 milestone

Kubimate commented 3 years ago

I tried to replicate the issue and got client crash twice in about 200 deaths, either by /kill command or 'natural' means, and I found that it crashes only when player is holding any item in hand has anything in inventory.

Note 1: when player with something in inventory dies, it crashes every client, regardles of others' inventory contents. Note 2: item in hand dropped on player death sometimes gets duplicated.

client crash-report:

---- Minecraft Crash Report ----
// Oh - I know what I did wrong!

Time: 10/28/21 1:53 PM
Description: Exception in world tick

java.lang.NullPointerException
    at rh.SetEntityItemAsDroppedOnPlayerDeath(EntityItem.java:755)
    at sq.a(EntityPlayer.java:739)
    at so.m(InventoryPlayer.java:744)
    at sq.a(EntityPlayer.java:652)
    at ng.a(EntityLiving.java:2490)
    at sq.a(EntityPlayer.java:454)
    at bdk.a(NetClientHandler.java:903)
    at dn.a(SourceFile:31)
    at ci.b(SourceFile:350)
    at bdk.d(NetClientHandler.java:100)
    at bds.b(WorldClient.java:70)
    at net.minecraft.client.Minecraft.l(Minecraft.java:1878)
    at net.minecraft.client.Minecraft.K(Minecraft.java:850)
    at net.minecraft.client.Minecraft.run(Minecraft.java:773)
    at java.lang.Thread.run(Unknown Source)

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
    at rh.SetEntityItemAsDroppedOnPlayerDeath(EntityItem.java:755)
    at sq.a(EntityPlayer.java:739)
    at so.m(InventoryPlayer.java:744)
    at sq.a(EntityPlayer.java:652)
    at ng.a(EntityLiving.java:2490)
    at sq.a(EntityPlayer.java:454)
    at bdk.a(NetClientHandler.java:903)
    at dn.a(SourceFile:31)
    at ci.b(SourceFile:350)
    at bdk.d(NetClientHandler.java:100)

-- Affected level --
Details:
    Level name: MpServer
    All players: 1 total; [bdv['Kubimate'/207632, l='MpServer', x=1483.94, y=67.79, z=1552.43]]
    Chunk stats: MultiplayerChunkCache: 560
    Level seed: 0
    Level generator: ID 00 - default, ver 1. Features enabled: false
    Level generator options: 
    Level spawn location: World: (240,64,248), Chunk: (at 0,4,8 in 15,15; contains blocks 240,0,240 to 255,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Level time: 104606 game time, 117688 day time
    Level dimension: 0
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
    Forced entities: 96 total; [bdv['Kubimate'/207632, l='MpServer', x=1483.94, y=67.79, z=1552.43], FCEntitySkeleton['Skeleton'/208131, l='MpServer', x=1506.59, y=45.00, z=1518.59], FCEntityZombie['Zombie'/208130, l='MpServer', x=1505.53, y=46.00, z=1511.56], FCEntityZombie['Zombie'/208129, l='MpServer', x=1507.50, y=46.00, z=1516.50], FCEntitySkeleton['Skeleton'/208128, l='MpServer', x=1517.50, y=46.00, z=1516.50], FCEntityBat['Bat'/208903, l='MpServer', x=1493.44, y=12.85, z=1520.38], rh['item.tile.rail'/208135, l='MpServer', x=1504.09, y=9.13, z=1527.81], rh['item.tile.rail'/208134, l='MpServer', x=1504.88, y=9.13, z=1528.84], rh['item.tile.rail'/208133, l='MpServer', x=1504.81, y=12.13, z=1532.13], FCEntitySquid['Squid'/208132, l='MpServer', x=1507.18, y=59.20, z=1511.52], FCEntityBat['Bat'/208906, l='MpServer', x=1495.25, y=12.58, z=1513.94], rj['entity.MinecartChest.name'/208137, l='MpServer', x=1510.50, y=22.50, z=1590.50], FCEntityBat['Bat'/208905, l='MpServer', x=1490.84, y=12.02, z=1513.44], rh['item.tile.rail'/208136, l='MpServer', x=1518.13, y=9.13, z=1569.16], FCEntityBat['Bat'/208904, l='MpServer', x=1494.97, y=12.05, z=1513.84], nc['Experience Orb'/207887, l='MpServer', x=1375.88, y=13.13, z=1510.13], nc['Experience Orb'/207886, l='MpServer', x=1371.13, y=13.13, z=1512.41], rh['item.tile.sand'/207633, l='MpServer', x=1479.88, y=66.13, z=1553.13], nc['Experience Orb'/207888, l='MpServer', x=1375.88, y=13.13, z=1510.13], FCEntitySkeleton['Skeleton'/211477, l='MpServer', x=1508.50, y=64.00, z=1474.50], FCEntitySkeleton['Skeleton'/211476, l='MpServer', x=1504.50, y=64.00, z=1474.50], rh['item.tile.rail'/208159, l='MpServer', x=1529.16, y=9.13, z=1569.53], rh['item.tile.rail'/208158, l='MpServer', x=1524.88, y=9.13, z=1568.13], rj['entity.MinecartChest.name'/208157, l='MpServer', x=1534.50, y=13.34, z=1573.09], FCEntityZombie['Zombie'/208191, l='MpServer', x=1545.50, y=36.00, z=1548.50], FCEntitySkeleton['Skeleton'/208190, l='MpServer', x=1551.47, y=15.00, z=1549.50], rj['entity.MinecartChest.name'/208189, l='MpServer', x=1551.50, y=36.50, z=1504.50], FCEntityCreeper['Creeper'/208195, l='MpServer', x=1540.22, y=15.00, z=1555.34], rh['item.tile.rail'/208194, l='MpServer', x=1546.78, y=9.13, z=1566.13], FCEntityZombie['Zombie'/208192, l='MpServer', x=1536.44, y=36.00, z=1547.66], FCEntityCreeper['Creeper'/208197, l='MpServer', x=1538.09, y=16.00, z=1558.91], FCEntityCreeper['Creeper'/208196, l='MpServer', x=1536.31, y=16.00, z=1561.47], FCEntitySquid['Squid'/209227, l='MpServer', x=1526.84, y=60.92, z=1499.50], FCEntitySquid['Squid'/209226, l='MpServer', x=1524.65, y=60.15, z=1497.69], FCEntitySquid['Squid'/209225, l='MpServer', x=1526.50, y=60.00, z=1493.50], FCEntitySquid['Squid'/209228, l='MpServer', x=1514.39, y=61.03, z=1500.40], FCEntitySkeleton['Skeleton'/211795, l='MpServer', x=1429.50, y=64.00, z=1474.50], rj['entity.MinecartChest.name'/208227, l='MpServer', x=1558.50, y=17.50, z=1588.50], rj['entity.MinecartChest.name'/208226, l='MpServer', x=1554.50, y=18.50, z=1580.50], FCEntityCreeper['Creeper'/211819, l='MpServer', x=1506.50, y=64.00, z=1473.50], FCEntityZombie['Zombie'/211818, l='MpServer', x=1507.50, y=64.00, z=1474.50], FCEntityZombie['Zombie'/210039, l='MpServer', x=1404.50, y=24.00, z=1619.50], FCEntityZombie['Zombie'/209791, l='MpServer', x=1409.50, y=67.00, z=1589.50], FCEntitySheep['Sheep'/207997, l='MpServer', x=1439.66, y=63.00, z=1477.72], FCEntitySpider['Spider'/210051, l='MpServer', x=1451.44, y=63.00, z=1519.38], FCEntityZombie['Zombie'/210053, l='MpServer', x=1450.76, y=62.20, z=1525.98], FCEntityCreeper['Creeper'/210057, l='MpServer', x=1458.50, y=63.00, z=1528.50], FCEntityCreeper['Creeper'/210056, l='MpServer', x=1456.50, y=63.00, z=1525.50], FCEntityEnderman['Enderman'/209815, l='MpServer', x=1505.20, y=46.00, z=1513.41], FCEntityZombie['Zombie'/209324, l='MpServer', x=1407.50, y=65.00, z=1594.50], FCEntitySkeleton['Skeleton'/209331, l='MpServer', x=1423.50, y=63.00, z=1507.50], FCEntitySkeleton['Skeleton'/210610, l='MpServer', x=1509.50, y=14.00, z=1587.50], rj['entity.MinecartChest.name'/208050, l='MpServer', x=1468.50, y=23.50, z=1610.50], rh['item.item.rottenFlesh'/208049, l='MpServer', x=1469.13, y=7.13, z=1597.88], FCEntitySkeleton['Skeleton'/210609, l='MpServer', x=1511.89, y=14.00, z=1586.33], FCEntitySkeleton['Skeleton'/209329, l='MpServer', x=1422.10, y=63.00, z=1504.59], nc['Experience Orb'/208048, l='MpServer', x=1470.13, y=12.13, z=1588.16], FCEntitySpider['Spider'/209333, l='MpServer', x=1419.19, y=63.00, z=1514.91], FCEntitySpider['Spider'/209332, l='MpServer', x=1420.56, y=63.00, z=1519.28], FCEntityEnderman['Enderman'/211134, l='MpServer', x=1413.41, y=44.00, z=1530.50], FCEntitySkeleton['Skeleton'/211139, l='MpServer', x=1420.59, y=30.00, z=1602.44], FCEntityZombie['Zombie'/211138, l='MpServer', x=1417.50, y=46.00, z=1577.50], FCEntityZombie['Zombie'/211137, l='MpServer', x=1414.50, y=46.00, z=1578.50], FCEntitySkeleton['Skeleton'/209349, l='MpServer', x=1477.50, y=63.00, z=1625.50], FCEntityBat['Bat'/209604, l='MpServer', x=1405.45, y=24.59, z=1613.31], FCEntitySquid['Squid'/208075, l='MpServer', x=1478.06, y=60.06, z=1490.71], FCEntityCreeper['Creeper'/209354, l='MpServer', x=1488.50, y=12.00, z=1547.50], rh['item.tile.rail'/208079, l='MpServer', x=1474.66, y=12.13, z=1537.81], FCEntitySquid['Squid'/208078, l='MpServer', x=1488.72, y=61.11, z=1501.50], FCEntityCreeper['Creeper'/208589, l='MpServer', x=1426.69, y=20.00, z=1623.02], FCEntitySquid['Squid'/208077, l='MpServer', x=1486.49, y=59.42, z=1502.55], FCEntityZombie['Zombie'/209356, l='MpServer', x=1486.50, y=12.00, z=1548.50], FCEntityCreeper['Creeper'/208588, l='MpServer', x=1425.50, y=19.00, z=1612.50], FCEntitySquid['Squid'/208076, l='MpServer', x=1484.71, y=60.12, z=1496.34], rj['entity.MinecartChest.name'/208081, l='MpServer', x=1485.50, y=20.34, z=1608.84], rh['item.tile.rail'/208080, l='MpServer', x=1475.84, y=12.13, z=1538.81], rh['item.tile.rail'/208095, l='MpServer', x=1502.13, y=9.13, z=1535.88], rh['item.tile.rail'/208094, l='MpServer', x=1502.13, y=9.13, z=1532.13], rh['item.tile.rail'/208093, l='MpServer', x=1502.13, y=9.13, z=1534.41], FCEntitySquid['Squid'/208092, l='MpServer', x=1502.10, y=59.20, z=1506.51], rh['item.tile.rail'/208099, l='MpServer', x=1502.31, y=9.13, z=1540.13], FCEntityZombie['Zombie'/210915, l='MpServer', x=1548.75, y=64.00, z=1515.13], FCEntityBat['Bat'/208098, l='MpServer', x=1503.56, y=45.23, z=1525.25], FCEntityBat['Bat'/208097, l='MpServer', x=1498.75, y=47.10, z=1529.69], rh['item.tile.rail'/208096, l='MpServer', x=1502.28, y=9.13, z=1528.81], rh['item.tile.rail'/208103, l='MpServer', x=1500.13, y=32.13, z=1597.50], FCEntityCreeper['Creeper'/210919, l='MpServer', x=1554.50, y=64.00, z=1515.50], rh['item.tile.rail'/208102, l='MpServer', x=1501.13, y=32.13, z=1596.13], rj['entity.MinecartChest.name'/208101, l='MpServer', x=1490.50, y=18.50, z=1587.50], FCEntityCreeper['Creeper'/210917, l='MpServer', x=1552.50, y=64.00, z=1523.50], rj['entity.MinecartChest.name'/208100, l='MpServer', x=1501.50, y=9.50, z=1554.50], rh['item.tile.rail'/208106, l='MpServer', x=1500.91, y=32.13, z=1607.16], rh['item.tile.rail'/208105, l='MpServer', x=1502.88, y=32.13, z=1602.88], FCEntitySkeleton['Skeleton'/210921, l='MpServer', x=1553.25, y=64.47, z=1519.51], rh['item.tile.rail'/208104, l='MpServer', x=1502.88, y=32.13, z=1599.13], FCEntityBat['Bat'/208893, l='MpServer', x=1419.66, y=33.07, z=1601.34]]
    Retry entities: 0 total; []
Stacktrace:
    at bds.a(WorldClient.java:460)
    at net.minecraft.client.Minecraft.l(Minecraft.java:1891)
    at net.minecraft.client.Minecraft.K(Minecraft.java:850)
    at net.minecraft.client.Minecraft.run(Minecraft.java:773)
    at java.lang.Thread.run(Unknown Source)

-- Affected level --
Details:
    Level name: MpServer
    All players: 1 total; [bdv['Kubimate'/207632, l='MpServer', x=1483.94, y=67.79, z=1552.43]]
    Chunk stats: MultiplayerChunkCache: 560
    Level seed: 0
    Level generator: ID 00 - default, ver 1. Features enabled: false
    Level generator options: 
    Level spawn location: World: (240,64,248), Chunk: (at 0,4,8 in 15,15; contains blocks 240,0,240 to 255,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Level time: 104606 game time, 117688 day time
    Level dimension: 0
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
    Forced entities: 96 total; [bdv['Kubimate'/207632, l='MpServer', x=1483.94, y=67.79, z=1552.43], FCEntitySkeleton['Skeleton'/208131, l='MpServer', x=1506.59, y=45.00, z=1518.59], FCEntityZombie['Zombie'/208130, l='MpServer', x=1505.53, y=46.00, z=1511.56], FCEntityZombie['Zombie'/208129, l='MpServer', x=1507.50, y=46.00, z=1516.50], FCEntitySkeleton['Skeleton'/208128, l='MpServer', x=1517.50, y=46.00, z=1516.50], FCEntityBat['Bat'/208903, l='MpServer', x=1493.44, y=12.85, z=1520.38], rh['item.tile.rail'/208135, l='MpServer', x=1504.09, y=9.13, z=1527.81], rh['item.tile.rail'/208134, l='MpServer', x=1504.88, y=9.13, z=1528.84], rh['item.tile.rail'/208133, l='MpServer', x=1504.81, y=12.13, z=1532.13], FCEntitySquid['Squid'/208132, l='MpServer', x=1507.18, y=59.20, z=1511.52], FCEntityBat['Bat'/208906, l='MpServer', x=1495.25, y=12.58, z=1513.94], rj['entity.MinecartChest.name'/208137, l='MpServer', x=1510.50, y=22.50, z=1590.50], FCEntityBat['Bat'/208905, l='MpServer', x=1490.84, y=12.02, z=1513.44], rh['item.tile.rail'/208136, l='MpServer', x=1518.13, y=9.13, z=1569.16], FCEntityBat['Bat'/208904, l='MpServer', x=1494.97, y=12.05, z=1513.84], nc['Experience Orb'/207887, l='MpServer', x=1375.88, y=13.13, z=1510.13], nc['Experience Orb'/207886, l='MpServer', x=1371.13, y=13.13, z=1512.41], rh['item.tile.sand'/207633, l='MpServer', x=1479.88, y=66.13, z=1553.13], nc['Experience Orb'/207888, l='MpServer', x=1375.88, y=13.13, z=1510.13], FCEntitySkeleton['Skeleton'/211477, l='MpServer', x=1508.50, y=64.00, z=1474.50], FCEntitySkeleton['Skeleton'/211476, l='MpServer', x=1504.50, y=64.00, z=1474.50], rh['item.tile.rail'/208159, l='MpServer', x=1529.16, y=9.13, z=1569.53], rh['item.tile.rail'/208158, l='MpServer', x=1524.88, y=9.13, z=1568.13], rj['entity.MinecartChest.name'/208157, l='MpServer', x=1534.50, y=13.34, z=1573.09], FCEntityZombie['Zombie'/208191, l='MpServer', x=1545.50, y=36.00, z=1548.50], FCEntitySkeleton['Skeleton'/208190, l='MpServer', x=1551.47, y=15.00, z=1549.50], rj['entity.MinecartChest.name'/208189, l='MpServer', x=1551.50, y=36.50, z=1504.50], FCEntityCreeper['Creeper'/208195, l='MpServer', x=1540.22, y=15.00, z=1555.34], rh['item.tile.rail'/208194, l='MpServer', x=1546.78, y=9.13, z=1566.13], FCEntityZombie['Zombie'/208192, l='MpServer', x=1536.44, y=36.00, z=1547.66], FCEntityCreeper['Creeper'/208197, l='MpServer', x=1538.09, y=16.00, z=1558.91], FCEntityCreeper['Creeper'/208196, l='MpServer', x=1536.31, y=16.00, z=1561.47], FCEntitySquid['Squid'/209227, l='MpServer', x=1526.84, y=60.92, z=1499.50], FCEntitySquid['Squid'/209226, l='MpServer', x=1524.65, y=60.15, z=1497.69], FCEntitySquid['Squid'/209225, l='MpServer', x=1526.50, y=60.00, z=1493.50], FCEntitySquid['Squid'/209228, l='MpServer', x=1514.39, y=61.03, z=1500.40], FCEntitySkeleton['Skeleton'/211795, l='MpServer', x=1429.50, y=64.00, z=1474.50], rj['entity.MinecartChest.name'/208227, l='MpServer', x=1558.50, y=17.50, z=1588.50], rj['entity.MinecartChest.name'/208226, l='MpServer', x=1554.50, y=18.50, z=1580.50], FCEntityCreeper['Creeper'/211819, l='MpServer', x=1506.50, y=64.00, z=1473.50], FCEntityZombie['Zombie'/211818, l='MpServer', x=1507.50, y=64.00, z=1474.50], FCEntityZombie['Zombie'/210039, l='MpServer', x=1404.50, y=24.00, z=1619.50], FCEntityZombie['Zombie'/209791, l='MpServer', x=1409.50, y=67.00, z=1589.50], FCEntitySheep['Sheep'/207997, l='MpServer', x=1439.66, y=63.00, z=1477.72], FCEntitySpider['Spider'/210051, l='MpServer', x=1451.44, y=63.00, z=1519.38], FCEntityZombie['Zombie'/210053, l='MpServer', x=1450.76, y=62.20, z=1525.98], FCEntityCreeper['Creeper'/210057, l='MpServer', x=1458.50, y=63.00, z=1528.50], FCEntityCreeper['Creeper'/210056, l='MpServer', x=1456.50, y=63.00, z=1525.50], FCEntityEnderman['Enderman'/209815, l='MpServer', x=1505.20, y=46.00, z=1513.41], FCEntityZombie['Zombie'/209324, l='MpServer', x=1407.50, y=65.00, z=1594.50], FCEntitySkeleton['Skeleton'/209331, l='MpServer', x=1423.50, y=63.00, z=1507.50], FCEntitySkeleton['Skeleton'/210610, l='MpServer', x=1509.50, y=14.00, z=1587.50], rj['entity.MinecartChest.name'/208050, l='MpServer', x=1468.50, y=23.50, z=1610.50], rh['item.item.rottenFlesh'/208049, l='MpServer', x=1469.13, y=7.13, z=1597.88], FCEntitySkeleton['Skeleton'/210609, l='MpServer', x=1511.89, y=14.00, z=1586.33], FCEntitySkeleton['Skeleton'/209329, l='MpServer', x=1422.10, y=63.00, z=1504.59], nc['Experience Orb'/208048, l='MpServer', x=1470.13, y=12.13, z=1588.16], FCEntitySpider['Spider'/209333, l='MpServer', x=1419.19, y=63.00, z=1514.91], FCEntitySpider['Spider'/209332, l='MpServer', x=1420.56, y=63.00, z=1519.28], FCEntityEnderman['Enderman'/211134, l='MpServer', x=1413.41, y=44.00, z=1530.50], FCEntitySkeleton['Skeleton'/211139, l='MpServer', x=1420.59, y=30.00, z=1602.44], FCEntityZombie['Zombie'/211138, l='MpServer', x=1417.50, y=46.00, z=1577.50], FCEntityZombie['Zombie'/211137, l='MpServer', x=1414.50, y=46.00, z=1578.50], FCEntitySkeleton['Skeleton'/209349, l='MpServer', x=1477.50, y=63.00, z=1625.50], FCEntityBat['Bat'/209604, l='MpServer', x=1405.45, y=24.59, z=1613.31], FCEntitySquid['Squid'/208075, l='MpServer', x=1478.06, y=60.06, z=1490.71], FCEntityCreeper['Creeper'/209354, l='MpServer', x=1488.50, y=12.00, z=1547.50], rh['item.tile.rail'/208079, l='MpServer', x=1474.66, y=12.13, z=1537.81], FCEntitySquid['Squid'/208078, l='MpServer', x=1488.72, y=61.11, z=1501.50], FCEntityCreeper['Creeper'/208589, l='MpServer', x=1426.69, y=20.00, z=1623.02], FCEntitySquid['Squid'/208077, l='MpServer', x=1486.49, y=59.42, z=1502.55], FCEntityZombie['Zombie'/209356, l='MpServer', x=1486.50, y=12.00, z=1548.50], FCEntityCreeper['Creeper'/208588, l='MpServer', x=1425.50, y=19.00, z=1612.50], FCEntitySquid['Squid'/208076, l='MpServer', x=1484.71, y=60.12, z=1496.34], rj['entity.MinecartChest.name'/208081, l='MpServer', x=1485.50, y=20.34, z=1608.84], rh['item.tile.rail'/208080, l='MpServer', x=1475.84, y=12.13, z=1538.81], rh['item.tile.rail'/208095, l='MpServer', x=1502.13, y=9.13, z=1535.88], rh['item.tile.rail'/208094, l='MpServer', x=1502.13, y=9.13, z=1532.13], rh['item.tile.rail'/208093, l='MpServer', x=1502.13, y=9.13, z=1534.41], FCEntitySquid['Squid'/208092, l='MpServer', x=1502.10, y=59.20, z=1506.51], rh['item.tile.rail'/208099, l='MpServer', x=1502.31, y=9.13, z=1540.13], FCEntityZombie['Zombie'/210915, l='MpServer', x=1548.75, y=64.00, z=1515.13], FCEntityBat['Bat'/208098, l='MpServer', x=1503.56, y=45.23, z=1525.25], FCEntityBat['Bat'/208097, l='MpServer', x=1498.75, y=47.10, z=1529.69], rh['item.tile.rail'/208096, l='MpServer', x=1502.28, y=9.13, z=1528.81], rh['item.tile.rail'/208103, l='MpServer', x=1500.13, y=32.13, z=1597.50], FCEntityCreeper['Creeper'/210919, l='MpServer', x=1554.50, y=64.00, z=1515.50], rh['item.tile.rail'/208102, l='MpServer', x=1501.13, y=32.13, z=1596.13], rj['entity.MinecartChest.name'/208101, l='MpServer', x=1490.50, y=18.50, z=1587.50], FCEntityCreeper['Creeper'/210917, l='MpServer', x=1552.50, y=64.00, z=1523.50], rj['entity.MinecartChest.name'/208100, l='MpServer', x=1501.50, y=9.50, z=1554.50], rh['item.tile.rail'/208106, l='MpServer', x=1500.91, y=32.13, z=1607.16], rh['item.tile.rail'/208105, l='MpServer', x=1502.88, y=32.13, z=1602.88], FCEntitySkeleton['Skeleton'/210921, l='MpServer', x=1553.25, y=64.47, z=1519.51], rh['item.tile.rail'/208104, l='MpServer', x=1502.88, y=32.13, z=1599.13], FCEntityBat['Bat'/208893, l='MpServer', x=1419.66, y=33.07, z=1601.34]]
    Retry entities: 0 total; []

-- System Details --
Details:
    Minecraft Version: 1.5.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_231, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 1811031840 bytes (1727 MB) / 2058354688 bytes (1963 MB) up to 2058354688 bytes (1963 MB)
    JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms2048m -Xmx2048m
    AABB Pool Size: 9254 (518224 bytes; 0 MB) allocated, 1090 (61040 bytes; 0 MB) used
    Suspicious classes: FCBlockFullBlock, FCBlockStone, FCBlockGrass, ...[com.prupe.mcpatcher.MCPatcherUtils, Config, MCLogger, ...], [com.prupe.mcpatcher.cc.ColorizeItem, Colorizer, ColorizeBlock, ...], [com.prupe.mcpatcher.cit.CITUtils, OverrideBase, ItemOverride, ...], [com.prupe.mcpatcher.ctm.CTMUtils, RenderBlockState, BlockOrientation, ...], [com.prupe.mcpatcher.hd.AAHelper, Wrapper15, MipmapHelper, ...], [com.prupe.mcpatcher.mal.biome.IColorMap, ColorMap, ColorUtils, ...], [com.prupe.mcpatcher.mal.block.RenderBlocksUtils, BlockAPI, RenderPassAPI, ...], [com.prupe.mcpatcher.mal.item.ItemAPI], [com.prupe.mcpatcher.mal.resource.FakeResourceLocation, GLAPI, TexturePackAPI, ...], [com.prupe.mcpatcher.mal.tile.TileLoader, IconAPI], [com.prupe.mcpatcher.mal.util.InputHandler], [com.prupe.mcpatcher.mob.MobRandomizer, MobRuleList, MobOverlay, ...], [com.prupe.mcpatcher.renderpass.RenderPass, RenderPassMap], [com.prupe.mcpatcher.sky.SkyRenderer, WorldEntry, Layer, ...], [net.minecraft.Launcher], [org.multimc.EntryPoint, ParseException, Launcher, ...], [org.multimc.onesix.OneSixLauncher], [uristqwerty.CraftGuide.CraftGuideLoaderSide, CraftGuideSide, CraftGuide, ...], [uristqwerty.CraftGuide.api.ItemSlotImplementation, Renderer, Util, ...], [uristqwerty.CraftGuide.client.CraftGuideClient, UtilImplementationClient], [uristqwerty.CraftGuide.client.ui.GuiRenderer, NamedTextureObject], [uristqwerty.CraftGuide.client.vanilla.CraftGuideClient_Vanilla], [uristqwerty.CraftGuide.recipes.DefaultRecipeProvider, BrewingRecipes, BTWRecipes], [uristqwerty.gui_craftguide.Color, Rect], [uristqwerty.gui_craftguide.editor.TextureMeta, TextureParameter, ListSize], [uristqwerty.gui_craftguide.minecraft.Gui, Image], [uristqwerty.gui_craftguide.rendering.RendererBase, Renderable, TexturedRect], [uristqwerty.gui_craftguide.texture.Texture, DynamicTexture, SolidColorTexture, ...], [uristqwerty.gui_craftguide.theme.ThemeManager, Theme, SourceType], [uristqwerty.gui_craftguide.theme.reader.ThemeReader, ElementHandler, GenericHandler, ...]
    IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
    LWJGL: 2.9.4
    OpenGL: Intel(R) HD Graphics 3000 GL version 3.1.0 - Build 9.17.10.4459, Intel
    Is Modded: Very likely; Jar signature invalidated
    Type: Client (map_client.txt)
    Texture Pack: Default
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 1631 (91336 bytes; 0 MB) allocated, 389 (21784 bytes; 0 MB) used

server error:

2021-10-28 13:51:54 [INFO] Kubimate fell out of the world
java.net.SocketException: Connection reset
        at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323)
        at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
        at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
        at java.base/java.net.Socket$SocketInputStream.read(Socket.java:976)
        at java.base/java.io.FilterInputStream.read(FilterInputStream.java:132)
        at asg.a(Unknown Source)
        at asg.read(Unknown Source)
        at java.base/java.io.FilterInputStream.read(FilterInputStream.java:82)
        at ei.a(SourceFile:185)
        at ci.i(SourceFile:250)
        at ci.c(SourceFile:16)
        at cj.run(SourceFile:94)
2021-10-28 13:52:07 [INFO] Kubimate lost connection: disconnect.genericReason
ammoore00 commented 3 years ago

Ah that's actually very helpful. I'll try again and see if i can replicate it.

ammoore00 commented 2 years ago

Confirmed again by Kyblie on discord, same error message:

java.lang.NullPointerException
    at rh.SetEntityItemAsDroppedOnPlayerDeath(EntityItem.java:755)
    at sq.a(EntityPlayer.java:739)
    at so.m(InventoryPlayer.java:744)
    at sq.a(EntityPlayer.java:652)
    at ng.a(EntityLiving.java:2490)
    at sq.a(EntityPlayer.java:454)
    at bdk.a(NetClientHandler.java:903)
    at dn.a(SourceFile:31)
    at ci.b(SourceFile:350)
    at bdk.d(NetClientHandler.java:100)
    at bds.b(WorldClient.java:70)
    at net.minecraft.client.Minecraft.l(Minecraft.java:1878)
    at net.minecraft.client.Minecraft.K(Minecraft.java:850)
    at net.minecraft.client.Minecraft.run(Minecraft.java:773)
    at java.lang.Thread.run(Unknown Source)
Hirachosan commented 2 years ago

Caused by: java.lang.NullPointerException: Cannot read field "worldServers" because the return value of "net.minecraft.server.MinecraftServer.getServer()" is null in EntityItem.SetEntityItemAsDroppedOnPlayerDeath( EntityPlayer player )

Hirachosan commented 2 years ago

I ran some test on an old build, and it doesn't seem to call this method clientside on old methods, while it does in the newer versions

Hirachosan commented 2 years ago

Found the difference to be in EntityPlayerMP. An added line in public void onDeath(DamageSource par1DamageSource)has EntityLivingOnDeath(par1DamageSource); while older versions don't have anything in place. disabling this stops the crash from happening

Hirachosan commented 2 years ago

not sure what it's used for, potential (tested it) solution: put if (world.isRemote ) around it?

ammoore00 commented 2 years ago

Fixed for next release. Thanks Hiracho :)