Jump to content

[41.65][Multiplayer][Server] NullPointerException zombie.iso.IsoGridSquare.getX()


Davelantor

Recommended Posts

  • 41.65
  • No mods
  • Does not crash, but Exception happens each tick, causes cars to not function, admin car spawn option does work, VHS tapes dont play, cant break down barricades etc.
  • Server Brutality [ENG], server has been running for 3 weeks with no wipes, restarting the server seems to fix the issue.

 

ERROR: General     , 1641020613172> 1┬á261┬á478┬á001> ExceptionLogger.logException> Exception thrown java.lang.NullPointerException: Cannot invoke "zombie.iso.IsoGridSquare.getX()" because "<local2>.square" is null at GameServer.sendRemoveItemFromContainer line:4258.
ERROR: General     , 1641020613172> 1┬á261┬á478┬á002> 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:4258)
        at zombie.inventory.types.Food.destroyThisItem(Food.java:1717)
        at zombie.inventory.types.Food.updateRotting(Food.java:456)
        at zombie.inventory.types.Food.update(Food.java:338)
        at zombie.iso.IsoCell.ProcessItems(IsoCell.java:2890)
        at zombie.iso.IsoCell.updateInternal(IsoCell.java:5710)
        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:5664)
        at zombie.iso.IsoWorld.updateInternal(IsoWorld.java:3334)
        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:3262)
        at zombie.gameStates.IngameState.updateInternal(IngameState.java:1666)
        at zombie.gameStates.IngameState.update(IngameState.java:1367)
        at zombie.network.GameServer.main(GameServer.java:890)

Edited by Davelantor
Link to comment
Share on other sites

We have weekly maintenance windows where we restart. Things get funky when the server is running for more then 144 hours at a time. So for us we decided to just manually restart the server in the off hours. Takes about 15-10 min to get backup with a heavily modded codebase. Seems to be the best solution for now!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...