#How to fix this error in my server

4 messages · Page 1 of 1 (latest)

winged burrow
#

This error spam in my console server and make server freeze

Is it related to zombie mod ?

ERROR: General     , 1670226913382> 153,577,633> ExceptionLogger.logException> Exception thrown java.lang.NullPointerException: Cannot invoke "zombie.iso.IsoGridSquare.getX()" because "<local2>.square" is null at GameServer.sendRemoveItemFromContainer line:4383.
ERROR: General     , 1670226913382> 153,577,633> DebugLogStream.printException> Stack trace:
java.lang.NullPointerException: Cannot invoke "zombie.iso.IsoGridSquare.getX()" because "<local2>.square" is null
    at zombie.network.GameServer.sendRemoveItemFromContainer(GameServer.java:4383)
    at zombie.inventory.types.Food.destroyThisItem(Food.java:1858)
    at zombie.inventory.types.Food.updateRotting(Food.java:481)
    at zombie.inventory.types.Food.update(Food.java:341)
    at zombie.iso.IsoCell.ProcessItems(IsoCell.java:2918)
    at zombie.iso.IsoCell.updateInternal(IsoCell.java:5742)
    at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83)
    at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230)
    at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
    at zombie.util.Lambda.capture(Lambda.java:130)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81)
    at zombie.iso.IsoCell.update(IsoCell.java:5696)
    at zombie.iso.IsoWorld.updateInternal(IsoWorld.java:3499)
    at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83)
    at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230)
    at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
    at zombie.util.Lambda.capture(Lambda.java:130)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81)
    at zombie.iso.IsoWorld.update(IsoWorld.java:3427)
    at zombie.gameStates.IngameState.updateInternal(IngameState.java:1617)
    at zombie.gameStates.IngameState.update(IngameState.java:1333)
    at zombie.network.GameServer.main(GameServer.java:903)```
#

sometime it say

[30-11-22 05:42:25.070] ERROR: General     , 1669761745070> 142,036,322> ExceptionLogger.logException> Exception thrown java.lang.NullPointerException: Cannot invoke "zombie.iso.IsoGridSquare.getX()" because "<local2>.square" is null at GameServer.sendRemoveItemFromContainer line:4381..```
feral hound
#

#mod_support

manic oreBOT
#

If you have issues with mods, try disabling them one by one or in batches to figure out which specific mod is causing the problems.
Do it on a new save to to prevent any issues on your current playthrough as removing mods can cause items to be permanently deleted.
After you find out which mod is problematic, consider reporting the problem to the mod creator on their workshop page.