Jump to content

[1.15.9] Null Ref Exception on Farmland flooded my logs


Buggi

Recommended Posts

10.11.2021 16:54:23 [Error] Error thrown trying to serialize block entity Vintagestory.GameContent.BlockEntityFarmland at 5074, 112, 5283, will not save, sorry! Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: value
   at System.IO.BinaryWriter.Write(String value)
   at Vintagestory.API.Datastructures.StringArrayAttribute.ToBytes(BinaryWriter stream)
   at Vintagestory.API.Datastructures.TreeAttribute.ToBytes(BinaryWriter stream)
   at Vintagestory.Server.ServerChunk.BeforeSerialization()

Updated to 1.15.9 and this started happening.

Is there a formula to convert the coords to what we see in the game?

Link to comment
Share on other sites

More details:
10.11.2021 22:36:02 [Fatal] System.ArgumentNullException: Value cannot be null.
Parameter name: value
   at System.IO.BinaryWriter.Write(String value)
   at Vintagestory.API.Datastructures.StringArrayAttribute.ToBytes(BinaryWriter stream)
   at Vintagestory.API.Datastructures.TreeAttribute.ToBytes(BinaryWriter stream)
   at Vintagestory.Server.ServerSystemBlockSimulation.SendBlockEntitiesPacket(ConnectedClient client, List`1 blockEntities, List`1 noBlockEntities)
   at Vintagestory.Server.ServerSystemBlockSimulation.SendDirtyBlockEntities()
   at Vintagestory.Common.EventManager.TriggerGameTick(Int64 ellapsedMilliseconds, IWorldAccessor world)
   at Vintagestory.Server.CoreServerEventManager.TriggerGameTick(Int64 ellapsedMilliseconds, IWorldAccessor world)
   at Vintagestory.Server.ServerMain.Process()

 

 

Happens when I fertilize farmland, tested on Terra Pretta. Tested with all soils and fertilizer unmodded.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.